Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation") translateModel(Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000946/0.0009461, allocations: 172.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 221.5 MB / 229.6 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008426/0.0008426, allocations: 89.92 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.1808/0.1808, allocations: 37.09 MB / 368.3 MB, free: 9.973 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.381e-05/1.383e-05, allocations: 7.938 kB / 434.6 MB, free: 23.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 60.08 MB / 494.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4122/0.5129, allocations: 174 MB / 0.653 GB, free: 10.02 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.5132, allocations: 94.12 kB / 0.6531 GB, free: 9.965 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Fluid.mo:1253:9-1253:43:writable] Error: Using reinit in when with condition initial() is not allowed. Use assignment or equality equation instead. Error: Error occurred while flattening model Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation Notification: Performance of FrontEnd: time 2.689/3.203, allocations: 0.7674 GB / 1.42 GB, free: 26.09 MB / 0.5573 GB