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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.602/1.602, allocations: 289.7 MB / 302.3 MB, free: 2.184 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.00114/0.00114, allocations: 181.4 kB / 371.6 MB, free: 3.41 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.676/1.676, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0008355/0.0008356, allocations: 98.7 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.585e-05/3.587e-05, allocations: 4 kB / 0.8662 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2975, allocations: 116.3 MB / 0.9798 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9085/1.206, allocations: 140.5 MB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/1.207, allocations: 92.95 kB / 1.117 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004767/1.211, allocations: 1.511 MB / 1.119 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.913e-06/1.211, allocations: 0 / 1.119 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.113e-05/1.211, allocations: 0 / 1.119 GB, free: 42.48 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.0005683/1.212, allocations: 438.3 kB / 1.119 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.212, allocations: 12.03 kB / 1.119 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.338e-05/1.212, allocations: 10.25 kB / 1.119 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/1.212, allocations: 186.1 kB / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/1.212, allocations: 10.64 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/1.212, allocations: 4.562 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/1.213, allocations: 75.2 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.213, allocations: 0 / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/1.213, allocations: 2.953 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/1.213, allocations: 8.516 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.975e-05/1.213, allocations: 38.36 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005842/1.213, allocations: 340.6 kB / 1.12 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/1.213, allocations: 60.11 kB / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.087e-05/1.213, allocations: 33.97 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/1.214, allocations: 0 / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/1.214, allocations: 86.2 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/1.214, allocations: 0 / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002794/1.214, allocations: 127 kB / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/1.214, allocations: 89 kB / 1.12 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.633e-05/1.214, allocations: 123 kB / 1.12 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/1.214, allocations: 29.2 kB / 1.12 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/1.214, allocations: 99.39 kB / 1.12 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/1.214, allocations: 19.06 kB / 1.12 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/1.214, allocations: 0 / 1.12 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.018e-05/1.214, allocations: 321.9 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.092e-05/1.214, allocations: 29.22 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.974e-05/1.214, allocations: 29.75 kB / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.57e-05/1.215, allocations: 79.25 kB / 1.121 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.215, allocations: 0 / 1.121 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001999/1.215, allocations: 180.7 kB / 1.121 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/1.215, allocations: 66.19 kB / 1.121 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.215, allocations: 0 / 1.121 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/1.215, allocations: 0 / 1.121 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/1.215, allocations: 19.38 kB / 1.121 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/1.215, allocations: 0 / 1.121 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/1.215, allocations: 32.16 kB / 1.121 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/1.215, allocations: 4 kB / 1.121 GB, free: 40.06 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 () * 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 7.46e-05/1.215, allocations: 137.9 kB / 1.121 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/1.215, allocations: 11.91 kB / 1.121 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/1.215, allocations: 16.06 kB / 1.121 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/1.215, allocations: 0 / 1.121 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.215, allocations: 0 / 1.121 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.215, allocations: 4 kB / 1.121 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/1.216, allocations: 392.8 kB / 1.122 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.216, allocations: 0 / 1.122 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/1.216, allocations: 22.47 kB / 1.122 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/1.216, allocations: 4 kB / 1.122 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/1.216, allocations: 4.5 kB / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/1.216, allocations: 1.25 kB / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.216, allocations: 3.953 kB / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/1.216, allocations: 235 kB / 1.122 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/1.216, allocations: 89.41 kB / 1.122 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/1.216, allocations: 0.5625 kB / 1.122 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/1.216, allocations: 22.8 kB / 1.122 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/1.216, allocations: 21.55 kB / 1.122 GB, free: 39.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/1.216, allocations: 7.984 kB / 1.122 GB, free: 39.13 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.083e-05/1.216, allocations: 103.1 kB / 1.122 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.216, allocations: 1.5 kB / 1.122 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002314/1.217, allocations: 23.44 kB / 1.122 GB, free: 39.02 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) * 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.000141/1.217, allocations: 108.8 kB / 1.122 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002224/1.217, allocations: 181.3 kB / 1.122 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.217, allocations: 0 / 1.122 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.115e-05/1.217, allocations: 96.27 kB / 1.122 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/1.217, allocations: 14.55 kB / 1.122 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/1.218, allocations: 122.9 kB / 1.123 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/1.218, allocations: 0.695 MB / 1.123 GB, free: 37.81 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.747e-05/1.218, allocations: 12.03 kB / 1.123 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/1.218, allocations: 10.81 kB / 1.123 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/1.218, allocations: 4.75 kB / 1.123 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of Templates: time 0.003267/1.221, allocations: 1.1 MB / 1.124 GB, free: 37.2 MB / 0.7448 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)