processInitialConditions() was modifying a global attribute it shouldn't have. Problem is solved.