Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001952/0.001952, allocations: 91.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.002022/0.002022, allocations: 165.6 kB / 24.27 MB, free: 152 kB / 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 1.364/1.364, allocations: 158.6 MB / 186.1 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.2957/0.2957, allocations: 36.34 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] 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_J,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 353.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.242e-05, allocations: 6.312 kB / 353.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J): time 0.03957/0.03959, allocations: 31.06 MB / 384.2 MB, free: 4.566 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0229/0.06249, allocations: 14.58 MB / 398.7 MB, free: 5.934 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.06294, allocations: 11.88 kB / 398.8 MB, free: 5.922 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006803/0.06362, allocations: 178.8 kB / 398.9 MB, free: 5.746 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0138/0.07742, allocations: 4.77 MB / 403.7 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004393/0.08181, allocations: 1.349 MB / 405 MB, free: 15.61 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006813/0.08862, allocations: 5.51 MB / 410.6 MB, free: 10.07 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003139/0.09176, allocations: 1.815 MB / 412.4 MB, free: 8.246 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003306/0.09507, allocations: 2.192 MB / 414.6 MB, free: 6.051 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004609/0.09968, allocations: 2.507 MB / 417.1 MB, free: 3.539 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00156/0.1012, allocations: 0.5469 MB / 417.6 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01887/0.1201, allocations: 7.363 MB / 425 MB, free: 11.62 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.003711/0.1238, allocations: 2.002 MB / 427 MB, free: 9.609 MB / 362.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.767621275037527]