Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_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.001549/0.001549, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001856/0.001856, allocations: 166.2 kB / 24.99 MB, free: 8.793 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.902/0.902, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.08599/0.08599, allocations: 19.74 MB / 281.5 MB, free: 9.344 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_K,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 358 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.215e-05, allocations: 2.312 kB / 358 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K): time 0.02597/0.02601, allocations: 33.92 MB / 391.9 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.03808, allocations: 14.16 MB / 406.1 MB, free: 6.656 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.03835, allocations: 15.88 kB / 406.1 MB, free: 6.641 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005457/0.03889, allocations: 226.4 kB / 406.3 MB, free: 6.418 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007667/0.04656, allocations: 4.813 MB / 411.1 MB, free: 1.586 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.04918, allocations: 1.209 MB / 412.3 MB, free: 380 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1337/0.1829, allocations: 5.666 MB / 418 MB, free: 20.1 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.1852, allocations: 1.914 MB / 419.9 MB, free: 20.04 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003132/0.1884, allocations: 2.343 MB / 422.2 MB, free: 19.96 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003069/0.1914, allocations: 2.662 MB / 424.9 MB, free: 19.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001459/0.1929, allocations: 0.5788 MB / 425.5 MB, free: 19.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00974/0.2026, allocations: 7.403 MB / 432.9 MB, free: 19.85 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.001153/0.2038, allocations: 2.113 MB / 435 MB, free: 19.68 MB / 330.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8158822099212557]