Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_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.001354/0.001354, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001532/0.001532, allocations: 161 kB / 24.56 MB, free: 16 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.9412/0.9412, allocations: 177.1 MB / 205 MB, free: 5.625 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.08604/0.08604, allocations: 19.74 MB / 281.2 MB, free: 9.258 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.TestWaterFlow1DFEM_J,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 358 MB, free: 6.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.139e-05, allocations: 6.25 kB / 358 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J): time 0.01943/0.01946, allocations: 15.22 MB / 373.2 MB, free: 7.289 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01524/0.0347, allocations: 11.68 MB / 384.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003904/0.03509, allocations: 15.88 kB / 384.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005647/0.03566, allocations: 150.9 kB / 385.1 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01325/0.0489, allocations: 4.774 MB / 389.8 MB, free: 6.605 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.05136, allocations: 0.9376 MB / 390.8 MB, free: 5.664 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00554/0.0569, allocations: 5.561 MB / 396.3 MB, free: 88 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002753/0.05965, allocations: 1.815 MB / 398.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/0.06299, allocations: 2.262 MB / 400.4 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004059/0.06705, allocations: 2.605 MB / 403 MB, free: 9.383 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0014/0.06845, allocations: 0.5664 MB / 403.6 MB, free: 8.816 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01477/0.08322, allocations: 7.359 MB / 410.9 MB, free: 1.449 MB / 330.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 {pipe1.l * (if pipe1.evenN then 0.5 else 0.5), pipe1.l * (if pipe1.evenN then 1.0 else 1.0), pipe1.l * (if pipe1.evenN then 1.0 else 1.0), pipe1.l * (if pipe1.evenN then 1.0 else 1.0), pipe1.l * (if pipe1.evenN then 0.875 else 1.0), pipe1.l * (if pipe1.evenN then 0.125 else 0.5), pipe1.l * (if pipe1.evenN then 0.0 else 0.0), pipe1.l * (if pipe1.evenN then 0.0 else 0.0), pipe1.l * (if pipe1.evenN then 0.0 else 0.0), pipe1.l * (if pipe1.evenN then 0.0 else 0.0)} Notification: Performance of FrontEnd: time 0.1306/0.2138, allocations: 2.058 MB / 413 MB, free: 29.46 MB / 330.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8629618338309228]