Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001866/0.001866, 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.001931/0.001931, allocations: 165.3 kB / 24.28 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 158.6 MB / 186.1 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.293/0.293, allocations: 36.33 MB / 274.7 MB, free: 10.81 MB / 266.7 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.794e-05, allocations: 9.688 kB / 353.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K): time 0.04074/0.04077, allocations: 31.17 MB / 384.3 MB, free: 4.473 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02307/0.06385, allocations: 14.6 MB / 398.9 MB, free: 5.82 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005519/0.0644, allocations: 15.81 kB / 398.9 MB, free: 5.805 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007357/0.06513, allocations: 190.6 kB / 399.1 MB, free: 5.617 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0145/0.07964, allocations: 4.778 MB / 403.8 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004098/0.08373, allocations: 1.361 MB / 405.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.007415/0.09115, allocations: 5.635 MB / 410.8 MB, free: 9.805 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003387/0.09454, allocations: 1.915 MB / 412.8 MB, free: 7.871 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003405/0.09794, allocations: 2.274 MB / 415 MB, free: 5.594 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004576/0.1025, allocations: 2.558 MB / 417.6 MB, free: 3.031 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001678/0.1042, allocations: 0.5586 MB / 418.1 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01764/0.1218, allocations: 7.371 MB / 425.5 MB, free: 11.09 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/Water.mo:2231:7-2241: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.003301/0.1251, allocations: 2.052 MB / 427.6 MB, free: 9.031 MB / 362.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7218892299570143]