Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_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.001855/0.001855, 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.002092/0.002092, allocations: 165.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.518/1.518, allocations: 177.1 MB / 204.6 MB, free: 5.582 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.1471/0.1471, allocations: 19.73 MB / 280.8 MB, free: 9.281 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.TestWaterFlow1DFEMnm_J,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_J") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_J,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_J") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.113e-06/1.113e-06, allocations: 0 / 357.3 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.65e-05, allocations: 2.312 kB / 357.3 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_J): time 0.1928/0.1928, allocations: 57.02 MB / 414.3 MB, free: 16.69 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01863/0.2115, allocations: 19.05 MB / 433.3 MB, free: 16.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005148/0.212, allocations: 32.28 kB / 433.4 MB, free: 16.46 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009209/0.2129, allocations: 431.2 kB / 433.8 MB, free: 16.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01114/0.224, allocations: 5.334 MB / 439.1 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00434/0.2284, allocations: 2.193 MB / 441.3 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006106/0.2345, allocations: 9.752 MB / 451.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002442/0.2369, allocations: 3.114 MB / 454.2 MB, free: 8.785 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/0.2403, allocations: 4.096 MB / 458.3 MB, free: 6.566 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004581/0.2449, allocations: 4.188 MB / 462.5 MB, free: 2.965 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001421/0.2463, allocations: 1.082 MB / 463.5 MB, free: 1.883 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01641/0.2627, allocations: 8.134 MB / 471.7 MB, free: 9.828 MB / 346.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 {refData.pipe1.l * (if refData.pipe1.evenN then 0.5 else 0.5), refData.pipe1.l * (if refData.pipe1.evenN then 1.0 else 1.0), refData.pipe1.l * (if refData.pipe1.evenN then 1.0 else 1.0), refData.pipe1.l * (if refData.pipe1.evenN then 1.0 else 1.0), refData.pipe1.l * (if refData.pipe1.evenN then 0.875 else 1.0), refData.pipe1.l * (if refData.pipe1.evenN then 0.125 else 0.5), refData.pipe1.l * (if refData.pipe1.evenN then 0.0 else 0.0), refData.pipe1.l * (if refData.pipe1.evenN then 0.0 else 0.0), refData.pipe1.l * (if refData.pipe1.evenN then 0.0 else 0.0), refData.pipe1.l * (if refData.pipe1.evenN then 0.0 else 0.0)} Notification: Performance of FrontEnd: time 0.003954/0.2667, allocations: 3.273 MB / 474.9 MB, free: 6.688 MB / 346.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5383982699131593]