Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.667/1.667, allocations: 293 MB / 309 MB, free: 4.836 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.0009649/0.000965, allocations: 175.3 kB / 378.7 MB, free: 1.016 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.488/1.488, allocations: 205.4 MB / 0.6383 GB, free: 8.203 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.0007339/0.0007341, allocations: 84.28 kB / 0.7527 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.000402, allocations: 12 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2834, allocations: 116.4 MB / 0.9904 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7643/1.048, allocations: 140.6 MB / 1.128 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.048, allocations: 95.72 kB / 1.128 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004261/1.052, allocations: 1.536 MB / 1.129 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.244e-06/1.052, allocations: 0 / 1.129 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.666e-06/1.052, allocations: 0 / 1.129 GB, free: 32.23 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005015/1.053, allocations: 445.8 kB / 1.13 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.053, allocations: 8.031 kB / 1.13 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/1.053, allocations: 8.844 kB / 1.13 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/1.053, allocations: 195.8 kB / 1.13 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/1.053, allocations: 4.375 kB / 1.13 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/1.053, allocations: 8.375 kB / 1.13 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/1.053, allocations: 103.8 kB / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.053, allocations: 192 / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/1.054, allocations: 4.688 kB / 1.13 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/1.054, allocations: 4 kB / 1.13 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/1.054, allocations: 90.08 kB / 1.13 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/1.054, allocations: 346.7 kB / 1.131 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/1.055, allocations: 104.1 kB / 1.131 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/1.055, allocations: 59.39 kB / 1.131 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/1.055, allocations: 4 kB / 1.131 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/1.055, allocations: 104.7 kB / 1.131 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/1.055, allocations: 8.75 kB / 1.131 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0005761/1.056, allocations: 234 kB / 1.131 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/1.056, allocations: 81.11 kB / 1.131 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.497e-05/1.056, allocations: 126.3 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/1.056, allocations: 37.22 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/1.056, allocations: 99.98 kB / 1.131 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/1.056, allocations: 15.28 kB / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/1.056, allocations: 4 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.75e-05/1.056, allocations: 323.3 kB / 1.132 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/1.056, allocations: 54.45 kB / 1.132 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/1.056, allocations: 55.25 kB / 1.132 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/1.056, allocations: 187.5 kB / 1.132 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.057, allocations: 0 / 1.132 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003575/1.057, allocations: 225.6 kB / 1.132 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/1.057, allocations: 63.97 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.057, allocations: 0 / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/1.057, allocations: 0 / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/1.057, allocations: 31.02 kB / 1.132 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/1.057, allocations: 0 / 1.132 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/1.057, allocations: 19.42 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/1.057, allocations: 2.141 kB / 1.132 GB, free: 29.21 MB / 0.7292 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 8.342e-05/1.057, allocations: 159 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/1.057, allocations: 7.906 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/1.057, allocations: 16.72 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.057, allocations: 3.938 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.057, allocations: 0 / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/1.057, allocations: 4.688 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/1.058, allocations: 457.4 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.058, allocations: 0.5625 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.608e-05/1.058, allocations: 19.08 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/1.058, allocations: 1.312 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/1.058, allocations: 4.562 kB / 1.133 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.058, allocations: 0 / 1.133 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.058, allocations: 0 / 1.133 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/1.058, allocations: 285.7 kB / 1.133 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/1.058, allocations: 81.11 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/1.058, allocations: 4.562 kB / 1.133 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/1.059, allocations: 22.84 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/1.059, allocations: 27.56 kB / 1.133 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/1.059, allocations: 8 kB / 1.133 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.069e-05/1.059, allocations: 100.8 kB / 1.133 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.21e-07/1.059, allocations: 0 / 1.133 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002217/1.059, allocations: 23.91 kB / 1.133 GB, free: 28 MB / 0.7292 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.0001095/1.059, allocations: 103.2 kB / 1.134 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003917/1.06, allocations: 240.3 kB / 1.134 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.06, allocations: 4 kB / 1.134 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/1.06, allocations: 117.9 kB / 1.134 GB, free: 27.53 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/1.06, allocations: 9.688 kB / 1.134 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004422/1.06, allocations: 222.5 kB / 1.134 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/1.061, allocations: 0.6913 MB / 1.135 GB, free: 26.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.612e-05/1.061, allocations: 12.83 kB / 1.135 GB, free: 26.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/1.061, allocations: 20.66 kB / 1.135 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.061, allocations: 0 / 1.135 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.003307/1.064, allocations: 1.105 MB / 1.136 GB, free: 25.96 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)