Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001191/0.001191, allocations: 113.5 kB / 19.69 MB, free: 2.188 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.001312/0.001312, allocations: 188.1 kB / 22.98 MB, free: 5.008 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.301/1.301, allocations: 225.6 MB / 251.8 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8806/0.8806, allocations: 149.6 MB / 456.6 MB, free: 1.176 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder")
translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 67.73 kB / 0.6329 GB, free: 8.934 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1535, allocations: 87.87 MB / 0.7187 GB, free: 0.9883 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005838/0.1594, allocations: 4.597 MB / 0.7232 GB, free: 12.37 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.00101/0.1604, allocations: 0.8256 MB / 0.724 GB, free: 11.54 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.1604, allocations: 0 / 0.724 GB, free: 11.54 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.1606, allocations: 31.77 kB / 0.724 GB, free: 11.51 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 5.749e-05/0.1606, allocations: 35.7 kB / 0.724 GB, free: 11.47 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.1611, allocations: 175.4 kB / 0.7242 GB, free: 11.3 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001908/0.1613, allocations: 175.4 kB / 0.7244 GB, free: 11.13 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.474e-05/0.1614, allocations: 13.3 kB / 0.7244 GB, free: 11.11 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.1615, allocations: 91.62 kB / 0.7245 GB, free: 11.02 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1617, allocations: 79.73 kB / 0.7245 GB, free: 10.95 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.1617, allocations: 12 kB / 0.7246 GB, free: 10.93 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.162, allocations: 159.8 kB / 0.7247 GB, free: 10.78 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 3.25e-05/0.162, allocations: 31.91 kB / 0.7247 GB, free: 10.75 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.1621, allocations: 63.67 kB / 0.7248 GB, free: 10.68 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.1624, allocations: 243.1 kB / 0.725 GB, free: 10.45 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1624, allocations: 0 / 0.725 GB, free: 10.45 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.052e-06/0.1624, allocations: 4 kB / 0.725 GB, free: 10.44 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 4.949e-06/0.1624, allocations: 0 / 0.725 GB, free: 10.44 MB / 0.545 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 17
 * Number of variables: 17
Notification: Performance of Generate backend data structure: time 0.0008132/0.1632, allocations: 405.5 kB / 0.7254 GB, free: 10.02 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.1633, allocations: 12.56 kB / 0.7254 GB, free: 10 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.1633, allocations: 16.84 kB / 0.7254 GB, free: 9.988 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1634, allocations: 130.4 kB / 0.7256 GB, free: 9.836 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1634, allocations: 8.125 kB / 0.7256 GB, free: 9.828 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.1635, allocations: 16 kB / 0.7256 GB, free: 9.812 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.1638, allocations: 113.6 kB / 0.7257 GB, free: 9.695 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1638, allocations: 0 / 0.7257 GB, free: 9.695 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1638, allocations: 4 kB / 0.7257 GB, free: 9.691 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1638, allocations: 4 kB / 0.7257 GB, free: 9.688 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.1642, allocations: 151.7 kB / 0.7259 GB, free: 9.539 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008993/0.1651, allocations: 435.6 kB / 0.7263 GB, free: 9.07 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.1653, allocations: 110.5 kB / 0.7264 GB, free: 8.953 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.1655, allocations: 65.06 kB / 0.7264 GB, free: 8.887 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.1666, allocations: 0.4999 MB / 0.7269 GB, free: 8.367 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.1666, allocations: 38.5 kB / 0.727 GB, free: 8.32 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.1666, allocations: 0 / 0.727 GB, free: 8.32 MB / 0.545 GB
Notification: Performance of matching and sorting (n=12): time 0.0006138/0.1672, allocations: 201.5 kB / 0.7272 GB, free: 8.117 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1672, allocations: 59.34 kB / 0.7272 GB, free: 8.047 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.1674, allocations: 165.6 kB / 0.7274 GB, free: 7.875 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1674, allocations: 29.7 kB / 0.7274 GB, free: 7.84 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.1675, allocations: 108.4 kB / 0.7275 GB, free: 7.727 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.1675, allocations: 43.64 kB / 0.7275 GB, free: 7.684 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/0.1676, allocations: 45.7 kB / 0.7276 GB, free: 7.633 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001275/0.1677, allocations: 326.8 kB / 0.7279 GB, free: 7.305 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.1679, allocations: 79.88 kB / 0.728 GB, free: 7.227 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.1682, allocations: 110.7 kB / 0.7281 GB, free: 7.109 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.1685, allocations: 176.3 kB / 0.7282 GB, free: 6.926 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1685, allocations: 0 / 0.7282 GB, free: 6.926 MB / 0.545 GB
Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005135/0.1691, allocations: 239.1 kB / 0.7285 GB, free: 6.688 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1691, allocations: 14.28 kB / 0.7285 GB, free: 6.676 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1691, allocations: 0 / 0.7285 GB, free: 6.676 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.1691, allocations: 7.984 kB / 0.7285 GB, free: 6.668 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.1693, allocations: 55.91 kB / 0.7285 GB, free: 6.613 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1693, allocations: 0 / 0.7285 GB, free: 6.613 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.1695, allocations: 35.77 kB / 0.7286 GB, free: 6.578 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.1695, allocations: 11.98 kB / 0.7286 GB, free: 6.566 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * 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 (26):
 * Single equations (assignments): 26
 * 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 9.976e-05/0.1696, allocations: 129.7 kB / 0.7287 GB, free: 6.43 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.1697, allocations: 19.88 kB / 0.7287 GB, free: 6.41 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004371/0.1701, allocations: 178.9 kB / 0.7289 GB, free: 6.234 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1701, allocations: 0 / 0.7289 GB, free: 6.234 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1701, allocations: 0 / 0.7289 GB, free: 6.234 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1701, allocations: 0 / 0.7289 GB, free: 6.234 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.1703, allocations: 196.6 kB / 0.7291 GB, free: 6 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1703, allocations: 4 kB / 0.7291 GB, free: 5.996 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.1705, allocations: 35.84 kB / 0.7291 GB, free: 5.961 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1705, allocations: 0 / 0.7291 GB, free: 5.961 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1705, allocations: 4 kB / 0.7291 GB, free: 5.957 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1705, allocations: 0 / 0.7291 GB, free: 5.957 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1705, allocations: 0 / 0.7291 GB, free: 5.957 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004343/0.1709, allocations: 259.3 kB / 0.7294 GB, free: 5.688 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.171, allocations: 23.81 kB / 0.7294 GB, free: 5.664 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.171, allocations: 7.984 kB / 0.7294 GB, free: 5.656 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.1711, allocations: 15.98 kB / 0.7294 GB, free: 5.641 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.1712, allocations: 3.984 kB / 0.7294 GB, free: 5.637 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1712, allocations: 4 kB / 0.7294 GB, free: 5.633 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 8.827e-05/0.1713, allocations: 120.9 kB / 0.7296 GB, free: 5.516 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.1713, allocations: 4 kB / 0.7296 GB, free: 5.512 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002973/0.1716, allocations: 63.86 kB / 0.7296 GB, free: 5.449 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 simulation (12):
 * Single equations (assignments): 12
 * 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 Backend phase and start with SimCode phase: time 0.0002371/0.1718, allocations: 153.9 kB / 0.7298 GB, free: 5.289 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0004501/0.1723, allocations: 160.5 kB / 0.7299 GB, free: 5.133 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1723, allocations: 3.938 kB / 0.7299 GB, free: 5.129 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.1724, allocations: 63.89 kB / 0.73 GB, free: 5.066 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.1727, allocations: 20.39 kB / 0.73 GB, free: 5.047 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.1732, allocations: 265.2 kB / 0.7303 GB, free: 4.762 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1735, allocations: 0.7045 MB / 0.7309 GB, free: 4.031 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 8.276e-05/0.1736, allocations: 17.08 kB / 0.731 GB, free: 4.016 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.1736, allocations: 15.44 kB / 0.731 GB, free: 4 MB / 0.545 GB
Notification: Performance of SimCode: time 3.21e-07/0.1736, allocations: 4 kB / 0.731 GB, free: 3.996 MB / 0.545 GB
Notification: Performance of Templates: time 0.006192/0.1798, allocations: 2.809 MB / 0.7337 GB, free: 1.207 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.164358112029731]
Failed to read output from testmodel.py, exit status != 0:
0.18829129729419947 0.20227888100000002 0.036969487
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fcfd2f8d7b0>