Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.516/2.516, allocations: 287.5 MB / 303.2 MB, free: 8.277 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.001428/0.001428, allocations: 178.1 kB / 371.8 MB, free: 10.84 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.056/2.056, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009338/0.0009338, allocations: 110.1 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006695/0.0006697, allocations: 11.83 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2092, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8847/1.094, allocations: 139.4 MB / 1.115 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/1.094, allocations: 94.33 kB / 1.116 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007198/1.102, allocations: 1.527 MB / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/1.102, allocations: 4.062 kB / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.654e-05/1.102, allocations: 0 / 1.117 GB, free: 31.36 MB / 0.698 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.0007927/1.102, allocations: 449.4 kB / 1.117 GB, free: 30.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.103, allocations: 11.69 kB / 1.117 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/1.103, allocations: 8.688 kB / 1.117 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/1.103, allocations: 189.5 kB / 1.118 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/1.103, allocations: 384 / 1.118 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/1.103, allocations: 4.25 kB / 1.118 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/1.103, allocations: 105.7 kB / 1.118 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.103, allocations: 4.188 kB / 1.118 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/1.103, allocations: 7.062 kB / 1.118 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/1.103, allocations: 0 / 1.118 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/1.104, allocations: 85.86 kB / 1.118 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007748/1.105, allocations: 349.2 kB / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/1.105, allocations: 96.8 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/1.105, allocations: 61.06 kB / 1.118 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/1.105, allocations: 4 kB / 1.118 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003969/1.106, allocations: 108.1 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 3.506e-06/1.106, allocations: 3.938 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000996/1.107, allocations: 238.8 kB / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/1.107, allocations: 84.36 kB / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/1.107, allocations: 135.9 kB / 1.119 GB, free: 30.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/1.107, allocations: 25.7 kB / 1.119 GB, free: 29.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/1.107, allocations: 101.5 kB / 1.119 GB, free: 29.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/1.107, allocations: 15.06 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/1.107, allocations: 0 / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.107, allocations: 327.2 kB / 1.119 GB, free: 29.58 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/1.108, allocations: 55.73 kB / 1.119 GB, free: 29.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/1.108, allocations: 56.19 kB / 1.119 GB, free: 29.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005286/1.109, allocations: 187.1 kB / 1.12 GB, free: 29.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.109, allocations: 0 / 1.12 GB, free: 29.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006986/1.109, allocations: 226.4 kB / 1.12 GB, free: 29.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.383e-05/1.109, allocations: 63.66 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/1.109, allocations: 0 / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/1.109, allocations: 3.812 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/1.11, allocations: 17.31 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/1.11, allocations: 0 / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/1.11, allocations: 22.56 kB / 1.12 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/1.11, allocations: 10.45 kB / 1.12 GB, free: 29.29 MB / 0.698 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.0001864/1.11, allocations: 151.3 kB / 1.12 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/1.11, allocations: 7.781 kB / 1.12 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.93e-05/1.11, allocations: 14.92 kB / 1.12 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.11, allocations: 7.922 kB / 1.12 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.11, allocations: 0.5 kB / 1.12 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.11, allocations: 7.938 kB / 1.12 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008653/1.111, allocations: 456.1 kB / 1.121 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.111, allocations: 0 / 1.121 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/1.111, allocations: 27.97 kB / 1.121 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/1.111, allocations: 0 / 1.121 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/1.111, allocations: 3.812 kB / 1.121 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.111, allocations: 0.5469 kB / 1.121 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.111, allocations: 0 / 1.121 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006901/1.112, allocations: 291.8 kB / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/1.112, allocations: 81.08 kB / 1.121 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/1.112, allocations: 3.562 kB / 1.121 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/1.112, allocations: 21.86 kB / 1.121 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/1.113, allocations: 27.06 kB / 1.121 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/1.113, allocations: 3.188 kB / 1.121 GB, free: 28.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.36e-05/1.113, allocations: 103.2 kB / 1.121 GB, free: 28.42 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.113, allocations: 0 / 1.121 GB, free: 28.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000349/1.113, allocations: 19.47 kB / 1.121 GB, free: 28.41 MB / 0.698 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.0001626/1.113, allocations: 114.4 kB / 1.121 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007128/1.114, allocations: 236.2 kB / 1.121 GB, free: 28.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.114, allocations: 0 / 1.121 GB, free: 28.19 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003339/1.114, allocations: 117.2 kB / 1.122 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/1.115, allocations: 13.83 kB / 1.122 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007028/1.116, allocations: 220 kB / 1.122 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/1.116, allocations: 0.6961 MB / 1.122 GB, free: 27.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001052/1.116, allocations: 10.75 kB / 1.122 GB, free: 27.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/1.116, allocations: 14.06 kB / 1.122 GB, free: 27.27 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/1.116, allocations: 0 / 1.122 GB, free: 27.27 MB / 0.698 GB Notification: Performance of Templates: time 0.004724/1.121, allocations: 1.093 MB / 1.124 GB, free: 27.2 MB / 0.698 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)