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.0009816/0.0009816, allocations: 94.27 kB / 15.7 MB, free: 448 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.001061/0.001061, allocations: 172.4 kB / 16.58 MB, free: 6.887 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.37/1.37, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7068/0.7068, allocations: 115.5 MB / 407.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 9.188 kB / 495.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1588, allocations: 77.53 MB / 0.5593 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003754/0.1626, allocations: 2.641 MB / 0.5619 GB, free: 6.734 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.1647, allocations: 0.9003 MB / 0.5628 GB, free: 5.828 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004176/0.1651, allocations: 19.94 kB / 0.5628 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.1654, allocations: 43.52 kB / 0.5628 GB, free: 5.766 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.1656, allocations: 67.42 kB / 0.5629 GB, free: 5.699 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005691/0.1662, allocations: 174.6 kB / 0.5631 GB, free: 5.535 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005204/0.1667, allocations: 487.8 kB / 0.5635 GB, free: 5.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003648/0.1671, allocations: 179.7 kB / 0.5637 GB, free: 4.879 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.1673, allocations: 147.1 kB / 0.5638 GB, free: 4.734 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.1675, allocations: 147.1 kB / 0.564 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.1676, allocations: 12 kB / 0.564 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.946e-05/0.1676, allocations: 16 kB / 0.564 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.748e-05/0.1677, allocations: 63.62 kB / 0.5641 GB, free: 4.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.687e-05/0.1678, allocations: 105.4 kB / 0.5642 GB, free: 4.391 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.1682, allocations: 439.1 kB / 0.5646 GB, free: 3.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1682, allocations: 0 / 0.5646 GB, free: 3.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1682, allocations: 4 kB / 0.5646 GB, free: 3.957 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1683, allocations: 0 / 0.5646 GB, free: 3.957 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.001065/0.1693, allocations: 0.6881 MB / 0.5653 GB, free: 3.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1694, allocations: 8.031 kB / 0.5653 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.151e-05/0.1695, allocations: 55.34 kB / 0.5653 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.1701, allocations: 395.6 kB / 0.5657 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.1701, allocations: 37 kB / 0.5657 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.1702, allocations: 36 kB / 0.5658 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006998/0.1709, allocations: 397.6 kB / 0.5662 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.1709, allocations: 3.953 kB / 0.5662 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.171, allocations: 20 kB / 0.5662 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.171, allocations: 8 kB / 0.5662 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005636/0.1715, allocations: 263.8 kB / 0.5664 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.1734, allocations: 1.32 MB / 0.5677 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006721/0.1741, allocations: 318.5 kB / 0.568 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.1743, allocations: 143 kB / 0.5682 GB, free: 104 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.1744, allocations: 8 kB / 0.5682 GB, free: 96 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004231/0.1748, allocations: 170 kB / 0.5683 GB, free: 15.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/0.1748, allocations: 0 / 0.5683 GB, free: 15.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.000865/0.1757, allocations: 395.4 kB / 0.5687 GB, free: 15.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.1758, allocations: 85.06 kB / 0.5688 GB, free: 15.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.1762, allocations: 349.6 kB / 0.5691 GB, free: 15.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.1762, allocations: 41.64 kB / 0.5692 GB, free: 15.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.1764, allocations: 233 kB / 0.5694 GB, free: 14.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.195e-05/0.1765, allocations: 102.5 kB / 0.5695 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/0.1765, allocations: 4 kB / 0.5695 GB, free: 14.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1767, allocations: 350.8 kB / 0.5698 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.177, allocations: 100.7 kB / 0.5699 GB, free: 14.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.1773, allocations: 165.4 kB / 0.5701 GB, free: 14.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.1775, allocations: 118.2 kB / 0.5702 GB, free: 13.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1775, allocations: 0 / 0.5702 GB, free: 13.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006284/0.1782, allocations: 354.9 kB / 0.5705 GB, free: 13.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1782, allocations: 4 kB / 0.5705 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1782, allocations: 4 kB / 0.5705 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1782, allocations: 3.984 kB / 0.5705 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.1785, allocations: 63.91 kB / 0.5706 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.1785, allocations: 7.953 kB / 0.5706 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.1788, allocations: 47.86 kB / 0.5707 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.1788, allocations: 19.94 kB / 0.5707 GB, free: 13.43 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.0002068/0.179, allocations: 169.7 kB / 0.5708 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.1791, allocations: 35.53 kB / 0.5709 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.856e-05/0.1792, allocations: 48.23 kB / 0.5709 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1792, allocations: 4 kB / 0.5709 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1792, allocations: 0 / 0.5709 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1792, allocations: 7.953 kB / 0.5709 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.1804, allocations: 0.8145 MB / 0.5717 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.1804, allocations: 0 / 0.5717 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.1807, allocations: 47.97 kB / 0.5718 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.1807, allocations: 4 kB / 0.5718 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.1807, allocations: 11.94 kB / 0.5718 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.1807, allocations: 3.953 kB / 0.5718 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1807, allocations: 0 / 0.5718 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008993/0.1816, allocations: 0.5106 MB / 0.5723 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.1818, allocations: 136.6 kB / 0.5724 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.1818, allocations: 8 kB / 0.5724 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.182, allocations: 23.97 kB / 0.5724 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.1821, allocations: 31.92 kB / 0.5725 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.1822, allocations: 15.98 kB / 0.5725 GB, free: 11.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000278/0.1824, allocations: 235.2 kB / 0.5727 GB, free: 11.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.794e-06/0.1824, allocations: 4.062 kB / 0.5727 GB, free: 11.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003746/0.1828, allocations: 91.62 kB / 0.5728 GB, free: 11.15 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.000122/0.183, allocations: 109.4 kB / 0.5729 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005649/0.1835, allocations: 268 kB / 0.5732 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1835, allocations: 4 kB / 0.5732 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.1838, allocations: 144.3 kB / 0.5733 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/0.1844, allocations: 75.19 kB / 0.5734 GB, free: 10.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.1858, allocations: 0.9656 MB / 0.5743 GB, free: 9.562 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1862, allocations: 0.8152 MB / 0.5751 GB, free: 8.719 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002481/0.1864, allocations: 47.27 kB / 0.5752 GB, free: 8.672 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.7e-05/0.1865, allocations: 27.44 kB / 0.5752 GB, free: 8.645 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1865, allocations: 0 / 0.5752 GB, free: 8.645 MB / 446.1 MB Notification: Performance of Templates: time 0.007386/0.1939, allocations: 3.248 MB / 0.5784 GB, free: 5.438 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)