Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.694/1.694, allocations: 297.8 MB / 313.7 MB, free: 72 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009825/0.0009827, allocations: 185.9 kB / 384.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 223.2 MB / 0.6626 GB, free: 4.324 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009335/0.0009338, allocations: 93.45 kB / 0.7808 GB, free: 43.75 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004325/0.0004325, allocations: 14.09 kB / 0.9088 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7161/0.7166, allocations: 120.3 MB / 1.026 GB, free: 56.77 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2128/0.9294, allocations: 149.7 MB / 1.173 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.9298, allocations: 93.03 kB / 1.173 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0202/0.95, allocations: 7.554 MB / 1.18 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.994e-06/0.95, allocations: 0 / 1.18 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.802e-05/0.9501, allocations: 8 kB / 1.18 GB, free: 0.8516 MB / 0.7448 GB 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.001363/0.9514, allocations: 0.6956 MB / 1.181 GB, free: 108 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.9515, allocations: 15.97 kB / 1.181 GB, free: 92 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.9517, allocations: 56.28 kB / 1.181 GB, free: 36 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007613/0.9525, allocations: 412.7 kB / 1.181 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.9525, allocations: 29.38 kB / 1.181 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.9526, allocations: 36.38 kB / 1.181 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007851/0.9534, allocations: 431 kB / 1.182 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.9535, allocations: 3.938 kB / 1.182 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.9535, allocations: 23.03 kB / 1.182 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.9535, allocations: 8 kB / 1.182 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006537/0.9542, allocations: 295.8 kB / 1.182 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.9563, allocations: 1.367 MB / 1.183 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007825/0.9571, allocations: 370.7 kB / 1.184 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.9574, allocations: 146.1 kB / 1.184 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.9574, allocations: 7.938 kB / 1.184 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004144/0.9579, allocations: 191.4 kB / 1.184 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 3.095e-06/0.9579, allocations: 0 / 1.184 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.0009039/0.9588, allocations: 432.6 kB / 1.184 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/0.9589, allocations: 140.5 kB / 1.185 GB, free: 12 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.9593, allocations: 357.6 kB / 1.185 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.9594, allocations: 37.7 kB / 1.185 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.9596, allocations: 236.6 kB / 1.185 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.671e-05/0.9597, allocations: 102.6 kB / 1.185 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.9597, allocations: 8 kB / 1.185 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.9599, allocations: 350.8 kB / 1.186 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.9601, allocations: 108 kB / 1.186 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.9605, allocations: 191.1 kB / 1.186 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.961, allocations: 266.8 kB / 1.186 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.961, allocations: 3.984 kB / 1.186 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006777/0.9617, allocations: 373.8 kB / 1.186 GB, free: 9.934 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.9617, allocations: 8 kB / 1.186 GB, free: 9.926 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.9617, allocations: 0 / 1.186 GB, free: 9.926 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.9617, allocations: 4 kB / 1.186 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.962, allocations: 64.03 kB / 1.187 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.9621, allocations: 4 kB / 1.187 GB, free: 9.855 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.9623, allocations: 51.72 kB / 1.187 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.9624, allocations: 12 kB / 1.187 GB, free: 9.793 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.and3.u1,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 (43): * Single equations (assignments): 43 * 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.0002346/0.9626, allocations: 172.3 kB / 1.187 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.9627, allocations: 43.47 kB / 1.187 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.984e-05/0.9628, allocations: 48.23 kB / 1.187 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.9628, allocations: 7.938 kB / 1.187 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.9628, allocations: 0 / 1.187 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.9628, allocations: 0 / 1.187 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.9641, allocations: 0.8728 MB / 1.188 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.9641, allocations: 0 / 1.188 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.9643, allocations: 59.84 kB / 1.188 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.9644, allocations: 8.031 kB / 1.188 GB, free: 8.523 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.9644, allocations: 11.98 kB / 1.188 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.9644, allocations: 4 kB / 1.188 GB, free: 8.508 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9644, allocations: 4 kB / 1.188 GB, free: 8.504 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009377/0.9654, allocations: 0.5651 MB / 1.188 GB, free: 7.922 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.9656, allocations: 148.6 kB / 1.188 GB, free: 7.758 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.9656, allocations: 4 kB / 1.188 GB, free: 7.754 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.9659, allocations: 35.95 kB / 1.189 GB, free: 7.719 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.966, allocations: 27.95 kB / 1.189 GB, free: 7.691 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.966, allocations: 8 kB / 1.189 GB, free: 7.684 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003067/0.9663, allocations: 247.2 kB / 1.189 GB, free: 7.441 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9663, allocations: 0 / 1.189 GB, free: 7.441 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004091/0.9667, allocations: 87.78 kB / 1.189 GB, free: 7.355 MB / 0.7605 GB 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.and3.u1) * 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.0001896/0.9669, allocations: 120.7 kB / 1.189 GB, free: 7.23 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006061/0.9675, allocations: 292.3 kB / 1.189 GB, free: 6.945 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.9676, allocations: 4 kB / 1.189 GB, free: 6.941 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.9678, allocations: 152.1 kB / 1.189 GB, free: 6.793 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.9684, allocations: 73.52 kB / 1.189 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.9701, allocations: 0.9695 MB / 1.19 GB, free: 5.727 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.9706, allocations: 0.8152 MB / 1.191 GB, free: 4.883 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002406/0.9708, allocations: 47.25 kB / 1.191 GB, free: 4.836 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.51e-05/0.9709, allocations: 39.42 kB / 1.191 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of SimCode: time 4.198e-06/0.9709, allocations: 0 / 1.191 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of Templates: time 0.009735/0.9807, allocations: 3.783 MB / 1.195 GB, free: 1.082 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)