Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.608/1.608, allocations: 252 MB / 0.5102 GB, free: 4.871 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005376/0.0005376, allocations: 12 kB / 0.6243 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5663/0.5668, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001713/0.5686, allocations: 1.227 MB / 0.7293 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007514/0.5693, allocations: 483.7 kB / 0.7298 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.5694, allocations: 0 / 0.7298 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.11e-05/0.5695, allocations: 3.938 kB / 0.7298 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.997e-05/0.5696, allocations: 11.92 kB / 0.7298 GB, free: 9.691 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.5698, allocations: 27.91 kB / 0.7298 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.5699, allocations: 67.77 kB / 0.7299 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.57, allocations: 16.17 kB / 0.7299 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.5701, allocations: 39.84 kB / 0.73 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.5702, allocations: 23.91 kB / 0.73 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.5702, allocations: 4 kB / 0.73 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.5702, allocations: 4 kB / 0.73 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.5703, allocations: 19.91 kB / 0.73 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.5704, allocations: 33.7 kB / 0.73 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.614e-05/0.5704, allocations: 49.88 kB / 0.7301 GB, free: 9.406 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5705, allocations: 0 / 0.7301 GB, free: 9.406 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5705, allocations: 3.938 kB / 0.7301 GB, free: 9.402 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.5705, allocations: 0 / 0.7301 GB, free: 9.402 MB / 0.545 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.0006121/0.5711, allocations: 446.4 kB / 0.7305 GB, free: 8.906 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.5711, allocations: 8.031 kB / 0.7305 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.5712, allocations: 11.91 kB / 0.7305 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.5714, allocations: 183 kB / 0.7307 GB, free: 8.668 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.5714, allocations: 4 kB / 0.7307 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.5714, allocations: 4 kB / 0.7307 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.5717, allocations: 109.6 kB / 0.7308 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.5717, allocations: 0 / 0.7308 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.5717, allocations: 0 / 0.7308 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5718, allocations: 7.938 kB / 0.7308 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.572, allocations: 87.92 kB / 0.7309 GB, free: 8.453 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.5726, allocations: 348.6 kB / 0.7312 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.5729, allocations: 94.52 kB / 0.7313 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.573, allocations: 60.94 kB / 0.7314 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.573, allocations: 0 / 0.7314 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.5733, allocations: 111.3 kB / 0.7315 GB, free: 7.777 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 3.206e-06/0.5733, allocations: 3.984 kB / 0.7315 GB, free: 7.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005884/0.5739, allocations: 243.1 kB / 0.7317 GB, free: 7.523 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.574, allocations: 81.11 kB / 0.7318 GB, free: 7.426 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.5741, allocations: 132.9 kB / 0.7319 GB, free: 7.289 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.5742, allocations: 37.7 kB / 0.732 GB, free: 7.246 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.5742, allocations: 92.03 kB / 0.7321 GB, free: 7.152 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.5742, allocations: 19.75 kB / 0.7321 GB, free: 7.133 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-06/0.5743, allocations: 4 kB / 0.7321 GB, free: 7.129 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.5744, allocations: 318.8 kB / 0.7324 GB, free: 6.809 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.5746, allocations: 63.95 kB / 0.7324 GB, free: 6.746 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.5747, allocations: 47.97 kB / 0.7325 GB, free: 6.699 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.5749, allocations: 111.3 kB / 0.7326 GB, free: 6.578 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5749, allocations: 0 / 0.7326 GB, free: 6.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004046/0.5753, allocations: 220.9 kB / 0.7328 GB, free: 6.344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.419e-05/0.5754, allocations: 63.39 kB / 0.7329 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5754, allocations: 0 / 0.7329 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.5754, allocations: 7.953 kB / 0.7329 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.5755, allocations: 19.92 kB / 0.7329 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.5755, allocations: 4 kB / 0.7329 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.5757, allocations: 23.89 kB / 0.7329 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.5757, allocations: 7.984 kB / 0.7329 GB, free: 6.207 MB / 0.545 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.0001045/0.5758, allocations: 147.5 kB / 0.7331 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.5758, allocations: 4 kB / 0.7331 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.5759, allocations: 16.7 kB / 0.7331 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.5759, allocations: 7.953 kB / 0.7331 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5759, allocations: 0 / 0.7331 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5759, allocations: 288 / 0.7331 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005615/0.5765, allocations: 456 kB / 0.7335 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5765, allocations: 0 / 0.7335 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.723e-05/0.5766, allocations: 23.86 kB / 0.7336 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5766, allocations: 0 / 0.7336 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.5766, allocations: 3.953 kB / 0.7336 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5766, allocations: 4 kB / 0.7336 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5766, allocations: 4 kB / 0.7336 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.577, allocations: 277.1 kB / 0.7338 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.5771, allocations: 89.02 kB / 0.7339 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.5771, allocations: 0 / 0.7339 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.5773, allocations: 23.92 kB / 0.7339 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.5774, allocations: 27.91 kB / 0.734 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.5774, allocations: 0 / 0.734 GB, free: 5.027 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.284e-05/0.5775, allocations: 99.27 kB / 0.7341 GB, free: 4.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.51e-07/0.5775, allocations: 0 / 0.7341 GB, free: 4.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002473/0.5777, allocations: 28 kB / 0.7341 GB, free: 4.902 MB / 0.545 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.0001243/0.5779, allocations: 99.7 kB / 0.7342 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004268/0.5783, allocations: 234.7 kB / 0.7344 GB, free: 4.543 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5783, allocations: 0 / 0.7344 GB, free: 4.543 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.5785, allocations: 127.3 kB / 0.7345 GB, free: 4.406 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.5788, allocations: 16.92 kB / 0.7345 GB, free: 4.391 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.5793, allocations: 217 kB / 0.7348 GB, free: 4.148 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.5796, allocations: 0.6926 MB / 0.7354 GB, free: 3.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.746e-05/0.5797, allocations: 11.98 kB / 0.7354 GB, free: 3.418 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.5797, allocations: 11.44 kB / 0.7355 GB, free: 3.41 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5797, allocations: 0 / 0.7355 GB, free: 3.41 MB / 0.545 GB Notification: Performance of Templates: time 0.003309/0.583, allocations: 1.118 MB / 0.7365 GB, free: 2.336 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) Environment - environmentSimulation: