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.001652/0.001652, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.001692/0.001692, allocations: 165.3 kB / 24.27 MB, free: 144 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.399/1.399, 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.3166/0.3166, allocations: 36.35 MB / 274.7 MB, free: 10.79 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.694e-06/1.694e-06, allocations: 0 / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.473e-05, allocations: 2.312 kB / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J): time 0.04122/0.04124, allocations: 27.87 MB / 381 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02274/0.06398, allocations: 13.16 MB / 394.1 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005607/0.06454, allocations: 15.88 kB / 394.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008706/0.06541, allocations: 178.8 kB / 394.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01545/0.08086, allocations: 4.766 MB / 399.1 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004418/0.08528, allocations: 1.349 MB / 400.4 MB, free: 4.254 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007277/0.09255, allocations: 5.522 MB / 405.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003508/0.09606, allocations: 1.807 MB / 407.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004229/0.1003, allocations: 2.196 MB / 409.9 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004719/0.105, allocations: 2.499 MB / 412.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001492/0.1065, allocations: 0.543 MB / 413 MB, free: 7.645 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01699/0.1235, allocations: 7.371 MB / 420.4 MB, free: 272 kB / 346.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.002938/0.1264, allocations: 1.994 MB / 422.3 MB, free: 14.27 MB / 362.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.798535102047026]