Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.961/4.961, allocations: 0.5623 GB / 0.5775 GB, free: 3.258 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002514/0.002514, allocations: 356.9 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.327/4.327, allocations: 410.7 MB / 1.113 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001878/0.001877, allocations: 179.5 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005099/0.0005101, allocations: 12 kB / 1.349 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7862/0.7867, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2134/1, allocations: 139.4 MB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/1.001, allocations: 95.94 kB / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.00674/1.007, allocations: 1.525 MB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.164e-06/1.007, allocations: 0 / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.956e-05/1.007, allocations: 4.812 kB / 1.599 GB, free: 143.2 MB / 0.8542 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.0006775/1.008, allocations: 445 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/1.008, allocations: 11.62 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/1.008, allocations: 11.91 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/1.008, allocations: 195.3 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/1.008, allocations: 4.719 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/1.009, allocations: 9.172 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/1.009, allocations: 99.5 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.009, allocations: 1.75 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/1.009, allocations: 4 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.009, allocations: 0 / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/1.009, allocations: 94.7 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007047/1.01, allocations: 332.1 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/1.011, allocations: 93.58 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/1.011, allocations: 74.34 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/1.011, allocations: 2.922 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003777/1.011, allocations: 110.9 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.375e-06/1.011, allocations: 1.969 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0009473/1.012, allocations: 238.1 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/1.012, allocations: 82.2 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/1.013, allocations: 134 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/1.013, allocations: 28.67 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/1.013, allocations: 104 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/1.013, allocations: 15.81 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/1.013, allocations: 0 / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.265e-05/1.013, allocations: 322.8 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/1.013, allocations: 57.73 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/1.013, allocations: 53.03 kB / 1.601 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/1.014, allocations: 101.3 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.014, allocations: 0 / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006867/1.014, allocations: 228.2 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/1.014, allocations: 63.39 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.014, allocations: 4.969 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/1.014, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/1.015, allocations: 22.06 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/1.015, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/1.015, allocations: 24.95 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/1.015, allocations: 4 kB / 1.602 GB, free: 140.1 MB / 0.8542 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.0001258/1.015, allocations: 156.4 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/1.015, allocations: 8.75 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.022e-05/1.015, allocations: 8.719 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/1.015, allocations: 6 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/1.015, allocations: 7.953 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/1.015, allocations: 9.234 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008114/1.016, allocations: 443.7 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.016, allocations: 4 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/1.016, allocations: 16.55 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/1.016, allocations: 0 / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/1.016, allocations: 4.562 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/1.016, allocations: 8.859 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.016, allocations: 4 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006503/1.017, allocations: 285.2 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/1.017, allocations: 82.55 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/1.017, allocations: 4 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/1.017, allocations: 21.12 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/1.017, allocations: 31.91 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/1.018, allocations: 4 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.112e-05/1.018, allocations: 103.6 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/1.018, allocations: 1.438 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003187/1.018, allocations: 20 kB / 1.603 GB, free: 138.8 MB / 0.8542 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.0001709/1.018, allocations: 109.6 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006688/1.019, allocations: 234.3 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.019, allocations: 0 / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000326/1.019, allocations: 121 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/1.02, allocations: 17.89 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006347/1.02, allocations: 216.6 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/1.02, allocations: 0.6977 MB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.913e-05/1.02, allocations: 13.11 kB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/1.021, allocations: 15.44 kB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of SimCode: time 8.42e-07/1.021, allocations: 0 / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.004508/1.025, allocations: 1.094 MB / 1.606 GB, free: 136.2 MB / 0.8542 GB