Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.738/1.738, allocations: 297.8 MB / 313.7 MB, free: 64 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.001167/0.001167, allocations: 184.5 kB / 384.6 MB, free: 10.77 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.557/1.557, allocations: 223.2 MB / 0.6626 GB, free: 4.223 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.0008136/0.0008136, allocations: 92.23 kB / 0.7808 GB, free: 50.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004868, allocations: 12 kB / 0.9088 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8821/0.8826, allocations: 120.3 MB / 1.026 GB, free: 55.82 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2325/1.115, allocations: 142.7 MB / 1.166 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003725/1.116, allocations: 94.3 kB / 1.166 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005514/1.121, allocations: 1.563 MB / 1.167 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.765e-06/1.121, allocations: 0.5938 kB / 1.167 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.329e-05/1.121, allocations: 7.125 kB / 1.167 GB, free: 15.79 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007286/1.122, allocations: 444.7 kB / 1.168 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.122, allocations: 8.031 kB / 1.168 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/1.122, allocations: 14.39 kB / 1.168 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/1.122, allocations: 192.5 kB / 1.168 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/1.122, allocations: 1.516 kB / 1.168 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/1.122, allocations: 5.5 kB / 1.168 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/1.123, allocations: 104.2 kB / 1.168 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.123, allocations: 192 / 1.168 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/1.123, allocations: 9.703 kB / 1.168 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/1.123, allocations: 0 / 1.168 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/1.123, allocations: 93.08 kB / 1.168 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006808/1.124, allocations: 343.4 kB / 1.168 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/1.124, allocations: 98.2 kB / 1.169 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/1.124, allocations: 64.42 kB / 1.169 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/1.124, allocations: 0.6562 kB / 1.169 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/1.125, allocations: 113.1 kB / 1.169 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 3.136e-06/1.125, allocations: 0 / 1.169 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0006774/1.125, allocations: 234 kB / 1.169 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/1.125, allocations: 83.08 kB / 1.169 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/1.126, allocations: 136.1 kB / 1.169 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/1.126, allocations: 30.42 kB / 1.169 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.586e-05/1.126, allocations: 94.58 kB / 1.169 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/1.126, allocations: 22.2 kB / 1.169 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/1.126, allocations: 0 / 1.169 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.126, allocations: 326.2 kB / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/1.126, allocations: 57.17 kB / 1.17 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/1.126, allocations: 55.8 kB / 1.17 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/1.127, allocations: 187.2 kB / 1.17 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.127, allocations: 0.7969 kB / 1.17 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004724/1.127, allocations: 229.5 kB / 1.17 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.754e-05/1.127, allocations: 57.28 kB / 1.17 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.127, allocations: 0 / 1.17 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/1.127, allocations: 8.453 kB / 1.17 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/1.127, allocations: 22.05 kB / 1.17 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/1.127, allocations: 0 / 1.17 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/1.128, allocations: 33.38 kB / 1.17 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/1.128, allocations: 4 kB / 1.17 GB, free: 12.8 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001358/1.128, allocations: 150.8 kB / 1.17 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/1.128, allocations: 7.906 kB / 1.17 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/1.128, allocations: 12.52 kB / 1.17 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.128, allocations: 0 / 1.17 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.128, allocations: 0 / 1.17 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.128, allocations: 4.891 kB / 1.17 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/1.129, allocations: 458.5 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.129, allocations: 0 / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.591e-05/1.129, allocations: 25.36 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/1.129, allocations: 0.6562 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/1.129, allocations: 0.6562 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.129, allocations: 0 / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.129, allocations: 0.6094 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/1.129, allocations: 280.8 kB / 1.171 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.912e-05/1.129, allocations: 81.86 kB / 1.171 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/1.129, allocations: 8 kB / 1.171 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/1.13, allocations: 18.36 kB / 1.171 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.13, allocations: 28.61 kB / 1.171 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/1.13, allocations: 4.75 kB / 1.171 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001001/1.13, allocations: 105.5 kB / 1.171 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.91e-07/1.13, allocations: 0 / 1.171 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002563/1.13, allocations: 20.7 kB / 1.171 GB, free: 11.61 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001895/1.13, allocations: 108.5 kB / 1.171 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005272/1.131, allocations: 237.8 kB / 1.172 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.131, allocations: 0 / 1.172 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/1.131, allocations: 118.7 kB / 1.172 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/1.131, allocations: 14.16 kB / 1.172 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007369/1.132, allocations: 222.5 kB / 1.172 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/1.133, allocations: 0.6973 MB / 1.173 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.482e-05/1.133, allocations: 7.703 kB / 1.173 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/1.133, allocations: 11.95 kB / 1.173 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/1.133, allocations: 0 / 1.173 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.00591/1.139, allocations: 1.108 MB / 1.174 GB, free: 9.582 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)