Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009003/0.0009003, allocations: 97.36 kB / 15.69 MB, free: 480 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.0009792/0.0009791, allocations: 178.1 kB / 16.57 MB, free: 6.398 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.304/1.304, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6955/0.6955, allocations: 113.8 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003248, allocations: 8 kB / 493 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1484, allocations: 77.16 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.002877/0.1513, allocations: 2.473 MB / 0.5593 GB, free: 9.129 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1527, allocations: 0.8306 MB / 0.5601 GB, free: 8.293 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.1529, allocations: 11.94 kB / 0.5601 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.533e-05/0.153, allocations: 35.58 kB / 0.5601 GB, free: 8.246 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.1533, allocations: 107.6 kB / 0.5602 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.1537, allocations: 163 kB / 0.5604 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003892/0.1541, allocations: 304 kB / 0.5607 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.1544, allocations: 145 kB / 0.5608 GB, free: 7.543 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.1546, allocations: 131.4 kB / 0.5609 GB, free: 7.414 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.1548, allocations: 131.2 kB / 0.561 GB, free: 7.285 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.1548, allocations: 12 kB / 0.5611 GB, free: 7.273 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.478e-05/0.1548, allocations: 12 kB / 0.5611 GB, free: 7.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.1549, allocations: 51.7 kB / 0.5611 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.155, allocations: 85.52 kB / 0.5612 GB, free: 7.121 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.1553, allocations: 391.2 kB / 0.5616 GB, free: 6.738 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.1553, allocations: 0 / 0.5616 GB, free: 6.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1553, allocations: 0 / 0.5616 GB, free: 6.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1553, allocations: 0 / 0.5616 GB, free: 6.738 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009491/0.1563, allocations: 0.6466 MB / 0.5622 GB, free: 6.043 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1563, allocations: 12.02 kB / 0.5622 GB, free: 6.031 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.157e-05/0.1564, allocations: 47.44 kB / 0.5623 GB, free: 5.984 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/0.1569, allocations: 379.3 kB / 0.5626 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.157, allocations: 20.66 kB / 0.5626 GB, free: 5.551 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.126e-05/0.157, allocations: 36 kB / 0.5627 GB, free: 5.516 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005499/0.1576, allocations: 337.1 kB / 0.563 GB, free: 5.156 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.1576, allocations: 3.953 kB / 0.563 GB, free: 5.152 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.1577, allocations: 16 kB / 0.563 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1577, allocations: 8 kB / 0.563 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004534/0.1581, allocations: 214.1 kB / 0.5632 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.1596, allocations: 1.198 MB / 0.5644 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.1601, allocations: 236.2 kB / 0.5646 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.1602, allocations: 8.188 kB / 0.5646 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1602, allocations: 38.73 kB / 0.5647 GB, free: 3.355 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.1602, allocations: 0 / 0.5647 GB, free: 3.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006396/0.1609, allocations: 294.6 kB / 0.565 GB, free: 3.066 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.1609, allocations: 110.8 kB / 0.5651 GB, free: 2.934 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.1613, allocations: 333.7 kB / 0.5654 GB, free: 2.605 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.1613, allocations: 29.7 kB / 0.5654 GB, free: 2.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.1614, allocations: 232 kB / 0.5656 GB, free: 2.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.677e-05/0.1615, allocations: 74.89 kB / 0.5657 GB, free: 2.266 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.374e-05/0.1615, allocations: 4 kB / 0.5657 GB, free: 2.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1617, allocations: 346.8 kB / 0.566 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.1618, allocations: 79.95 kB / 0.5661 GB, free: 1.836 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.1621, allocations: 139.7 kB / 0.5662 GB, free: 1.672 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1623, allocations: 95.45 kB / 0.5663 GB, free: 1.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1623, allocations: 7.938 kB / 0.5663 GB, free: 1.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004808/0.1628, allocations: 281.1 kB / 0.5666 GB, free: 1.293 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1628, allocations: 4 kB / 0.5666 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1628, allocations: 4 kB / 0.5666 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1628, allocations: 4 kB / 0.5666 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.163, allocations: 55.91 kB / 0.5667 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1631, allocations: 8 kB / 0.5667 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.1633, allocations: 47.78 kB / 0.5667 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.1633, allocations: 8 kB / 0.5667 GB, free: 1.164 MB / 430.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: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001587/0.1635, allocations: 157.8 kB / 0.5669 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.1635, allocations: 35.58 kB / 0.5669 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.75e-05/0.1636, allocations: 43.36 kB / 0.567 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1636, allocations: 3.938 kB / 0.567 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1637, allocations: 0 / 0.567 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1637, allocations: 3.984 kB / 0.567 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.1641, allocations: 397.2 kB / 0.5673 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1641, allocations: 0 / 0.5673 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.1643, allocations: 39.92 kB / 0.5674 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.1643, allocations: 7.953 kB / 0.5674 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.1644, allocations: 4 kB / 0.5674 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1644, allocations: 3.984 kB / 0.5674 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1644, allocations: 3.938 kB / 0.5674 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/0.165, allocations: 432.7 kB / 0.5678 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.1652, allocations: 124.7 kB / 0.5679 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.1652, allocations: 7.953 kB / 0.5679 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.1654, allocations: 24.03 kB / 0.568 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.1655, allocations: 27.91 kB / 0.568 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.1655, allocations: 4 kB / 0.568 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002295/0.1657, allocations: 235.2 kB / 0.5682 GB, free: 15.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1657, allocations: 0 / 0.5682 GB, free: 15.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.1661, allocations: 71.69 kB / 0.5683 GB, free: 15.48 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0001178/0.1662, allocations: 103.9 kB / 0.5684 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004295/0.1666, allocations: 207.7 kB / 0.5686 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1666, allocations: 0 / 0.5686 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.1668, allocations: 95.91 kB / 0.5687 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.1673, allocations: 71.45 kB / 0.5687 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.1685, allocations: 0.8312 MB / 0.5696 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1688, allocations: 0.807 MB / 0.5703 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.169, allocations: 34.95 kB / 0.5704 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.1691, allocations: 27.44 kB / 0.5704 GB, free: 13.25 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1691, allocations: 0 / 0.5704 GB, free: 13.25 MB / 446.1 MB Notification: Performance of Templates: time 0.006055/0.1751, allocations: 2.846 MB / 0.5732 GB, free: 10.44 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)