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.0008954/0.0008954, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009198/0.0009198, allocations: 161 kB / 24.56 MB, free: 20 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.8768/0.8768, allocations: 177.1 MB / 205 MB, free: 5.289 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.08216/0.08216, allocations: 19.74 MB / 281.2 MB, free: 9.105 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.172e-06/1.172e-06, allocations: 0 / 358 MB, free: 7.629 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.217e-05, allocations: 2.312 kB / 358 MB, free: 7.625 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_J): time 0.01488/0.0149, allocations: 19.9 MB / 377.9 MB, free: 3.645 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.02654, allocations: 14.11 MB / 392 MB, free: 5.492 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.02679, allocations: 31.69 kB / 392 MB, free: 5.461 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005226/0.02732, allocations: 297.8 kB / 392.3 MB, free: 5.168 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006547/0.03386, allocations: 5.289 MB / 397.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.03588, allocations: 1.662 MB / 399.3 MB, free: 14.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005498/0.04138, allocations: 9.727 MB / 409 MB, free: 4.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.04336, allocations: 3.117 MB / 412.1 MB, free: 1.281 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.0463, allocations: 4.076 MB / 416.2 MB, free: 13.2 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003573/0.04988, allocations: 4.176 MB / 420.4 MB, free: 9.012 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001217/0.05109, allocations: 1.082 MB / 421.5 MB, free: 7.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009205/0.0603, allocations: 8.066 MB / 429.5 MB, free: 15.85 MB / 410.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.001868/0.06217, allocations: 3.281 MB / 432.8 MB, free: 12.57 MB / 410.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.731610150076449]