Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_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.0009271/0.0009271, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009352/0.0009352, allocations: 161 kB / 24.56 MB, free: 12 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.8887/0.8887, allocations: 177.1 MB / 205 MB, free: 5.59 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.08731/0.08731, allocations: 19.74 MB / 281.2 MB, free: 9.227 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_K,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_K") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_K,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_K") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 358 MB, free: 7.629 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.763e-05, allocations: 2.312 kB / 358 MB, free: 7.625 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_K): time 0.01579/0.01581, allocations: 20.11 MB / 378.1 MB, free: 3.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.02774, allocations: 14.14 MB / 392.3 MB, free: 5.238 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003024/0.02804, allocations: 31.69 kB / 392.3 MB, free: 5.207 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005751/0.02862, allocations: 321.6 kB / 392.6 MB, free: 4.891 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007835/0.03645, allocations: 5.337 MB / 397.9 MB, free: 15.53 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.03866, allocations: 1.65 MB / 399.6 MB, free: 13.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00594/0.0446, allocations: 9.972 MB / 409.6 MB, free: 3.875 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/0.04693, allocations: 3.316 MB / 412.9 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003411/0.05034, allocations: 4.248 MB / 417.1 MB, free: 12.27 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00389/0.05423, allocations: 4.293 MB / 421.4 MB, free: 7.973 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001377/0.05561, allocations: 1.109 MB / 422.5 MB, free: 6.863 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009972/0.06558, allocations: 8.093 MB / 430.6 MB, free: 14.76 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.00215/0.06773, allocations: 3.394 MB / 434 MB, free: 11.36 MB / 410.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.767040817067027]