Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004259/0.004264, allocations: 230.9 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001169/0.001169, allocations: 177.5 kB / 16.71 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.935/3.935, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.21/4.21, allocations: 472.3 MB / 0.9024 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004862, allocations: 13 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.189, allocations: 98.72 MB / 1.105 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7967/0.9857, allocations: 126 MB / 1.228 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/0.9861, allocations: 90.44 kB / 1.228 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.006772/0.9929, allocations: 1.477 MB / 1.229 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.993, allocations: 0 / 1.229 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.993, allocations: 7.75 kB / 1.229 GB, free: 26.31 MB / 0.6198 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.0007279/0.9937, allocations: 445.7 kB / 1.23 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.9938, allocations: 15.34 kB / 1.23 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.9939, allocations: 9.125 kB / 1.23 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.9941, allocations: 200.1 kB / 1.23 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.9941, allocations: 4 kB / 1.23 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.9941, allocations: 4 kB / 1.23 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.9946, allocations: 102 kB / 1.23 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.9946, allocations: 0.7969 kB / 1.23 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.9946, allocations: 0 / 1.23 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.9946, allocations: 0 / 1.23 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004886/0.9951, allocations: 94.56 kB / 1.23 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.9959, allocations: 339.6 kB / 1.23 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/0.9963, allocations: 106.5 kB / 1.23 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.9966, allocations: 56.47 kB / 1.231 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.9967, allocations: 2.203 kB / 1.231 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003745/0.997, allocations: 109.2 kB / 1.231 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.9971, allocations: 0 / 1.231 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0009741/0.998, allocations: 242.7 kB / 1.231 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.9981, allocations: 82.28 kB / 1.231 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.9983, allocations: 129.7 kB / 1.231 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.9983, allocations: 36.61 kB / 1.231 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.9984, allocations: 97.92 kB / 1.231 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.9984, allocations: 16.47 kB / 1.231 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.9984, allocations: 4 kB / 1.231 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.9986, allocations: 320.7 kB / 1.232 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.9988, allocations: 58.61 kB / 1.232 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.9991, allocations: 54.72 kB / 1.232 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.9994, allocations: 105.4 kB / 1.232 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9994, allocations: 0 / 1.232 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006846/1, allocations: 232.6 kB / 1.232 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/1, allocations: 60.72 kB / 1.232 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1, allocations: 1.969 kB / 1.232 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1, allocations: 3.953 kB / 1.232 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/1, allocations: 25 kB / 1.232 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/1, allocations: 4 kB / 1.232 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/1.001, allocations: 24.48 kB / 1.232 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/1.001, allocations: 4.703 kB / 1.232 GB, free: 23.63 MB / 0.6198 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.0001321/1.001, allocations: 145.8 kB / 1.232 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/1.001, allocations: 11 kB / 1.232 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/1.001, allocations: 10.62 kB / 1.232 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/1.001, allocations: 7.953 kB / 1.232 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.001, allocations: 0 / 1.232 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/1.001, allocations: 0.7969 kB / 1.232 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008389/1.002, allocations: 449.3 kB / 1.233 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.002, allocations: 1.641 kB / 1.233 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/1.002, allocations: 20.02 kB / 1.233 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.002, allocations: 0 / 1.233 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/1.002, allocations: 8.594 kB / 1.233 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/1.002, allocations: 4 kB / 1.233 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.002, allocations: 3.438 kB / 1.233 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/1.003, allocations: 279.9 kB / 1.233 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/1.003, allocations: 90.22 kB / 1.233 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/1.003, allocations: 0 / 1.233 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/1.004, allocations: 21.86 kB / 1.233 GB, free: 38.65 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/1.004, allocations: 28.39 kB / 1.233 GB, free: 38.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/1.004, allocations: 0.5625 kB / 1.233 GB, free: 38.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.086e-05/1.004, allocations: 102.1 kB / 1.233 GB, free: 38.55 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/1.004, allocations: 3.828 kB / 1.233 GB, free: 38.55 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003438/1.004, allocations: 21.69 kB / 1.233 GB, free: 38.53 MB / 0.6355 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.0001451/1.004, allocations: 109.4 kB / 1.233 GB, free: 38.42 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006804/1.005, allocations: 238.2 kB / 1.234 GB, free: 38.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.005, allocations: 0 / 1.234 GB, free: 38.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/1.005, allocations: 123.3 kB / 1.234 GB, free: 38.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/1.006, allocations: 12.77 kB / 1.234 GB, free: 38.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/1.007, allocations: 215.3 kB / 1.234 GB, free: 37.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/1.007, allocations: 0.6949 MB / 1.235 GB, free: 37.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.777e-05/1.007, allocations: 13.41 kB / 1.235 GB, free: 37.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/1.007, allocations: 8 kB / 1.235 GB, free: 37.19 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/1.007, allocations: 0.9688 kB / 1.235 GB, free: 37.19 MB / 0.6355 GB Notification: Performance of Templates: time 0.004937/1.012, allocations: 1.113 MB / 1.236 GB, free: 36.63 MB / 0.6355 GB