Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 108.6 kB / 21.08 MB, free: 0.8594 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 187.2 kB / 24.34 MB, free: 4.25 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 225.6 MB / 253 MB, free: 13.06 MB / 206.1 MB
"
[Timeout remaining time 179]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sink.ports.1..m_flow|sink1.ports.1..m_flow|sink2.ports.1..m_flow|pipe1.flowModel.dps_fg_turbulent.1.|pipe1.flowModel.pathLengths_nominal.1.|pipe2.flowModel.pathLengths_nominal.1.",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization")
translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sink.ports.1..m_flow|sink1.ports.1..m_flow|sink2.ports.1..m_flow|pipe1.flowModel.dps_fg_turbulent.1.|pipe1.flowModel.pathLengths_nominal.1.|pipe2.flowModel.pathLengths_nominal.1.",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization") [Timeout 660]
"Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.119e-05, allocations: 2.281 kB / 371.3 MB, free: 9.523 MB / 302.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.1957/0.1957, allocations: 72.2 MB / 443.5 MB, free: 15.29 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0313/0.227, allocations: 24.97 MB / 468.5 MB, free: 6.242 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.2284, allocations: 55.5 kB / 468.5 MB, free: 6.188 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001921/0.2304, allocations: 0.7958 MB / 469.3 MB, free: 5.387 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.01592/0.2463, allocations: 6.491 MB / 475.8 MB, free: 14.9 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0106/0.2569, allocations: 4.544 MB / 480.3 MB, free: 10.36 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006282/0.2632, allocations: 5.207 MB / 485.6 MB, free: 5.141 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001828/0.265, allocations: 1.314 MB / 486.9 MB, free: 3.812 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.003385/0.2684, allocations: 2.267 MB / 489.1 MB, free: 1.539 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.01949/0.2879, allocations: 9.523 MB / 498.7 MB, free: 7.879 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004621/0.2883, allocations: 156 kB / 498.8 MB, free: 7.727 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01646/0.3048, allocations: 9.551 MB / 0.4964 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of combineBinaries: time 0.003977/0.3088, allocations: 3.908 MB / 0.5003 GB, free: 10.2 MB / 414.1 MB
Notification: Performance of replaceArrayConstructors: time 0.001712/0.3105, allocations: 2.165 MB / 0.5024 GB, free: 8.012 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003753/0.3109, allocations: 267.2 kB / 0.5026 GB, free: 7.75 MB / 414.1 MB
Notification: Performance of FrontEnd: time 0.0003139/0.3112, allocations: 55.72 kB / 0.5027 GB, free: 7.695 MB / 414.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 287 (235)
 * Number of variables: 287 (263)
Notification: Performance of Bindings: time 0.009327/0.3205, allocations: 8.977 MB / 0.5114 GB, free: 14.46 MB / 430.1 MB
Notification: Performance of FunctionAlias: time 0.001315/0.3218, allocations: 1.081 MB / 0.5125 GB, free: 13.36 MB / 430.1 MB
Notification: Performance of Early Inline: time 0.007487/0.3293, allocations: 7.155 MB / 0.5195 GB, free: 6.102 MB / 430.1 MB
Notification: Performance of Simplify 1: time 0.001253/0.3305, allocations: 0.8297 MB / 0.5203 GB, free: 5.16 MB / 430.1 MB
Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information.
Notification: Performance of Alias: time 0.006444/0.337, allocations: 5.07 MB / 0.5253 GB, free: 15.61 MB / 446.1 MB
Notification: Performance of Simplify 2: time 0.001016/0.338, allocations: 0.7257 MB / 0.526 GB, free: 14.82 MB / 446.1 MB
Notification: Performance of Remove Stream: time 0.0007722/0.3388, allocations: 0.6715 MB / 0.5266 GB, free: 14.11 MB / 446.1 MB
Notification: Performance of Detect States: time 0.001273/0.3401, allocations: 1.222 MB / 0.5278 GB, free: 12.82 MB / 446.1 MB
Notification: Performance of Events: time 0.0009637/0.341, allocations: 0.7253 MB / 0.5285 GB, free: 12.12 MB / 446.1 MB
Notification: Performance of Partitioning: time 0.002248/0.3433, allocations: 1.978 MB / 0.5305 GB, free: 9.914 MB / 446.1 MB
Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid.
Error: Internal error NBSlice.resolveDependency failed for: pipe2.flowModel.dheights[1].
Error: Internal error NBAdjacency.Matrix.upgradeRow failed for:
[ARRY] (1) pipe2.flowModel.dps_fg = {pipe2.flowModel.dheights[1] * pipe2.flowModel.g * (if $SEV_12 then pipe2.flowModel.rhos[1] else pipe2.flowModel.rhos[2])} + pipe2.flowModel.dp_nominal / pipe2.flowModel.m_flow_nominal * pipe2.flowModel.m_flows ($RES_SIM_39)
"
[Timeout remaining time 660]
[Calling sys.exit(0), Time elapsed: 2.4733979208394885]
Failed to read output from testmodel.py, exit status != 0:
['time', 'sink.ports[1].m_flow', 'sink1.ports[1].m_flow', 'sink2.ports[1].m_flow', 'pipe1.flowModel.dps_fg_turbulent[1]', 'pipe1.flowModel.pathLengths_nominal[1]', 'pipe2.flowModel.pathLengths_nominal[1]']
0.35433065705001354 0.525571793 0.21168235500000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f3a099fd780>