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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.00125, allocations: 106.8 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 189.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7166/0.7166, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.06 kB / 0.5577 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.158, allocations: 76.17 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005592/0.1637, allocations: 4.53 MB / 0.6365 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009927/0.1647, allocations: 0.8186 MB / 0.6373 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.1648, allocations: 4 kB / 0.6373 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.165, allocations: 35.77 kB / 0.6373 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.472e-05/0.165, allocations: 27.72 kB / 0.6374 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.1655, allocations: 171.4 kB / 0.6375 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.1657, allocations: 187.3 kB / 0.6377 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.1658, allocations: 9.125 kB / 0.6377 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.166, allocations: 87.69 kB / 0.6378 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.786e-05/0.1661, allocations: 75.73 kB / 0.6379 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.1662, allocations: 12 kB / 0.6379 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.1665, allocations: 155.8 kB / 0.638 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.343e-05/0.1665, allocations: 35.84 kB / 0.6381 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.148e-05/0.1666, allocations: 67.7 kB / 0.6381 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.167, allocations: 239.3 kB / 0.6384 GB, free: 13.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.167, allocations: 0 / 0.6384 GB, free: 13.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.167, allocations: 3.938 kB / 0.6384 GB, free: 13.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.167, allocations: 0 / 0.6384 GB, free: 13.92 MB / 494.1 MB 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.0008849/0.1679, allocations: 482.9 kB / 0.6388 GB, free: 13.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.168, allocations: 12.03 kB / 0.6388 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.728e-05/0.168, allocations: 8.844 kB / 0.6388 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.1682, allocations: 180.8 kB / 0.639 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1682, allocations: 8.375 kB / 0.639 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.1682, allocations: 16.36 kB / 0.639 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.1685, allocations: 131 kB / 0.6392 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1686, allocations: 3.938 kB / 0.6392 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1686, allocations: 0 / 0.6392 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1686, allocations: 0 / 0.6392 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.169, allocations: 139.9 kB / 0.6393 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.17, allocations: 468.4 kB / 0.6398 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.1704, allocations: 126.5 kB / 0.6399 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.1706, allocations: 68.81 kB / 0.6399 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/0.172, allocations: 0.9683 MB / 0.6409 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.1721, allocations: 34.56 kB / 0.6409 GB, free: 11.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.1721, allocations: 0 / 0.6409 GB, free: 11.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007079/0.1728, allocations: 213.3 kB / 0.6411 GB, free: 10.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.1729, allocations: 51.41 kB / 0.6412 GB, free: 10.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.173, allocations: 168.8 kB / 0.6413 GB, free: 10.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.1731, allocations: 25.7 kB / 0.6414 GB, free: 10.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.1731, allocations: 112.4 kB / 0.6415 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.1732, allocations: 43.38 kB / 0.6415 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-05/0.1733, allocations: 53.64 kB / 0.6416 GB, free: 10.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1734, allocations: 322.8 kB / 0.6419 GB, free: 9.988 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.1736, allocations: 75.94 kB / 0.6419 GB, free: 9.914 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.1739, allocations: 115.3 kB / 0.642 GB, free: 9.793 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.1743, allocations: 171.4 kB / 0.6422 GB, free: 9.617 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1743, allocations: 8 kB / 0.6422 GB, free: 9.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005847/0.1749, allocations: 241.2 kB / 0.6424 GB, free: 9.367 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.175, allocations: 4 kB / 0.6424 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.175, allocations: 4 kB / 0.6425 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.175, allocations: 3.938 kB / 0.6425 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.1753, allocations: 56 kB / 0.6425 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1753, allocations: 4 kB / 0.6425 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.1755, allocations: 43.69 kB / 0.6426 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.1755, allocations: 8 kB / 0.6426 GB, free: 9.246 MB / 494.1 MB 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 0.0001053/0.1756, allocations: 125.8 kB / 0.6427 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.1757, allocations: 11.81 kB / 0.6427 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/0.1762, allocations: 174.9 kB / 0.6429 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1762, allocations: 4 kB / 0.6429 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1762, allocations: 0 / 0.6429 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1762, allocations: 0 / 0.6429 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.1764, allocations: 213.5 kB / 0.6431 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1764, allocations: 0 / 0.6431 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.1766, allocations: 39.91 kB / 0.6431 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1766, allocations: 0 / 0.6431 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1766, allocations: 7.938 kB / 0.6431 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1766, allocations: 3.938 kB / 0.6431 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1766, allocations: 0 / 0.6431 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004631/0.1771, allocations: 255.3 kB / 0.6434 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/0.1772, allocations: 96.91 kB / 0.6435 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.1772, allocations: 11.94 kB / 0.6435 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1774, allocations: 11.98 kB / 0.6435 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.1774, allocations: 11.98 kB / 0.6435 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.1774, allocations: 4 kB / 0.6435 GB, free: 8.195 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.68e-05/0.1775, allocations: 117.5 kB / 0.6436 GB, free: 8.082 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1775, allocations: 0 / 0.6436 GB, free: 8.082 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003433/0.1779, allocations: 68.3 kB / 0.6437 GB, free: 8.016 MB / 494.1 MB 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.0002563/0.1781, allocations: 159.1 kB / 0.6438 GB, free: 7.848 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005246/0.1787, allocations: 168 kB / 0.644 GB, free: 7.684 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1787, allocations: 0 / 0.644 GB, free: 7.684 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.1789, allocations: 68.55 kB / 0.644 GB, free: 7.617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.1793, allocations: 23.97 kB / 0.6441 GB, free: 7.594 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004557/0.1797, allocations: 253.4 kB / 0.6443 GB, free: 7.324 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.18, allocations: 0.7044 MB / 0.645 GB, free: 6.594 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.645e-05/0.1801, allocations: 23.39 kB / 0.645 GB, free: 6.574 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.1802, allocations: 19.44 kB / 0.645 GB, free: 6.555 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1802, allocations: 0 / 0.645 GB, free: 6.555 MB / 494.1 MB Notification: Performance of Templates: time 0.005563/0.1857, allocations: 2.744 MB / 0.6477 GB, free: 3.836 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (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)