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.503/2.503, allocations: 287.5 MB / 302.4 MB, free: 8.387 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.001537/0.001537, allocations: 179.2 kB / 371 MB, free: 10.79 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 2.072/2.072, allocations: 205.4 MB / 0.6297 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001185/0.001184, allocations: 96.17 kB / 0.743 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005144/0.0005143, allocations: 11.11 kB / 0.8658 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2247, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9428/1.168, allocations: 139.4 MB / 1.115 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/1.168, allocations: 95.22 kB / 1.115 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007237/1.175, allocations: 1.521 MB / 1.116 GB, free: 31.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/1.175, allocations: 0 / 1.116 GB, free: 31.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.239e-05/1.175, allocations: 0 / 1.116 GB, free: 31.46 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.0007739/1.176, allocations: 440.6 kB / 1.117 GB, free: 31.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.176, allocations: 15.67 kB / 1.117 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/1.176, allocations: 7.75 kB / 1.117 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/1.176, allocations: 195.8 kB / 1.117 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/1.176, allocations: 7.219 kB / 1.117 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/1.177, allocations: 3.906 kB / 1.117 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/1.177, allocations: 102.6 kB / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.177, allocations: 0 / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/1.177, allocations: 3.906 kB / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.177, allocations: 4 kB / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/1.177, allocations: 85.02 kB / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/1.178, allocations: 344.5 kB / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/1.179, allocations: 100.9 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/1.179, allocations: 3.812 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000384/1.179, allocations: 113.8 kB / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.254e-06/1.179, allocations: 0 / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0009944/1.18, allocations: 233.9 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/1.18, allocations: 84.84 kB / 1.118 GB, free: 30.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/1.18, allocations: 114.3 kB / 1.118 GB, free: 30.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/1.18, allocations: 33.45 kB / 1.118 GB, free: 30.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.18e-05/1.18, allocations: 102.1 kB / 1.118 GB, free: 30.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/1.181, allocations: 14.59 kB / 1.118 GB, free: 30.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/1.181, allocations: 3.562 kB / 1.118 GB, free: 30.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.181, allocations: 324.5 kB / 1.118 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/1.181, allocations: 54.19 kB / 1.118 GB, free: 29.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/1.181, allocations: 63.55 kB / 1.118 GB, free: 29.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/1.182, allocations: 102.3 kB / 1.119 GB, free: 29.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/1.182, allocations: 0 / 1.119 GB, free: 29.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007021/1.182, allocations: 228.4 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/1.182, allocations: 61.73 kB / 1.119 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.182, allocations: 0 / 1.119 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.182, allocations: 0 / 1.119 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/1.183, allocations: 23.64 kB / 1.119 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.183, allocations: 3.953 kB / 1.119 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/1.183, allocations: 28.12 kB / 1.119 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/1.183, allocations: 6.703 kB / 1.119 GB, free: 29.45 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.0001517/1.183, allocations: 148.7 kB / 1.119 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/1.183, allocations: 11.56 kB / 1.119 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/1.183, allocations: 9.953 kB / 1.119 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.183, allocations: 0 / 1.119 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/1.183, allocations: 2.391 kB / 1.119 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.183, allocations: 15.77 kB / 1.119 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008676/1.184, allocations: 441.6 kB / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.184, allocations: 0 / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/1.184, allocations: 22.3 kB / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.184, allocations: 0 / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/1.184, allocations: 6.609 kB / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.184, allocations: 0 / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.184, allocations: 7.797 kB / 1.12 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/1.185, allocations: 284.6 kB / 1.12 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/1.185, allocations: 85.17 kB / 1.12 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/1.185, allocations: 7.25 kB / 1.12 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/1.185, allocations: 20.56 kB / 1.12 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/1.186, allocations: 31.75 kB / 1.12 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/1.186, allocations: 6.609 kB / 1.12 GB, free: 28.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.996e-05/1.186, allocations: 100.5 kB / 1.12 GB, free: 28.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.186, allocations: 0 / 1.12 GB, free: 28.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003104/1.186, allocations: 19.34 kB / 1.12 GB, free: 28.58 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.0001627/1.186, allocations: 105.8 kB / 1.12 GB, free: 28.49 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006757/1.187, allocations: 237.9 kB / 1.12 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.187, allocations: 0 / 1.12 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000331/1.187, allocations: 125.2 kB / 1.12 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/1.187, allocations: 7.781 kB / 1.12 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/1.188, allocations: 227 kB / 1.121 GB, free: 28.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/1.188, allocations: 0.6935 MB / 1.121 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.885e-05/1.189, allocations: 11.31 kB / 1.121 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/1.189, allocations: 14.69 kB / 1.121 GB, free: 27.44 MB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/1.189, allocations: 0 / 1.121 GB, free: 27.44 MB / 0.698 GB Notification: Performance of Templates: time 0.004358/1.193, allocations: 1.094 MB / 1.122 GB, free: 27.36 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)