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.001824/0.001824, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001858/0.001858, allocations: 169.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.512/1.512, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.145/0.145, allocations: 19.74 MB / 280.8 MB, free: 9.289 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.432e-06/1.432e-06, allocations: 0 / 357.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.153e-05, allocations: 9.344 kB / 357.3 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_K): time 0.1923/0.1923, allocations: 57.24 MB / 414.5 MB, free: 16.64 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01856/0.2109, allocations: 19.08 MB / 433.6 MB, free: 16.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000498/0.2114, allocations: 32.97 kB / 433.6 MB, free: 16.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009278/0.2123, allocations: 446.8 kB / 434 MB, free: 16.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01081/0.2231, allocations: 5.382 MB / 439.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004176/0.2273, allocations: 2.207 MB / 441.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006151/0.2335, allocations: 9.994 MB / 451.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/0.2361, allocations: 3.318 MB / 454.9 MB, free: 8.316 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.2395, allocations: 4.262 MB / 459.2 MB, free: 5.996 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004676/0.2442, allocations: 4.297 MB / 463.5 MB, free: 2.004 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001412/0.2456, allocations: 1.109 MB / 464.6 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01722/0.2629, allocations: 8.16 MB / 472.8 MB, free: 8.812 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.004041/0.2669, allocations: 3.392 MB / 476.2 MB, free: 5.555 MB / 346.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5324689589906484]