Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001645/0.001645, 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.001712/0.001712, allocations: 168 kB / 24.99 MB, free: 8.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8358/0.8358, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1687/0.1687, allocations: 36.34 MB / 275.4 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 353.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.816e-05, allocations: 2.312 kB / 353.8 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K): time 0.02133/0.02135, allocations: 31.26 MB / 385.1 MB, free: 4.34 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.03416, allocations: 14.6 MB / 399.7 MB, free: 5.691 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003806/0.03454, allocations: 11.88 kB / 399.7 MB, free: 5.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005202/0.03506, allocations: 194.6 kB / 399.9 MB, free: 5.488 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008411/0.04347, allocations: 4.778 MB / 404.7 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.04601, allocations: 1.361 MB / 406 MB, free: 15.32 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003413/0.04942, allocations: 5.635 MB / 411.7 MB, free: 9.668 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.05094, allocations: 1.903 MB / 413.6 MB, free: 7.746 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.05265, allocations: 2.27 MB / 415.8 MB, free: 5.473 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002277/0.05493, allocations: 2.566 MB / 418.4 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005834/0.05552, allocations: 0.5547 MB / 419 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/0.06584, allocations: 7.367 MB / 426.3 MB, free: 10.97 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/Water.mo:2231:7-2241: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.001374/0.06721, allocations: 2.056 MB / 428.4 MB, free: 8.91 MB / 362.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8714582631364465]