Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001001/0.001001, allocations: 75.75 kB / 21.69 MB, free: 2.855 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.001086/0.001086, allocations: 163.8 kB / 24.99 MB, free: 8.789 MB / 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 0.8109/0.8109, allocations: 158.6 MB / 186.8 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 179] 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.1605/0.1605, allocations: 36.34 MB / 275.4 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 180] 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_J,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 353.8 MB, free: 3.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.481e-05, allocations: 2.312 kB / 353.8 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J): time 0.02119/0.02121, allocations: 31.15 MB / 385 MB, free: 4.461 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.03253, allocations: 14.58 MB / 399.5 MB, free: 5.828 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.03274, allocations: 15.81 kB / 399.6 MB, free: 5.812 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.0332, allocations: 186.6 kB / 399.7 MB, free: 5.629 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008399/0.0416, allocations: 4.755 MB / 404.5 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.0438, allocations: 1.353 MB / 405.9 MB, free: 15.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003163/0.04696, allocations: 5.51 MB / 411.4 MB, free: 9.965 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.04825, allocations: 1.811 MB / 413.2 MB, free: 8.141 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.04982, allocations: 2.196 MB / 415.4 MB, free: 5.941 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00242/0.05224, allocations: 2.511 MB / 417.9 MB, free: 3.426 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006055/0.05285, allocations: 0.543 MB / 418.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008362/0.06121, allocations: 7.363 MB / 425.8 MB, free: 11.51 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.001198/0.06241, allocations: 2.002 MB / 427.8 MB, free: 9.5 MB / 362.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8131360542029142]