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.0009337/0.0009337, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001638/0.001638, allocations: 165 kB / 24.56 MB, free: 12 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 0.9364/0.9364, allocations: 177.1 MB / 205 MB, free: 5.633 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.0944/0.0944, allocations: 19.74 MB / 281.2 MB, free: 9.27 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.583e-06/1.583e-06, allocations: 0 / 358 MB, free: 6.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.702e-05, allocations: 2.312 kB / 358 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K): time 0.01709/0.01712, allocations: 15.32 MB / 373.3 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.02777, allocations: 11.7 MB / 385 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003824/0.02816, allocations: 11.88 kB / 385 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004824/0.02864, allocations: 158.8 kB / 385.2 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.03873, allocations: 4.801 MB / 390 MB, free: 6.441 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.04084, allocations: 0.9337 MB / 390.9 MB, free: 5.504 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00393/0.04477, allocations: 5.668 MB / 396.6 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002381/0.04715, allocations: 1.907 MB / 398.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/0.04987, allocations: 2.34 MB / 400.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003183/0.05306, allocations: 2.663 MB / 403.5 MB, free: 8.875 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001111/0.05417, allocations: 0.5781 MB / 404.1 MB, free: 8.297 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01111/0.06528, allocations: 7.383 MB / 411.5 MB, free: 0.9062 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.1332/0.1985, allocations: 2.101 MB / 413.6 MB, free: 29.85 MB / 330.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8517571780830622]