Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.57/1.57, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001076/0.001076, allocations: 176.9 kB / 361.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0008276/0.0008277, allocations: 106.4 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.403e-05, allocations: 4 kB / 0.8517 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6471/0.6472, allocations: 115.3 MB / 0.9643 GB, free: 79.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.8474, allocations: 145 MB / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.8477, allocations: 80.48 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01912/0.8668, allocations: 7.468 MB / 1.113 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8669, allocations: 0 / 1.113 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.402e-05/0.8669, allocations: 12 kB / 1.113 GB, free: 3.305 MB / 0.7136 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.001001/0.8679, allocations: 0.6406 MB / 1.114 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.868, allocations: 8.031 kB / 1.114 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.8681, allocations: 56.38 kB / 1.114 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000561/0.8687, allocations: 411.6 kB / 1.114 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.8687, allocations: 12 kB / 1.114 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-05/0.8688, allocations: 24 kB / 1.114 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000466/0.8692, allocations: 233.5 kB / 1.115 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005642/0.8698, allocations: 338.5 kB / 1.115 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.8698, allocations: 7.938 kB / 1.115 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.8699, allocations: 0 / 1.115 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.8699, allocations: 8 kB / 1.115 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/0.8719, allocations: 1.287 MB / 1.116 GB, free: 140 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.8725, allocations: 299 kB / 1.117 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.8727, allocations: 116.8 kB / 1.117 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.8727, allocations: 4.484 kB / 1.117 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/0.873, allocations: 161.3 kB / 1.117 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.505e-06/0.8731, allocations: 0 / 1.117 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0005189/0.8736, allocations: 263 kB / 1.117 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.231e-05/0.8737, allocations: 132.5 kB / 1.117 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.874, allocations: 274.3 kB / 1.118 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.8741, allocations: 33.7 kB / 1.118 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.8743, allocations: 224.4 kB / 1.118 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.608e-05/0.8743, allocations: 94.56 kB / 1.118 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.8744, allocations: 0 / 1.118 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8745, allocations: 350.8 kB / 1.118 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.8747, allocations: 87.98 kB / 1.118 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.8749, allocations: 155.1 kB / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.8751, allocations: 101.5 kB / 1.119 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8751, allocations: 0 / 1.119 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004455/0.8755, allocations: 302.2 kB / 1.119 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.8755, allocations: 4 kB / 1.119 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.8756, allocations: 5.469 kB / 1.119 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.8756, allocations: 0 / 1.119 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.8759, allocations: 71.97 kB / 1.119 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.8759, allocations: 4 kB / 1.119 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.8761, allocations: 43.66 kB / 1.119 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.8762, allocations: 12 kB / 1.119 GB, free: 13.34 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 () * 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.0001166/0.8763, allocations: 121.1 kB / 1.119 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.8764, allocations: 39.62 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.382e-05/0.8765, allocations: 48.47 kB / 1.119 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.8765, allocations: 4 kB / 1.119 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.8765, allocations: 0 / 1.119 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.8765, allocations: 0 / 1.119 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009559/0.8775, allocations: 0.7493 MB / 1.12 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.8775, allocations: 3.953 kB / 1.12 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.8777, allocations: 55.91 kB / 1.12 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.8778, allocations: 5.688 kB / 1.12 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.8778, allocations: 3.984 kB / 1.12 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.8778, allocations: 0 / 1.12 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.8778, allocations: 7.438 kB / 1.12 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.8785, allocations: 491.1 kB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.8786, allocations: 140.6 kB / 1.121 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.8787, allocations: 64 / 1.121 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.8789, allocations: 27.97 kB / 1.121 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.879, allocations: 23.97 kB / 1.121 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.879, allocations: 15.98 kB / 1.121 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002186/0.8792, allocations: 208.6 kB / 1.121 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8793, allocations: 0 / 1.121 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003681/0.8796, allocations: 83.75 kB / 1.121 GB, free: 11.26 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) * 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.0001824/0.8798, allocations: 112.8 kB / 1.121 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004117/0.8802, allocations: 231.9 kB / 1.121 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8803, allocations: 0 / 1.121 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.8805, allocations: 127.9 kB / 1.121 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.8809, allocations: 61.42 kB / 1.121 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.8822, allocations: 0.5678 MB / 1.122 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.8826, allocations: 0.823 MB / 1.123 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000179/0.8828, allocations: 48.97 kB / 1.123 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.203e-05/0.8829, allocations: 27.44 kB / 1.123 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.8829, allocations: 0 / 1.123 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of Templates: time 0.007229/0.8901, allocations: 3.37 MB / 1.126 GB, free: 5.945 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)