Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_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.001471/0.001471, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001538/0.001538, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 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 1.498/1.498, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.1486/0.1486, allocations: 19.73 MB / 280.8 MB, free: 9.273 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.TestWaterFlow1DFEM_J,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 357.2 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.709e-05, allocations: 2.312 kB / 357.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J): time 0.04475/0.04478, allocations: 30.21 MB / 387.5 MB, free: 8.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02107/0.06585, allocations: 12.76 MB / 400.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004575/0.06631, allocations: 11.88 kB / 400.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008751/0.06718, allocations: 218.5 kB / 400.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01408/0.08126, allocations: 4.805 MB / 405.2 MB, free: 6.734 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003931/0.08519, allocations: 1.206 MB / 406.5 MB, free: 5.523 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1463/0.2315, allocations: 5.565 MB / 412 MB, free: 19.06 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/0.234, allocations: 1.806 MB / 413.8 MB, free: 19.04 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003714/0.2378, allocations: 2.265 MB / 416.1 MB, free: 19.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00456/0.2423, allocations: 2.602 MB / 418.7 MB, free: 19.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002356/0.2447, allocations: 0.5727 MB / 419.3 MB, free: 19.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01429/0.259, allocations: 7.398 MB / 426.7 MB, free: 19.04 MB / 330.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 {pipe1.l * (if pipe1.evenN then 0.5 else 0.5), pipe1.l * (if pipe1.evenN then 1.0 else 1.0), pipe1.l * (if pipe1.evenN then 1.0 else 1.0), pipe1.l * (if pipe1.evenN then 1.0 else 1.0), pipe1.l * (if pipe1.evenN then 0.875 else 1.0), pipe1.l * (if pipe1.evenN then 0.125 else 0.5), pipe1.l * (if pipe1.evenN then 0.0 else 0.0), pipe1.l * (if pipe1.evenN then 0.0 else 0.0), pipe1.l * (if pipe1.evenN then 0.0 else 0.0), pipe1.l * (if pipe1.evenN then 0.0 else 0.0)} Notification: Performance of FrontEnd: time 0.003561/0.2625, allocations: 2.052 MB / 428.7 MB, free: 19.03 MB / 330.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5496617989847437]