Medication in general especially antibiotics when taken require that we eat enough in order to provide energy required for them to function optimally. If we don't eat or drink enough water while taking them, we end up feeling exhausted while we take them and days after. So either penicillin or the other antibiotic you took or both may be responsible for the way you feel.
However the blood in your urine suggests you have an underlying disease which needs to be investigated and may also be the cause of the fatigue
you feel. It may even be responsible for the re-appearance of the leg swelling.
Drink enough water, eat enough when you take medication & as soon as possible see your physician for investigation into the blood in your urine.
Wish you quick recovery.