Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 95.88 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.001282/0.001282, allocations: 176.1 kB / 16.57 MB, free: 6.859 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.367/1.367, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.663/0.663, allocations: 113.8 MB / 405.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003251, allocations: 8 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1455, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003062/0.1486, allocations: 2.602 MB / 0.5594 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.15, allocations: 0.8887 MB / 0.5603 GB, free: 8.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.1502, allocations: 11.94 kB / 0.5603 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.724e-05/0.1503, allocations: 35.58 kB / 0.5603 GB, free: 8.066 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.1507, allocations: 111.7 kB / 0.5604 GB, free: 7.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.151, allocations: 177.4 kB / 0.5606 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.1514, allocations: 340.5 kB / 0.5609 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.1517, allocations: 175.7 kB / 0.5611 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.1519, allocations: 151.2 kB / 0.5612 GB, free: 7.129 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.1521, allocations: 151.1 kB / 0.5614 GB, free: 6.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.1521, allocations: 12 kB / 0.5614 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.012e-05/0.1522, allocations: 12 kB / 0.5614 GB, free: 6.957 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.1522, allocations: 63.69 kB / 0.5614 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.259e-05/0.1523, allocations: 105.4 kB / 0.5615 GB, free: 6.785 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.1527, allocations: 439.1 kB / 0.562 GB, free: 6.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1527, allocations: 3.938 kB / 0.562 GB, free: 6.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1527, allocations: 0 / 0.562 GB, free: 6.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.1527, allocations: 0 / 0.562 GB, free: 6.352 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0009937/0.1537, allocations: 0.6959 MB / 0.5626 GB, free: 5.605 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.1537, allocations: 8.031 kB / 0.5626 GB, free: 5.598 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.294e-05/0.1538, allocations: 55.34 kB / 0.5627 GB, free: 5.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005055/0.1543, allocations: 399.5 kB / 0.5631 GB, free: 5.113 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.1544, allocations: 29 kB / 0.5631 GB, free: 5.082 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.1544, allocations: 36 kB / 0.5631 GB, free: 5.047 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000598/0.155, allocations: 389.6 kB / 0.5635 GB, free: 4.648 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.1551, allocations: 11.89 kB / 0.5635 GB, free: 4.637 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.1551, allocations: 12 kB / 0.5635 GB, free: 4.625 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1551, allocations: 12 kB / 0.5635 GB, free: 4.613 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005284/0.1557, allocations: 263.9 kB / 0.5638 GB, free: 4.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.1574, allocations: 1.328 MB / 0.5651 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.158, allocations: 315.6 kB / 0.5654 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.1581, allocations: 4.5 kB / 0.5654 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003569/0.1585, allocations: 173.5 kB / 0.5656 GB, free: 2.449 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.1585, allocations: 0 / 0.5656 GB, free: 2.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007689/0.1592, allocations: 383.5 kB / 0.5659 GB, free: 2.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.1593, allocations: 89.06 kB / 0.566 GB, free: 1.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.1597, allocations: 345.6 kB / 0.5663 GB, free: 1.613 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.1597, allocations: 37.7 kB / 0.5664 GB, free: 1.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.1599, allocations: 236.9 kB / 0.5666 GB, free: 1.336 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.646e-05/0.16, allocations: 106.5 kB / 0.5667 GB, free: 1.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/0.16, allocations: 8 kB / 0.5667 GB, free: 1.223 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1601, allocations: 346.8 kB / 0.567 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.1604, allocations: 100.7 kB / 0.5671 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.1607, allocations: 168.6 kB / 0.5673 GB, free: 0.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.1609, allocations: 110.2 kB / 0.5674 GB, free: 488 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1609, allocations: 3.938 kB / 0.5674 GB, free: 484 kB / 430.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005866/0.1615, allocations: 354.9 kB / 0.5678 GB, free: 124 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1615, allocations: 4 kB / 0.5678 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1615, allocations: 4 kB / 0.5678 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1616, allocations: 4 kB / 0.5678 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.1618, allocations: 64.09 kB / 0.5678 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.1619, allocations: 11.92 kB / 0.5678 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.1621, allocations: 47.62 kB / 0.5679 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.1621, allocations: 16 kB / 0.5679 GB, free: 15.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001842/0.1623, allocations: 171.6 kB / 0.5681 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.1624, allocations: 43.53 kB / 0.5681 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.546e-05/0.1625, allocations: 40.25 kB / 0.5681 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.1625, allocations: 7.938 kB / 0.5681 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1625, allocations: 0 / 0.5681 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1625, allocations: 3.984 kB / 0.5682 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.1636, allocations: 0.83 MB / 0.569 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1636, allocations: 0 / 0.569 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.1638, allocations: 43.92 kB / 0.569 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1638, allocations: 0 / 0.569 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.1639, allocations: 11.98 kB / 0.569 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1639, allocations: 0 / 0.569 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1639, allocations: 3.953 kB / 0.569 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008201/0.1647, allocations: 0.5145 MB / 0.5695 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.1649, allocations: 140.6 kB / 0.5697 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.1649, allocations: 4 kB / 0.5697 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.1651, allocations: 19.98 kB / 0.5697 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.811e-05/0.1652, allocations: 35.97 kB / 0.5697 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.1652, allocations: 12 kB / 0.5697 GB, free: 14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002363/0.1655, allocations: 239.2 kB / 0.57 GB, free: 13.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1655, allocations: 0 / 0.57 GB, free: 13.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003534/0.1658, allocations: 87.69 kB / 0.57 GB, free: 13.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001172/0.166, allocations: 110.5 kB / 0.5701 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005431/0.1665, allocations: 272.2 kB / 0.5704 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1665, allocations: 0 / 0.5704 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.1668, allocations: 139.8 kB / 0.5705 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.1672, allocations: 69.89 kB / 0.5706 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.1687, allocations: 0.9758 MB / 0.5716 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.1691, allocations: 0.8191 MB / 0.5724 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.1692, allocations: 43.27 kB / 0.5724 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.12e-05/0.1693, allocations: 31.44 kB / 0.5724 GB, free: 11.18 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1693, allocations: 0 / 0.5724 GB, free: 11.18 MB / 446.1 MB Notification: Performance of Templates: time 0.006688/0.176, allocations: 3.241 MB / 0.5756 GB, free: 7.977 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)