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.001107/0.001107, allocations: 103.2 kB / 16.4 MB, free: 6.453 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.001075/0.001075, allocations: 196 kB / 17.34 MB, free: 5.719 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7239/0.7239, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.73 kB / 0.5577 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1427, allocations: 76.17 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00592/0.1486, allocations: 4.536 MB / 0.6365 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1497, allocations: 0.8147 MB / 0.6373 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.343e-05/0.1498, allocations: 0 / 0.6373 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.15, allocations: 35.77 kB / 0.6373 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.308e-05/0.1501, allocations: 27.66 kB / 0.6374 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.1506, allocations: 171.4 kB / 0.6375 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.1508, allocations: 187.3 kB / 0.6377 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.802e-05/0.1509, allocations: 9.125 kB / 0.6377 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.1511, allocations: 83.75 kB / 0.6378 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.1512, allocations: 79.73 kB / 0.6379 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.1513, allocations: 12 kB / 0.6379 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.1516, allocations: 155.7 kB / 0.638 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.387e-05/0.1516, allocations: 35.84 kB / 0.6381 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.671e-05/0.1517, allocations: 63.72 kB / 0.6381 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003359/0.1521, allocations: 243.3 kB / 0.6384 GB, free: 13.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1521, allocations: 0 / 0.6384 GB, free: 13.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1521, allocations: 0 / 0.6384 GB, free: 13.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.555e-06/0.1521, allocations: 0 / 0.6384 GB, free: 13.93 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.0008673/0.153, allocations: 482.9 kB / 0.6388 GB, free: 13.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.153, allocations: 12.03 kB / 0.6388 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.1531, allocations: 12.78 kB / 0.6388 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.1532, allocations: 190.1 kB / 0.639 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1532, allocations: 8.375 kB / 0.639 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.1533, allocations: 16.38 kB / 0.639 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.1536, allocations: 123.1 kB / 0.6392 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1536, allocations: 0 / 0.6392 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1536, allocations: 0 / 0.6392 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1536, allocations: 0 / 0.6392 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.154, allocations: 143.9 kB / 0.6393 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009723/0.155, allocations: 468.4 kB / 0.6397 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.1553, allocations: 130.5 kB / 0.6399 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.1555, allocations: 67.44 kB / 0.6399 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/0.1568, allocations: 0.9645 MB / 0.6409 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.1568, allocations: 34.56 kB / 0.6409 GB, free: 11.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.853e-06/0.1568, allocations: 4 kB / 0.6409 GB, free: 11.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006276/0.1575, allocations: 213.3 kB / 0.6411 GB, free: 10.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.1575, allocations: 55.41 kB / 0.6412 GB, free: 10.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.1577, allocations: 172.8 kB / 0.6413 GB, free: 10.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.1577, allocations: 25.7 kB / 0.6414 GB, free: 10.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.1578, allocations: 108.4 kB / 0.6415 GB, free: 10.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.1578, allocations: 31.47 kB / 0.6415 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.642e-05/0.1579, allocations: 57.62 kB / 0.6415 GB, free: 10.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.158, allocations: 322.8 kB / 0.6419 GB, free: 10 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.1582, allocations: 75.95 kB / 0.6419 GB, free: 9.926 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.1585, allocations: 110.9 kB / 0.642 GB, free: 9.809 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.1589, allocations: 173.2 kB / 0.6422 GB, free: 9.629 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1589, allocations: 0 / 0.6422 GB, free: 9.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005361/0.1594, allocations: 253.1 kB / 0.6424 GB, free: 9.375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1595, allocations: 8.094 kB / 0.6424 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.1595, allocations: 4 kB / 0.6425 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1595, allocations: 3.938 kB / 0.6425 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.1598, allocations: 51.95 kB / 0.6425 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1598, allocations: 11.88 kB / 0.6425 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.1599, allocations: 31.77 kB / 0.6425 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.16, allocations: 8 kB / 0.6426 GB, free: 9.258 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 9.269e-05/0.1601, allocations: 121.8 kB / 0.6427 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.1601, allocations: 15.81 kB / 0.6427 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004588/0.1606, allocations: 174.9 kB / 0.6429 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.1606, allocations: 7.938 kB / 0.6429 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1606, allocations: 0 / 0.6429 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1606, allocations: 3.984 kB / 0.6429 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.1608, allocations: 217.4 kB / 0.6431 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1608, allocations: 4 kB / 0.6431 GB, free: 8.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.161, allocations: 31.98 kB / 0.6431 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.161, allocations: 0 / 0.6431 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.161, allocations: 11.92 kB / 0.6431 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.161, allocations: 0 / 0.6431 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.161, allocations: 0 / 0.6431 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.1615, allocations: 259.2 kB / 0.6434 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.1616, allocations: 96.91 kB / 0.6435 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1616, allocations: 7.938 kB / 0.6435 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.1617, allocations: 11.98 kB / 0.6435 GB, free: 8.215 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.1618, allocations: 11.98 kB / 0.6435 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1618, allocations: 4 kB / 0.6435 GB, free: 8.199 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.801e-05/0.1619, allocations: 113.6 kB / 0.6436 GB, free: 8.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1619, allocations: 4 kB / 0.6436 GB, free: 8.086 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003395/0.1622, allocations: 68.3 kB / 0.6437 GB, free: 8.02 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.0003109/0.1625, allocations: 159.1 kB / 0.6438 GB, free: 7.852 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000503/0.1631, allocations: 159.8 kB / 0.644 GB, free: 7.695 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1631, allocations: 8 kB / 0.644 GB, free: 7.688 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.1633, allocations: 63.89 kB / 0.644 GB, free: 7.625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1637, allocations: 21.05 kB / 0.6441 GB, free: 7.605 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.1642, allocations: 257.2 kB / 0.6443 GB, free: 7.332 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.1645, allocations: 0.7045 MB / 0.645 GB, free: 6.602 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.627e-05/0.1646, allocations: 28.94 kB / 0.645 GB, free: 6.574 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.1646, allocations: 15.44 kB / 0.645 GB, free: 6.559 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1646, allocations: 4 kB / 0.645 GB, free: 6.555 MB / 494.1 MB Notification: Performance of Templates: time 0.005887/0.1705, allocations: 2.731 MB / 0.6477 GB, free: 3.852 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)