Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001285/0.001285, allocations: 110 kB / 18.93 MB, free: 2.945 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.001482/0.001482, allocations: 186.2 kB / 22.23 MB, free: 5.16 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.401/1.401, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.83/0.83, allocations: 134 MB / 440.3 MB, free: 260 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo)
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(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger")
translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 63.64 kB / 0.6107 GB, free: 13.68 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1772, allocations: 84.73 MB / 0.6935 GB, free: 9.023 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04934/0.2265, allocations: 42.29 MB / 0.7348 GB, free: 14.59 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.01746/0.244, allocations: 10.43 MB / 0.745 GB, free: 4.133 MB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/0.2466, allocations: 79.31 kB / 0.745 GB, free: 4.055 MB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 0.002191/0.2487, allocations: 0.6755 MB / 0.7457 GB, free: 3.375 MB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 0.006268/0.255, allocations: 2.004 MB / 0.7476 GB, free: 1.363 MB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.2587, allocations: 1.229 MB / 0.7488 GB, free: 148 kB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 0.3354/0.5941, allocations: 3.47 MB / 0.7522 GB, free: 7.629 MB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.5953, allocations: 0.8115 MB / 0.753 GB, free: 7.574 MB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.5983, allocations: 1.286 MB / 0.7543 GB, free: 7.574 MB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.5997, allocations: 0.9411 MB / 0.7552 GB, free: 7.461 MB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.5999, allocations: 99.56 kB / 0.7553 GB, free: 7.461 MB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.602, allocations: 0.9054 MB / 0.7562 GB, free: 7.461 MB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003112/0.6023, allocations: 294.9 kB / 0.7565 GB, free: 7.406 MB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 0.0007685/0.603, allocations: 0.6301 MB / 0.7571 GB, free: 7.234 MB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 0.003113/0.6061, allocations: 1.941 MB / 0.759 GB, free: 6.98 MB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6061, allocations: 1.281 kB / 0.759 GB, free: 6.98 MB / 0.5606 GB
Notification: Performance of FrontEnd: time 1.312e-06/0.6062, allocations: 0 / 0.759 GB, free: 6.98 MB / 0.5606 GB
Notification: Performance of Transformations before backend: time 2.484e-05/0.6062, allocations: 5.75 kB / 0.759 GB, free: 6.98 MB / 0.5606 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 174
 * Number of variables: 174
Notification: Performance of Generate backend data structure: time 0.002787/0.609, allocations: 1.478 MB / 0.7604 GB, free: 6.234 MB / 0.5606 GB
Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.609, allocations: 9.391 kB / 0.7604 GB, free: 6.234 MB / 0.5606 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004221/0.6094, allocations: 140.8 kB / 0.7606 GB, free: 6.168 MB / 0.5606 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.6112, allocations: 1.056 MB / 0.7616 GB, free: 5.859 MB / 0.5606 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.6113, allocations: 54.81 kB / 0.7617 GB, free: 5.859 MB / 0.5606 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.6114, allocations: 72.55 kB / 0.7617 GB, free: 5.859 MB / 0.5606 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.6128, allocations: 0.7953 MB / 0.7625 GB, free: 5.723 MB / 0.5606 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.6128, allocations: 0.7031 kB / 0.7625 GB, free: 5.723 MB / 0.5606 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.855e-05/0.6129, allocations: 27.47 kB / 0.7625 GB, free: 5.723 MB / 0.5606 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.6129, allocations: 20.66 kB / 0.7625 GB, free: 5.723 MB / 0.5606 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.6142, allocations: 0.5727 MB / 0.7631 GB, free: 5.715 MB / 0.5606 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004081/0.6183, allocations: 3.48 MB / 0.7665 GB, free: 3.938 MB / 0.5606 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/0.6189, allocations: 252.4 kB / 0.7667 GB, free: 3.91 MB / 0.5606 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.6193, allocations: 165.9 kB / 0.7669 GB, free: 3.902 MB / 0.5606 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002591/0.6195, allocations: 59.98 kB / 0.767 GB, free: 3.902 MB / 0.5606 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.6196, allocations: 39.08 kB / 0.767 GB, free: 3.863 MB / 0.5606 GB
Notification: Performance of pre-optimization done (n=31): time 2.244e-06/0.6196, allocations: 4 kB / 0.767 GB, free: 3.859 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=31): time 0.001306/0.6209, allocations: 0.519 MB / 0.7675 GB, free: 3.773 MB / 0.5606 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.6209, allocations: 56.06 kB / 0.7676 GB, free: 3.711 MB / 0.5606 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.6221, allocations: 0.9476 MB / 0.7685 GB, free: 3.559 MB / 0.5606 GB
Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.6221, allocations: 38.48 kB / 0.7685 GB, free: 3.523 MB / 0.5606 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.6224, allocations: 0.496 MB / 0.769 GB, free: 3.324 MB / 0.5606 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.6226, allocations: 120.5 kB / 0.7691 GB, free: 3.25 MB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.6227, allocations: 112.2 kB / 0.7692 GB, free: 3.23 MB / 0.5606 GB
Notification: Performance of setup shared object (initialization): time 5.279e-05/0.6228, allocations: 331.1 kB / 0.7695 GB, free: 2.922 MB / 0.5606 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.6231, allocations: 162.7 kB / 0.7697 GB, free: 2.922 MB / 0.5606 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/0.6236, allocations: 354.6 kB / 0.77 GB, free: 2.715 MB / 0.5606 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000801/0.6244, allocations: 0.5151 MB / 0.7705 GB, free: 2.516 MB / 0.5606 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.6244, allocations: 1.781 kB / 0.7705 GB, free: 2.516 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=65) (initialization): time 0.001264/0.6256, allocations: 0.6205 MB / 0.7711 GB, free: 2.422 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.6257, allocations: 11.14 kB / 0.7712 GB, free: 2.418 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.6257, allocations: 9.344 kB / 0.7712 GB, free: 2.414 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.6257, allocations: 7.719 kB / 0.7712 GB, free: 2.414 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.6261, allocations: 126 kB / 0.7713 GB, free: 2.414 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.6262, allocations: 11.31 kB / 0.7713 GB, free: 2.414 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008286/0.627, allocations: 90.27 kB / 0.7714 GB, free: 2.371 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.627, allocations: 25.09 kB / 0.7714 GB, free: 2.371 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 23
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (65):
 * Single equations (assignments): 65
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0003998/0.6274, allocations: 282.2 kB / 0.7717 GB, free: 2.246 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.6276, allocations: 104.5 kB / 0.7718 GB, free: 2.191 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.6286, allocations: 484.4 kB / 0.7722 GB, free: 2.141 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.6286, allocations: 5.031 kB / 0.7723 GB, free: 2.141 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6287, allocations: 0.875 kB / 0.7723 GB, free: 2.141 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007104/0.6294, allocations: 461 kB / 0.7727 GB, free: 1.977 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.6316, allocations: 1.342 MB / 0.774 GB, free: 1.648 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.6316, allocations: 1.094 kB / 0.774 GB, free: 1.648 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.6319, allocations: 76.89 kB / 0.7741 GB, free: 1.648 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.632, allocations: 8.078 kB / 0.7741 GB, free: 1.645 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.632, allocations: 14.94 kB / 0.7741 GB, free: 1.645 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.632, allocations: 2.625 kB / 0.7741 GB, free: 1.645 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.632, allocations: 2.562 kB / 0.7741 GB, free: 1.645 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.6332, allocations: 0.7786 MB / 0.7749 GB, free: 1.395 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003971/0.6336, allocations: 151.3 kB / 0.775 GB, free: 1.336 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.6338, allocations: 12.44 kB / 0.775 GB, free: 1.332 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/0.6343, allocations: 29.34 kB / 0.775 GB, free: 1.332 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/0.6344, allocations: 30.66 kB / 0.7751 GB, free: 1.328 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.6344, allocations: 17.86 kB / 0.7751 GB, free: 1.328 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.0008414/0.6353, allocations: 0.6676 MB / 0.7757 GB, free: 1.219 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 7e-08/0.6353, allocations: 0 / 0.7757 GB, free: 1.219 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.001124/0.6364, allocations: 344.1 kB / 0.7761 GB, free: 1.168 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (34):
 * Single equations (assignments): 31
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 3
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0007487/0.6371, allocations: 399.4 kB / 0.7765 GB, free: 1.023 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.0008642/0.638, allocations: 412.3 kB / 0.7768 GB, free: 1.012 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.638, allocations: 1.094 kB / 0.7768 GB, free: 1.012 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.6384, allocations: 181.6 kB / 0.777 GB, free: 1.008 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/0.6411, allocations: 0.616 MB / 0.7776 GB, free: 0.9414 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.6434, allocations: 1.62 MB / 0.7792 GB, free: 164 kB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.644, allocations: 1.042 MB / 0.7802 GB, free: 15.44 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0006895/0.6447, allocations: 187.7 kB / 0.7804 GB, free: 15.4 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.6448, allocations: 81.77 kB / 0.7805 GB, free: 15.39 MB / 0.5762 GB
Notification: Performance of SimCode: time 1.042e-06/0.6449, allocations: 1.125 kB / 0.7805 GB, free: 15.39 MB / 0.5762 GB
Notification: Performance of Templates: time 0.03733/0.6822, allocations: 21.8 MB / 0.8018 GB, free: 4.734 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.630361279472709]
Failed to read output from testmodel.py, exit status != 0:
0.6895544370636344 0.705132693 0.095586658
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2fd588d7b0>