Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_J.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008973/0.0008973, allocations: 67.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008708/0.0008708, allocations: 166.6 kB / 25 MB, free: 8.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8772/0.8772, allocations: 177.1 MB / 205.3 MB, free: 5.242 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.08275/0.08275, allocations: 19.73 MB / 281.5 MB, free: 9.16 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_J,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_J") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_J,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_J") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 358 MB, free: 6.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.359e-05, allocations: 4.844 kB / 358 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_J): time 0.1522/0.1522, allocations: 57.16 MB / 415.2 MB, free: 16.61 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01382/0.166, allocations: 19.04 MB / 434.2 MB, free: 16.38 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003653/0.1664, allocations: 27.62 kB / 434.2 MB, free: 16.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007247/0.1671, allocations: 438.1 kB / 434.6 MB, free: 16.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007526/0.1746, allocations: 5.33 MB / 440 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.1775, allocations: 2.198 MB / 442.2 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004238/0.1817, allocations: 9.745 MB / 451.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002368/0.1841, allocations: 3.114 MB / 455 MB, free: 8.762 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.1868, allocations: 4.096 MB / 459.1 MB, free: 6.547 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003131/0.1899, allocations: 4.191 MB / 463.3 MB, free: 2.871 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000832/0.1907, allocations: 1.082 MB / 464.4 MB, free: 1.789 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008632/0.1994, allocations: 8.132 MB / 472.5 MB, free: 9.734 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/FluidPh.mo:2227:7-2237:29:writable] Error: Internal error NFScalarize.scalarizeEquation could not expand rhs {refData.pipe1.l * (if refData.pipe1.evenN then 0.5 else 0.5), refData.pipe1.l * (if refData.pipe1.evenN then 1.0 else 1.0), refData.pipe1.l * (if refData.pipe1.evenN then 1.0 else 1.0), refData.pipe1.l * (if refData.pipe1.evenN then 1.0 else 1.0), refData.pipe1.l * (if refData.pipe1.evenN then 0.875 else 1.0), refData.pipe1.l * (if refData.pipe1.evenN then 0.125 else 0.5), refData.pipe1.l * (if refData.pipe1.evenN then 0.0 else 0.0), refData.pipe1.l * (if refData.pipe1.evenN then 0.0 else 0.0), refData.pipe1.l * (if refData.pipe1.evenN then 0.0 else 0.0), refData.pipe1.l * (if refData.pipe1.evenN then 0.0 else 0.0)} Notification: Performance of FrontEnd: time 0.001845/0.2012, allocations: 3.271 MB / 475.8 MB, free: 6.598 MB / 346.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.7080878419801593]