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 5.225/5.225, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 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.002369/0.002368, allocations: 362.4 kB / 0.6441 GB, free: 185.7 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.089/4.089, allocations: 410.7 MB / 1.112 GB, free: 6.035 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.001796/0.001796, allocations: 169.2 kB / 1.225 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005006, allocations: 16 kB / 1.348 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5926/0.5931, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001444/0.5946, allocations: 1.217 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007246/0.5953, allocations: 478.8 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.5954, allocations: 3.938 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.942e-05/0.5955, allocations: 0.8125 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.848e-05/0.5955, allocations: 12.8 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.5957, allocations: 23.97 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.266e-05/0.5958, allocations: 67.77 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.717e-05/0.5959, allocations: 18.92 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.5961, allocations: 35.84 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.5961, allocations: 31.84 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.5962, allocations: 5.062 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.5962, allocations: 4 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.5962, allocations: 4.828 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.5963, allocations: 41.64 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.429e-05/0.5964, allocations: 46 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.375e-06/0.5964, allocations: 8.844 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.819e-06/0.5964, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.803e-06/0.5964, allocations: 0.75 kB / 1.463 GB, free: 282.4 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.0005466/0.597, allocations: 441.1 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.597, allocations: 19.56 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.5971, allocations: 7.906 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.5972, allocations: 191.3 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.5973, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.5973, allocations: 8 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.5976, allocations: 104.4 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.235e-06/0.5976, allocations: 0 / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.5977, allocations: 4 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.5977, allocations: 2.25 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.598, allocations: 91.73 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/0.5986, allocations: 340.3 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.599, allocations: 91.64 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.5992, allocations: 63.19 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.872e-05/0.5992, allocations: 1.469 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003129/0.5996, allocations: 116.6 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 3.265e-06/0.5996, allocations: 0.5 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0007159/0.6003, allocations: 235.8 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.6004, allocations: 85.11 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.884e-05/0.6005, allocations: 135.4 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.6005, allocations: 25.7 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.6006, allocations: 100 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.6006, allocations: 20.44 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-06/0.6006, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.6007, allocations: 323.7 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.6009, allocations: 58.2 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.6011, allocations: 57.62 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.6013, allocations: 108.5 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6013, allocations: 0.875 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005239/0.6019, allocations: 227.8 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.6019, allocations: 66.98 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.838e-06/0.6019, allocations: 1.25 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.602, allocations: 7.953 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.6021, allocations: 16.64 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.099e-06/0.6022, allocations: 0.5312 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.6023, allocations: 29.19 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.6024, allocations: 4.625 kB / 1.466 GB, free: 279.2 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.0001032/0.6025, allocations: 146 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.6025, allocations: 11.91 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.6025, allocations: 12.7 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.135e-06/0.6026, allocations: 5.359 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.595e-06/0.6026, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.961e-06/0.6026, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006315/0.6032, allocations: 443.5 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6033, allocations: 0 / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.6034, allocations: 21.73 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.788e-06/0.6034, allocations: 0 / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.6034, allocations: 3.953 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.6034, allocations: 0.5 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.787e-06/0.6035, allocations: 1.688 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/0.6039, allocations: 293.4 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.604, allocations: 84.95 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.604, allocations: 8.953 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.6042, allocations: 21.06 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.6044, allocations: 23.97 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.6044, allocations: 5.281 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.042e-05/0.6045, allocations: 99.27 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.18e-07/0.6045, allocations: 0 / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003224/0.6048, allocations: 16.5 kB / 1.467 GB, free: 277.9 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.0001071/0.6049, allocations: 104.2 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005017/0.6054, allocations: 241.8 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.671e-06/0.6055, allocations: 1.594 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.6057, allocations: 112.1 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.6061, allocations: 19.14 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.6066, allocations: 221.5 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.6068, allocations: 0.7018 MB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.61e-05/0.6069, allocations: 9.453 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.6069, allocations: 11.44 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.667e-06/0.6069, allocations: 0.75 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.004/0.6109, allocations: 1.098 MB / 1.469 GB, free: 275.4 MB / 0.8542 GB