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.001382/0.001382, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001538/0.001538, allocations: 169.3 kB / 24.27 MB, free: 140 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.531/1.531, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.1766/0.1766, allocations: 19.73 MB / 280.8 MB, free: 9.309 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 1.733e-06/1.733e-06, allocations: 0 / 357.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.209e-05, allocations: 6.25 kB / 357.2 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_K): time 0.04055/0.04059, allocations: 30.3 MB / 387.5 MB, free: 8.516 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01916/0.05975, allocations: 12.78 MB / 400.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003908/0.06014, allocations: 15.81 kB / 400.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007258/0.06087, allocations: 230.4 kB / 400.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01278/0.07365, allocations: 4.824 MB / 405.4 MB, free: 6.609 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.07696, allocations: 1.198 MB / 406.6 MB, free: 5.406 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.138/0.215, allocations: 5.672 MB / 412.3 MB, free: 19.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/0.2175, allocations: 1.903 MB / 414.2 MB, free: 19.08 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003456/0.221, allocations: 2.345 MB / 416.5 MB, free: 19.08 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004185/0.2252, allocations: 2.659 MB / 419.2 MB, free: 19.08 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002346/0.2275, allocations: 0.5818 MB / 419.8 MB, free: 19.08 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01468/0.2422, allocations: 7.411 MB / 427.2 MB, free: 19.08 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.003401/0.2456, allocations: 2.108 MB / 429.3 MB, free: 19.08 MB / 330.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5842783310217783]