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.001966/0.001966, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002407/0.002407, allocations: 161.7 kB / 24.27 MB, free: 176 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.463/1.463, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.146/0.146, allocations: 19.73 MB / 280.8 MB, free: 9.285 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.503e-06/1.503e-06, allocations: 0 / 357.2 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.643e-05, allocations: 6.25 kB / 357.3 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_K): time 0.0658/0.06583, allocations: 50.83 MB / 408.1 MB, free: 3.902 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1464/0.2122, allocations: 17.19 MB / 425.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006501/0.2129, allocations: 31.94 kB / 425.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009739/0.2139, allocations: 456.6 kB / 425.8 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01255/0.2264, allocations: 5.381 MB / 431.1 MB, free: 15.08 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005025/0.2314, allocations: 2.194 MB / 433.3 MB, free: 14.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007045/0.2385, allocations: 9.996 MB / 443.3 MB, free: 12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00373/0.2422, allocations: 3.321 MB / 446.6 MB, free: 9.711 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005955/0.2482, allocations: 4.243 MB / 450.9 MB, free: 7.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006126/0.2543, allocations: 4.289 MB / 455.2 MB, free: 4.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00202/0.2563, allocations: 1.117 MB / 456.3 MB, free: 3.402 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01687/0.2732, allocations: 8.157 MB / 464.5 MB, free: 11.35 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.004749/0.2779, allocations: 3.398 MB / 467.8 MB, free: 8.086 MB / 346.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5560256199678406]