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.0008629/0.0008629, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0008649/0.0008649, allocations: 160.5 kB / 24.99 MB, free: 9.324 MB / 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.8814/0.8814, allocations: 177.1 MB / 205.3 MB, free: 5.598 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.08256/0.08256, allocations: 19.73 MB / 281.5 MB, free: 9.305 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.723e-06/1.723e-06, allocations: 0 / 358 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.486e-05, allocations: 2.312 kB / 358 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_K): time 0.164/0.164, allocations: 57.37 MB / 415.4 MB, free: 16.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01457/0.1786, allocations: 19.09 MB / 434.4 MB, free: 16.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004948/0.1791, allocations: 32.72 kB / 434.5 MB, free: 16.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007955/0.1799, allocations: 441.7 kB / 434.9 MB, free: 16.55 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008185/0.1881, allocations: 5.392 MB / 440.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003018/0.1911, allocations: 2.193 MB / 442.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004444/0.1955, allocations: 9.997 MB / 452.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/0.1981, allocations: 3.316 MB / 455.8 MB, free: 8.523 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.2008, allocations: 4.263 MB / 460.1 MB, free: 6.203 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003224/0.2041, allocations: 4.297 MB / 464.4 MB, free: 2.137 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009008/0.205, allocations: 1.109 MB / 465.5 MB, free: 1.027 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009563/0.2145, allocations: 8.159 MB / 473.6 MB, free: 8.945 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.001979/0.2165, allocations: 3.389 MB / 477 MB, free: 5.688 MB / 346.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.7381092340219766]