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.002545/0.002545, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.00299/0.00299, allocations: 161.6 kB / 24.27 MB, free: 156 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.59/1.59, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.1558/0.1558, allocations: 19.73 MB / 280.8 MB, free: 9.293 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.413e-06/1.413e-06, allocations: 0 / 357.2 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.832e-05, allocations: 9.484 kB / 357.3 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J): time 0.04678/0.04681, allocations: 33.71 MB / 391 MB, free: 5.062 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02143/0.06824, allocations: 14.14 MB / 405.1 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005221/0.06876, allocations: 11.88 kB / 405.1 MB, free: 6.867 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.06955, allocations: 218.5 kB / 405.3 MB, free: 6.652 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01318/0.08273, allocations: 4.801 MB / 410.1 MB, free: 1.832 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003718/0.08644, allocations: 1.206 MB / 411.3 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1575/0.244, allocations: 5.559 MB / 416.9 MB, free: 20.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003503/0.2475, allocations: 1.813 MB / 418.7 MB, free: 20.08 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006217/0.2537, allocations: 2.27 MB / 421 MB, free: 20.08 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005174/0.2589, allocations: 2.608 MB / 423.6 MB, free: 19.99 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003569/0.2624, allocations: 0.5685 MB / 424.2 MB, free: 19.99 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01433/0.2768, allocations: 7.392 MB / 431.6 MB, free: 19.97 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.00266/0.2794, allocations: 2.054 MB / 433.6 MB, free: 19.81 MB / 330.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7048351800767705]