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.0009896/0.0009896, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001171/0.001172, allocations: 177.3 kB / 15.95 MB, free: 216 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.678/1.678, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.808/1.808, allocations: 251.9 MB / 0.51 GB, free: 4.816 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.0005375, allocations: 16 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5929/0.5935, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001761/0.5953, allocations: 1.214 MB / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007291/0.5961, allocations: 475.7 kB / 0.7296 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.5961, allocations: 0 / 0.7296 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.098e-05/0.5962, allocations: 11.92 kB / 0.7296 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.5963, allocations: 11.92 kB / 0.7296 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.5965, allocations: 31.89 kB / 0.7297 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.585e-05/0.5966, allocations: 47.94 kB / 0.7297 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.5967, allocations: 8.188 kB / 0.7297 GB, free: 9.629 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.5969, allocations: 39.83 kB / 0.7298 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.597, allocations: 31.91 kB / 0.7298 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.597, allocations: 4 kB / 0.7298 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.597, allocations: 4 kB / 0.7298 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.597, allocations: 15.91 kB / 0.7298 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.5971, allocations: 33.7 kB / 0.7299 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.72e-05/0.5972, allocations: 53.88 kB / 0.7299 GB, free: 9.445 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.5972, allocations: 0 / 0.7299 GB, free: 9.445 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5972, allocations: 3.938 kB / 0.7299 GB, free: 9.441 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.5972, allocations: 0 / 0.7299 GB, free: 9.441 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.0007728/0.598, allocations: 445.5 kB / 0.7303 GB, free: 8.949 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.598, allocations: 8.031 kB / 0.7303 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.5981, allocations: 11.84 kB / 0.7304 GB, free: 8.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.5984, allocations: 187 kB / 0.7305 GB, free: 8.707 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.5984, allocations: 4 kB / 0.7305 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.5984, allocations: 8 kB / 0.7305 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.5987, allocations: 105.6 kB / 0.7306 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.5988, allocations: 0 / 0.7306 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.5988, allocations: 0 / 0.7306 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.5988, allocations: 4 kB / 0.7306 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.5991, allocations: 87.92 kB / 0.7307 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.5997, allocations: 344.6 kB / 0.7311 GB, free: 8.109 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.6, allocations: 98.52 kB / 0.7312 GB, free: 8.004 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.6, allocations: 0 / 0.7312 GB, free: 8.004 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003508/0.6004, allocations: 115.4 kB / 0.7313 GB, free: 7.879 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.6004, allocations: 0 / 0.7313 GB, free: 7.879 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006261/0.601, allocations: 239.2 kB / 0.7315 GB, free: 7.633 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.6011, allocations: 85.09 kB / 0.7316 GB, free: 7.531 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.6012, allocations: 133.6 kB / 0.7317 GB, free: 7.395 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.6012, allocations: 29.7 kB / 0.7317 GB, free: 7.359 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.6013, allocations: 96.05 kB / 0.7318 GB, free: 7.262 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.6014, allocations: 23.73 kB / 0.7318 GB, free: 7.238 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.6014, allocations: 0 / 0.7318 GB, free: 7.238 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6015, allocations: 318.8 kB / 0.7321 GB, free: 6.918 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.6017, allocations: 55.95 kB / 0.7322 GB, free: 6.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.6018, allocations: 59.95 kB / 0.7323 GB, free: 6.805 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.602, allocations: 103.4 kB / 0.7324 GB, free: 6.691 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6021, allocations: 3.938 kB / 0.7324 GB, free: 6.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004324/0.6025, allocations: 224.9 kB / 0.7326 GB, free: 6.449 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/0.6025, allocations: 55.41 kB / 0.7326 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6026, allocations: 0 / 0.7326 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.6026, allocations: 7.953 kB / 0.7326 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.6027, allocations: 23.92 kB / 0.7327 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.6027, allocations: 0 / 0.7327 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.6029, allocations: 31.88 kB / 0.7327 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.6029, allocations: 4 kB / 0.7327 GB, free: 6.316 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.0001278/0.603, allocations: 143.5 kB / 0.7328 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.6031, allocations: 7.938 kB / 0.7328 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.6031, allocations: 16.7 kB / 0.7328 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6031, allocations: 288 / 0.7329 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.6031, allocations: 7.953 kB / 0.7329 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6031, allocations: 3.984 kB / 0.7329 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005904/0.6037, allocations: 460.2 kB / 0.7333 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6037, allocations: 0 / 0.7333 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.718e-05/0.6038, allocations: 19.98 kB / 0.7333 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.6038, allocations: 0 / 0.7333 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.6039, allocations: 3.953 kB / 0.7333 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6039, allocations: 0 / 0.7333 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6039, allocations: 0 / 0.7333 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004481/0.6043, allocations: 285.1 kB / 0.7336 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.6044, allocations: 89 kB / 0.7337 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.6044, allocations: 8 kB / 0.7337 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.6046, allocations: 19.94 kB / 0.7337 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.6047, allocations: 19.97 kB / 0.7337 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.6047, allocations: 8 kB / 0.7337 GB, free: 5.129 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.578e-05/0.6048, allocations: 107.2 kB / 0.7338 GB, free: 5.023 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6048, allocations: 0 / 0.7338 GB, free: 5.023 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002331/0.605, allocations: 20 kB / 0.7339 GB, free: 5.004 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.0001361/0.6052, allocations: 105.4 kB / 0.734 GB, free: 4.895 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004508/0.6056, allocations: 234.7 kB / 0.7342 GB, free: 4.641 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6056, allocations: 4 kB / 0.7342 GB, free: 4.637 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.6059, allocations: 123.3 kB / 0.7343 GB, free: 4.504 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.6061, allocations: 4 kB / 0.7343 GB, free: 4.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.6066, allocations: 225 kB / 0.7345 GB, free: 4.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.6069, allocations: 0.6991 MB / 0.7352 GB, free: 3.527 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.734e-05/0.6069, allocations: 11.98 kB / 0.7352 GB, free: 3.516 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.607, allocations: 15.44 kB / 0.7352 GB, free: 3.504 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.607, allocations: 0 / 0.7352 GB, free: 3.504 MB / 0.545 GB Notification: Performance of Templates: time 0.00359/0.6106, allocations: 1.09 MB / 0.7363 GB, free: 2.445 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: