Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 293 MB / 309 MB, free: 4.809 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009903/0.0009903, allocations: 176.3 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.4 MB / 0.6383 GB, free: 8.223 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009469/0.0009473, allocations: 92.95 kB / 0.7527 GB, free: 62.97 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004391/0.0004392, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2829, allocations: 116.4 MB / 0.9904 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8095/1.093, allocations: 146.9 MB / 1.134 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/1.093, allocations: 78.48 kB / 1.134 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03208/1.125, allocations: 7.58 MB / 1.141 GB, free: 23.42 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.285e-06/1.125, allocations: 0 / 1.141 GB, free: 23.42 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.133e-05/1.125, allocations: 8 kB / 1.141 GB, free: 23.41 MB / 0.7292 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.001504/1.127, allocations: 0.7076 MB / 1.142 GB, free: 22.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.127, allocations: 12.03 kB / 1.142 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/1.127, allocations: 53.17 kB / 1.142 GB, free: 22.65 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007624/1.128, allocations: 408 kB / 1.142 GB, free: 22.26 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/1.128, allocations: 31.05 kB / 1.143 GB, free: 22.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.314e-05/1.128, allocations: 36.38 kB / 1.143 GB, free: 22.19 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/1.129, allocations: 428.5 kB / 1.143 GB, free: 21.81 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/1.129, allocations: 8.922 kB / 1.143 GB, free: 21.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.446e-05/1.129, allocations: 16 kB / 1.143 GB, free: 21.79 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/1.129, allocations: 9.312 kB / 1.143 GB, free: 21.78 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009378/1.13, allocations: 299.4 kB / 1.143 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002803/1.133, allocations: 1.366 MB / 1.145 GB, free: 20.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/1.134, allocations: 359.9 kB / 1.145 GB, free: 19.97 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/1.134, allocations: 147.2 kB / 1.145 GB, free: 19.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.454e-05/1.134, allocations: 5.141 kB / 1.145 GB, free: 19.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006226/1.135, allocations: 201.6 kB / 1.145 GB, free: 19.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 3.777e-06/1.135, allocations: 224 / 1.145 GB, free: 19.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.001218/1.136, allocations: 434.8 kB / 1.146 GB, free: 19.26 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/1.136, allocations: 145.6 kB / 1.146 GB, free: 19.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005568/1.137, allocations: 353.6 kB / 1.146 GB, free: 18.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.904e-05/1.137, allocations: 34.31 kB / 1.146 GB, free: 18.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/1.137, allocations: 234.7 kB / 1.146 GB, free: 18.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/1.137, allocations: 103.4 kB / 1.147 GB, free: 18.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/1.137, allocations: 4 kB / 1.147 GB, free: 18.42 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.138, allocations: 351.4 kB / 1.147 GB, free: 18.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/1.138, allocations: 113.4 kB / 1.147 GB, free: 17.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/1.138, allocations: 195.9 kB / 1.147 GB, free: 17.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007233/1.139, allocations: 273.3 kB / 1.147 GB, free: 17.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.139, allocations: 0 / 1.147 GB, free: 17.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001003/1.14, allocations: 370.9 kB / 1.148 GB, free: 17.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.14, allocations: 4.625 kB / 1.148 GB, free: 17.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.14, allocations: 5.688 kB / 1.148 GB, free: 17.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.14, allocations: 0 / 1.148 GB, free: 17.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/1.141, allocations: 74.56 kB / 1.148 GB, free: 17.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/1.141, allocations: 4 kB / 1.148 GB, free: 17.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/1.141, allocations: 53.73 kB / 1.148 GB, free: 17.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/1.141, allocations: 8.609 kB / 1.148 GB, free: 17.05 MB / 0.7292 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.0003041/1.141, allocations: 183 kB / 1.148 GB, free: 16.87 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-05/1.142, allocations: 44.08 kB / 1.148 GB, free: 16.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/1.142, allocations: 40.95 kB / 1.148 GB, free: 16.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/1.142, allocations: 4.562 kB / 1.148 GB, free: 16.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.142, allocations: 1.203 kB / 1.148 GB, free: 16.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/1.142, allocations: 1.312 kB / 1.148 GB, free: 16.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/1.144, allocations: 0.8739 MB / 1.149 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/1.144, allocations: 1.328 kB / 1.149 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/1.144, allocations: 51.2 kB / 1.149 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/1.144, allocations: 1.219 kB / 1.149 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/1.144, allocations: 13.22 kB / 1.149 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/1.144, allocations: 1.109 kB / 1.149 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.144, allocations: 0 / 1.149 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/1.145, allocations: 0.5735 MB / 1.15 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/1.146, allocations: 143.2 kB / 1.15 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.864e-05/1.146, allocations: 9.594 kB / 1.15 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/1.146, allocations: 35.2 kB / 1.15 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/1.146, allocations: 30.89 kB / 1.15 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/1.146, allocations: 9.172 kB / 1.15 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004426/1.147, allocations: 251.2 kB / 1.15 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.71e-07/1.147, allocations: 0 / 1.15 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006337/1.147, allocations: 84.44 kB / 1.15 GB, free: 14.87 MB / 0.7292 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.0001716/1.148, allocations: 112.5 kB / 1.15 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008317/1.148, allocations: 292.8 kB / 1.151 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.148, allocations: 0 / 1.151 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004086/1.149, allocations: 163.5 kB / 1.151 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008551/1.15, allocations: 72.64 kB / 1.151 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/1.152, allocations: 0.9794 MB / 1.152 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/1.152, allocations: 0.815 MB / 1.153 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003512/1.153, allocations: 48.7 kB / 1.153 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/1.153, allocations: 32.7 kB / 1.153 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of SimCode: time 7.32e-07/1.153, allocations: 0 / 1.153 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of Templates: time 0.01287/1.166, allocations: 3.771 MB / 1.156 GB, free: 10.43 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)