Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.455/2.455, allocations: 284.8 MB / 297.3 MB, free: 6.301 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001459, allocations: 172.9 kB / 365.7 MB, free: 2.586 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.1 MB / 0.6241 GB, free: 8.203 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 91.58 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.984e-05/2.993e-05, allocations: 0 / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7932/0.7933, allocations: 115.2 MB / 0.97 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2958/1.089, allocations: 139.3 MB / 1.106 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005686/1.09, allocations: 95.92 kB / 1.106 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01132/1.101, allocations: 1.507 MB / 1.108 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.156e-06/1.101, allocations: 0 / 1.108 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.278e-05/1.101, allocations: 192 / 1.108 GB, free: 11.56 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001078/1.102, allocations: 444.5 kB / 1.108 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.29e-05/1.102, allocations: 8.031 kB / 1.108 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/1.103, allocations: 14.3 kB / 1.108 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/1.103, allocations: 194.8 kB / 1.108 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/1.103, allocations: 4 kB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/1.103, allocations: 14 kB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/1.103, allocations: 73.61 kB / 1.108 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/1.103, allocations: 0 / 1.108 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/1.103, allocations: 2.297 kB / 1.108 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/1.104, allocations: 3.984 kB / 1.108 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/1.104, allocations: 36.72 kB / 1.108 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/1.105, allocations: 343.9 kB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/1.105, allocations: 43.33 kB / 1.109 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/1.105, allocations: 41.5 kB / 1.109 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/1.106, allocations: 1.25 kB / 1.109 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003413/1.106, allocations: 80.75 kB / 1.109 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 5.139e-06/1.106, allocations: 0 / 1.109 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0005873/1.106, allocations: 141.2 kB / 1.109 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.502e-05/1.107, allocations: 89.11 kB / 1.109 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/1.107, allocations: 114.7 kB / 1.109 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/1.107, allocations: 29.7 kB / 1.109 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/1.107, allocations: 100 kB / 1.109 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.556e-05/1.107, allocations: 25.28 kB / 1.109 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/1.107, allocations: 0 / 1.109 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001876/1.107, allocations: 318.8 kB / 1.11 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/1.108, allocations: 32 kB / 1.11 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/1.108, allocations: 31.98 kB / 1.11 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/1.108, allocations: 84.92 kB / 1.11 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.108, allocations: 0 / 1.11 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006227/1.109, allocations: 169 kB / 1.11 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.294e-05/1.109, allocations: 60.03 kB / 1.11 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.109, allocations: 0 / 1.11 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/1.109, allocations: 0 / 1.11 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/1.109, allocations: 27.91 kB / 1.11 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.5e-05/1.109, allocations: 7.953 kB / 1.11 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/1.11, allocations: 23.89 kB / 1.11 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/1.11, allocations: 4 kB / 1.11 GB, free: 8.805 MB / 0.7136 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 () * 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.0001833/1.11, allocations: 136.4 kB / 1.11 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/1.11, allocations: 11.89 kB / 1.11 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/1.11, allocations: 16.61 kB / 1.11 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/1.11, allocations: 0 / 1.11 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/1.11, allocations: 0 / 1.11 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/1.11, allocations: 7.953 kB / 1.11 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008452/1.111, allocations: 396.2 kB / 1.111 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.111, allocations: 3.984 kB / 1.111 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/1.111, allocations: 17.48 kB / 1.111 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/1.111, allocations: 0 / 1.111 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/1.111, allocations: 4 kB / 1.111 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/1.111, allocations: 3.953 kB / 1.111 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.111, allocations: 0 / 1.111 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/1.112, allocations: 229.1 kB / 1.111 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/1.112, allocations: 92.94 kB / 1.111 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/1.112, allocations: 0 / 1.111 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/1.113, allocations: 15.98 kB / 1.111 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/1.113, allocations: 31.86 kB / 1.111 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/1.113, allocations: 6.719 kB / 1.111 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00014/1.113, allocations: 105 kB / 1.111 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.62e-07/1.113, allocations: 0 / 1.111 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005541/1.114, allocations: 23.94 kB / 1.111 GB, free: 7.621 MB / 0.7136 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) * 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.0002396/1.114, allocations: 109 kB / 1.111 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005598/1.114, allocations: 182.8 kB / 1.111 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.114, allocations: 0 / 1.111 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002547/1.115, allocations: 99.31 kB / 1.111 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/1.115, allocations: 8 kB / 1.111 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/1.116, allocations: 131.6 kB / 1.112 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/1.116, allocations: 0.6965 MB / 1.112 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001585/1.117, allocations: 7.984 kB / 1.112 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.015e-05/1.117, allocations: 11.44 kB / 1.112 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of SimCode: time 1.603e-06/1.117, allocations: 4 kB / 1.112 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of Templates: time 0.00693/1.124, allocations: 1.105 MB / 1.113 GB, free: 5.242 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)