Hello Karim,
My first question would be if you had modified anything else in the original scripts.
Also, there seems to be a problem with the latest version of IPOPT, were you able to run the test scripts that I included in some of the tutorial folders (Test_Pyomo.py)? If not working, download IPOPT 3.11.1 instead. I made a comment on this in the forum a few months ago.
Regards,
V