Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.26/2.26, allocations: 253.1 MB / 260.6 MB, free: 7.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001396/0.001396, allocations: 169.7 kB / 319.9 MB, free: 3.043 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.6 MB / 0.5708 GB, free: 15.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 91.73 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.6e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2151, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8897/1.105, allocations: 133.3 MB / 1.019 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/1.105, allocations: 90.11 kB / 1.019 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007238/1.112, allocations: 1.51 MB / 1.02 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.773e-06/1.113, allocations: 0 / 1.02 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.137e-05/1.113, allocations: 0 / 1.02 GB, free: 2.73 MB / 0.6355 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.0007692/1.113, allocations: 441.2 kB / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/1.113, allocations: 16.02 kB / 1.021 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/1.113, allocations: 4 kB / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/1.114, allocations: 198 kB / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/1.114, allocations: 4 kB / 1.021 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/1.114, allocations: 4 kB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001674/1.114, allocations: 34.62 kB / 1.021 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/1.114, allocations: 72.47 kB / 1.021 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.114, allocations: 0 / 1.021 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/1.114, allocations: 0 / 1.021 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.114, allocations: 4 kB / 1.021 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000748/1.115, allocations: 319.7 kB / 1.021 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/1.115, allocations: 49.19 kB / 1.021 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.987e-05/1.115, allocations: 31.17 kB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/1.115, allocations: 0 / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/1.116, allocations: 82.12 kB / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/1.116, allocations: 0 / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003592/1.116, allocations: 107.6 kB / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/1.116, allocations: 77.11 kB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/1.116, allocations: 119.6 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/1.116, allocations: 25.7 kB / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/1.116, allocations: 103.1 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/1.116, allocations: 15.75 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/1.116, allocations: 0 / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.116, allocations: 322.5 kB / 1.022 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.905e-05/1.117, allocations: 30.38 kB / 1.022 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.438e-05/1.117, allocations: 34.3 kB / 1.022 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.826e-05/1.117, allocations: 23.17 kB / 1.022 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/1.117, allocations: 0 / 1.022 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002968/1.117, allocations: 110 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.214e-05/1.117, allocations: 59.78 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.117, allocations: 4 kB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/1.117, allocations: 0 / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/1.117, allocations: 15.98 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/1.117, allocations: 12.56 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/1.118, allocations: 19.98 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/1.118, allocations: 4 kB / 1.023 GB, free: 380 kB / 0.6355 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 0.0001161/1.118, allocations: 137.4 kB / 1.023 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/1.118, allocations: 7.906 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/1.118, allocations: 12.17 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.118, allocations: 4 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.118, allocations: 4 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/1.118, allocations: 3.953 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/1.118, allocations: 339.4 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.118, allocations: 0 / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/1.119, allocations: 15.98 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.119, allocations: 0 / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/1.119, allocations: 288 / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/1.119, allocations: 8.594 kB / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.119, allocations: 4 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/1.119, allocations: 210.9 kB / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/1.119, allocations: 81.02 kB / 1.023 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/1.119, allocations: 4 kB / 1.023 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/1.119, allocations: 17.86 kB / 1.023 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/1.12, allocations: 27.41 kB / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/1.12, allocations: 7.984 kB / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.374e-05/1.12, allocations: 96.81 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.12, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003566/1.12, allocations: 27.19 kB / 1.024 GB, free: 15.36 MB / 0.6511 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.000151/1.12, allocations: 99.23 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003152/1.121, allocations: 179.1 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.121, allocations: 0 / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/1.121, allocations: 96.52 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/1.121, allocations: 4 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/1.121, allocations: 131.7 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/1.122, allocations: 0.6933 MB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.576e-05/1.122, allocations: 23.83 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/1.122, allocations: 11.44 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of SimCode: time 7.11e-07/1.122, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of Templates: time 0.004624/1.127, allocations: 1.022 MB / 1.026 GB, free: 13.09 MB / 0.6511 GB