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.0009757/0.0009757, allocations: 71.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.001027/0.001027, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9266/0.9266, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.121/0.121, allocations: 19.74 MB / 281.5 MB, free: 9.352 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.382e-06/1.382e-06, allocations: 0 / 358 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.502e-05, allocations: 2.312 kB / 358 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J): time 0.02645/0.02648, allocations: 33.8 MB / 391.8 MB, free: 4.977 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01228/0.03875, allocations: 14.15 MB / 405.9 MB, free: 6.785 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/0.03914, allocations: 15.81 kB / 405.9 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.03974, allocations: 218.5 kB / 406.2 MB, free: 6.555 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009922/0.04966, allocations: 4.801 MB / 411 MB, free: 1.738 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.0521, allocations: 1.209 MB / 412.2 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1357/0.1878, allocations: 5.556 MB / 417.7 MB, free: 20.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002473/0.1902, allocations: 1.807 MB / 419.5 MB, free: 20.17 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003677/0.1939, allocations: 2.273 MB / 421.8 MB, free: 20.13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003809/0.1977, allocations: 2.605 MB / 424.4 MB, free: 20.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001735/0.1994, allocations: 0.5674 MB / 425 MB, free: 20.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/0.2105, allocations: 7.397 MB / 432.4 MB, free: 20.02 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.001828/0.2124, allocations: 2.051 MB / 434.4 MB, free: 19.86 MB / 330.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8955157559830695]