Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.757/1.757, allocations: 288.3 MB / 303.2 MB, free: 8.332 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.001658/0.001657, allocations: 178 kB / 371.8 MB, free: 10.26 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.016/2.016, allocations: 205.4 MB / 0.6306 GB, free: 9.973 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.00105/0.00105, allocations: 105.3 kB / 0.7439 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004332/0.0004332, allocations: 11.91 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2612, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9191/1.18, allocations: 139.6 MB / 1.116 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/1.181, allocations: 93.14 kB / 1.116 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005009/1.186, allocations: 1.523 MB / 1.117 GB, free: 31.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/1.186, allocations: 0 / 1.117 GB, free: 31.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.208e-05/1.186, allocations: 0 / 1.117 GB, free: 31.93 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.0006953/1.186, allocations: 440.1 kB / 1.118 GB, free: 31.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.187, allocations: 17.45 kB / 1.118 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/1.187, allocations: 11.62 kB / 1.118 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/1.187, allocations: 193.2 kB / 1.118 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/1.187, allocations: 7.781 kB / 1.118 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/1.187, allocations: 3.656 kB / 1.118 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/1.187, allocations: 97.73 kB / 1.118 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.187, allocations: 4 kB / 1.118 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/1.187, allocations: 3.938 kB / 1.118 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/1.187, allocations: 3.812 kB / 1.118 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/1.188, allocations: 83.73 kB / 1.118 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006838/1.188, allocations: 346.6 kB / 1.118 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/1.189, allocations: 96.14 kB / 1.119 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/1.189, allocations: 0 / 1.119 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/1.189, allocations: 119.3 kB / 1.119 GB, free: 30.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.013e-06/1.189, allocations: 0 / 1.119 GB, free: 30.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006689/1.19, allocations: 231.2 kB / 1.119 GB, free: 30.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/1.19, allocations: 82 kB / 1.119 GB, free: 30.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/1.19, allocations: 124.8 kB / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/1.19, allocations: 29.58 kB / 1.119 GB, free: 30.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.103e-05/1.19, allocations: 102.4 kB / 1.119 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/1.19, allocations: 15.38 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/1.19, allocations: 3.875 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.19, allocations: 317.8 kB / 1.12 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/1.19, allocations: 53.17 kB / 1.12 GB, free: 30.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/1.191, allocations: 64.48 kB / 1.12 GB, free: 30.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/1.191, allocations: 111.2 kB / 1.12 GB, free: 30.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.191, allocations: 0 / 1.12 GB, free: 30.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004201/1.191, allocations: 226.8 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.807e-05/1.191, allocations: 59.56 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.191, allocations: 3.875 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.191, allocations: 0 / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/1.191, allocations: 18.25 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.191, allocations: 10.81 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/1.192, allocations: 22.55 kB / 1.12 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/1.192, allocations: 3.812 kB / 1.12 GB, free: 29.92 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.000132/1.192, allocations: 146.4 kB / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/1.192, allocations: 11.69 kB / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/1.192, allocations: 15.22 kB / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/1.192, allocations: 11.92 kB / 1.12 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.192, allocations: 0 / 1.12 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.192, allocations: 0 / 1.12 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005968/1.192, allocations: 455.5 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.192, allocations: 0 / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/1.193, allocations: 14.55 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/1.193, allocations: 0 / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/1.193, allocations: 7.75 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.193, allocations: 3.094 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/1.193, allocations: 0 / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/1.193, allocations: 291.5 kB / 1.121 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/1.193, allocations: 84.89 kB / 1.121 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/1.193, allocations: 3.938 kB / 1.121 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/1.193, allocations: 25.03 kB / 1.121 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/1.193, allocations: 19.5 kB / 1.121 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/1.193, allocations: 3.875 kB / 1.121 GB, free: 29.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001049/1.194, allocations: 105 kB / 1.121 GB, free: 29.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/1.194, allocations: 0 / 1.121 GB, free: 29.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002441/1.194, allocations: 19.25 kB / 1.121 GB, free: 29.06 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.0001923/1.194, allocations: 117 kB / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004738/1.195, allocations: 238.3 kB / 1.122 GB, free: 28.83 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.195, allocations: 0 / 1.122 GB, free: 28.83 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/1.195, allocations: 120.4 kB / 1.122 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/1.195, allocations: 9.219 kB / 1.122 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/1.196, allocations: 222.9 kB / 1.122 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/1.196, allocations: 0.695 MB / 1.123 GB, free: 27.92 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.405e-05/1.196, allocations: 12.62 kB / 1.123 GB, free: 27.92 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/1.196, allocations: 14.84 kB / 1.123 GB, free: 27.91 MB / 0.698 GB Notification: Performance of SimCode: time 8.82e-07/1.196, allocations: 4 kB / 1.123 GB, free: 27.91 MB / 0.698 GB Notification: Performance of Templates: time 0.003532/1.199, allocations: 1.094 MB / 1.124 GB, free: 27.86 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)