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.00138/0.00138, allocations: 96.66 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 177 kB / 16.57 MB, free: 6.391 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.31/1.31, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6458/0.6458, allocations: 113.8 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003016, allocations: 12.94 kB / 493.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 77.15 MB / 0.5568 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004226/0.138, allocations: 3.84 MB / 0.5606 GB, free: 7.707 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000859/0.1389, allocations: 0.7064 MB / 0.5613 GB, free: 6.996 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.1389, allocations: 0 / 0.5613 GB, free: 6.996 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.139, allocations: 15.91 kB / 0.5613 GB, free: 6.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.298e-05/0.1391, allocations: 39.8 kB / 0.5613 GB, free: 6.941 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.1395, allocations: 135.7 kB / 0.5615 GB, free: 6.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.1396, allocations: 103.8 kB / 0.5616 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.243e-05/0.1397, allocations: 17.09 kB / 0.5616 GB, free: 6.691 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.1399, allocations: 75.75 kB / 0.5617 GB, free: 6.617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.911e-05/0.14, allocations: 71.73 kB / 0.5617 GB, free: 6.547 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.14, allocations: 8 kB / 0.5617 GB, free: 6.539 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.1403, allocations: 119.8 kB / 0.5618 GB, free: 6.422 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.1403, allocations: 27.89 kB / 0.5619 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.1403, allocations: 49.64 kB / 0.5619 GB, free: 6.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.1406, allocations: 155.8 kB / 0.5621 GB, free: 6.188 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.1406, allocations: 0 / 0.5621 GB, free: 6.188 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1406, allocations: 0 / 0.5621 GB, free: 6.188 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1406, allocations: 4 kB / 0.5621 GB, free: 6.184 MB / 430.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.0007532/0.1414, allocations: 466.8 kB / 0.5625 GB, free: 5.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1414, allocations: 16.03 kB / 0.5625 GB, free: 5.664 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.1414, allocations: 11.81 kB / 0.5625 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1416, allocations: 178.9 kB / 0.5627 GB, free: 5.438 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1416, allocations: 11.94 kB / 0.5627 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.1416, allocations: 11.98 kB / 0.5627 GB, free: 5.414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.1419, allocations: 133.5 kB / 0.5629 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.142, allocations: 0 / 0.5629 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.142, allocations: 4 kB / 0.5629 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.142, allocations: 0 / 0.5629 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/0.1424, allocations: 163.9 kB / 0.563 GB, free: 5.113 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.1436, allocations: 476.4 kB / 0.5635 GB, free: 4.598 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.1441, allocations: 138.5 kB / 0.5636 GB, free: 4.453 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001947/0.146, allocations: 0.9647 MB / 0.5646 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1461, allocations: 34.52 kB / 0.5646 GB, free: 3.309 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 2.064e-06/0.1461, allocations: 0 / 0.5646 GB, free: 3.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001064/0.1472, allocations: 243.3 kB / 0.5648 GB, free: 3.066 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.1472, allocations: 55.41 kB / 0.5649 GB, free: 3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.1474, allocations: 165.6 kB / 0.565 GB, free: 2.832 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.1475, allocations: 29.7 kB / 0.5651 GB, free: 2.797 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.344e-05/0.1476, allocations: 108.3 kB / 0.5652 GB, free: 2.688 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.1477, allocations: 39.45 kB / 0.5652 GB, free: 2.648 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.1477, allocations: 7.938 kB / 0.5652 GB, free: 2.641 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1478, allocations: 326.8 kB / 0.5655 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.1482, allocations: 83.94 kB / 0.5656 GB, free: 2.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004241/0.1487, allocations: 131 kB / 0.5657 GB, free: 2.094 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.149, allocations: 90.61 kB / 0.5658 GB, free: 2.008 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1491, allocations: 0 / 0.5658 GB, free: 2.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009263/0.15, allocations: 265.2 kB / 0.5661 GB, free: 1.742 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.15, allocations: 10.5 kB / 0.5661 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1501, allocations: 3.953 kB / 0.5661 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1501, allocations: 0 / 0.5661 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.1505, allocations: 59.91 kB / 0.5661 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.1505, allocations: 0 / 0.5661 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.1508, allocations: 47.75 kB / 0.5662 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.1509, allocations: 12 kB / 0.5662 GB, free: 1.613 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.151, allocations: 117.8 kB / 0.5663 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.1511, allocations: 19.75 kB / 0.5663 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007576/0.1518, allocations: 195 kB / 0.5665 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.1519, allocations: 7.953 kB / 0.5665 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1519, allocations: 3.938 kB / 0.5665 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1519, allocations: 3.938 kB / 0.5665 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.1523, allocations: 205.6 kB / 0.5667 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1523, allocations: 4 kB / 0.5667 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.1525, allocations: 35.97 kB / 0.5668 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.1525, allocations: 0 / 0.5668 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.1526, allocations: 8 kB / 0.5668 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1526, allocations: 3.938 kB / 0.5668 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1526, allocations: 7.953 kB / 0.5668 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007177/0.1533, allocations: 282.8 kB / 0.567 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.1534, allocations: 96.91 kB / 0.5671 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.1535, allocations: 4 kB / 0.5671 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.1537, allocations: 15.98 kB / 0.5672 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.1538, allocations: 23.94 kB / 0.5672 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1538, allocations: 3.938 kB / 0.5672 GB, free: 0.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.154, allocations: 113.8 kB / 0.5673 GB, free: 400 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.154, allocations: 0 / 0.5673 GB, free: 400 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005976/0.1546, allocations: 64.05 kB / 0.5674 GB, free: 336 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003711/0.155, allocations: 167.8 kB / 0.5675 GB, free: 156 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000802/0.1558, allocations: 187.3 kB / 0.5677 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1558, allocations: 0 / 0.5677 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.1561, allocations: 83.89 kB / 0.5678 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.1565, allocations: 15.98 kB / 0.5678 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007505/0.1573, allocations: 357.6 kB / 0.5681 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.1577, allocations: 0.7126 MB / 0.5688 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.1579, allocations: 13.08 kB / 0.5688 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.158, allocations: 19.38 kB / 0.5689 GB, free: 14.73 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.158, allocations: 4 kB / 0.5689 GB, free: 14.73 MB / 446.1 MB Notification: Performance of Templates: time 0.008317/0.1663, allocations: 2.458 MB / 0.5713 GB, free: 12.3 MB / 446.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)