Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K.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.001866/0.001866, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001894/0.001894, allocations: 169.3 kB / 24.28 MB, free: 152 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.542/1.542, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.1494/0.1494, allocations: 19.74 MB / 280.8 MB, free: 9.297 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_K,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 357.3 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.486e-05, allocations: 9.406 kB / 357.3 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K): time 0.04582/0.04585, allocations: 33.81 MB / 391.1 MB, free: 4.965 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02158/0.06743, allocations: 14.17 MB / 405.2 MB, free: 6.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004727/0.0679, allocations: 19.81 kB / 405.3 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000755/0.06866, allocations: 210.5 kB / 405.5 MB, free: 6.523 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01364/0.0823, allocations: 4.821 MB / 410.3 MB, free: 1.684 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003452/0.08575, allocations: 1.209 MB / 411.5 MB, free: 480 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1573/0.243, allocations: 5.671 MB / 417.2 MB, free: 20.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003068/0.2461, allocations: 1.913 MB / 419.1 MB, free: 20.1 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004148/0.2502, allocations: 2.346 MB / 421.4 MB, free: 20.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004269/0.2545, allocations: 2.662 MB / 424.1 MB, free: 19.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001518/0.256, allocations: 0.5803 MB / 424.7 MB, free: 19.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01387/0.2699, allocations: 7.4 MB / 432.1 MB, free: 19.91 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.002316/0.2722, allocations: 2.117 MB / 434.2 MB, free: 19.75 MB / 330.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.59244800102897]