Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.87/3.87, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.657e-05/2.665e-05, allocations: 5.156 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1766, allocations: 98.73 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1949/0.3715, allocations: 125.9 MB / 0.7577 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.3718, allocations: 91.94 kB / 0.7578 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006591/0.3784, allocations: 1.462 MB / 0.7592 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3785, allocations: 0 / 0.7592 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.3785, allocations: 4 kB / 0.7592 GB, free: 2.297 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.0006702/0.3792, allocations: 441.6 kB / 0.7596 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3792, allocations: 8.031 kB / 0.7596 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.3793, allocations: 7.906 kB / 0.7596 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.3795, allocations: 190.9 kB / 0.7598 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.3796, allocations: 7.938 kB / 0.7598 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.3796, allocations: 11.98 kB / 0.7598 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.3798, allocations: 69.67 kB / 0.7599 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.887e-06/0.3799, allocations: 0 / 0.7599 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.3799, allocations: 4 kB / 0.7599 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3799, allocations: 7.984 kB / 0.7599 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.3801, allocations: 39.92 kB / 0.7599 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007327/0.3808, allocations: 340.7 kB / 0.7603 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.381, allocations: 54.59 kB / 0.7603 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.709e-05/0.3811, allocations: 32.98 kB / 0.7604 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.3811, allocations: 4 kB / 0.7604 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.3814, allocations: 79.36 kB / 0.7604 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.263e-06/0.3814, allocations: 4 kB / 0.7604 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003575/0.3817, allocations: 127.2 kB / 0.7606 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.3818, allocations: 97.03 kB / 0.7607 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.382, allocations: 121.2 kB / 0.7608 GB, free: 476 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.382, allocations: 29.64 kB / 0.7608 GB, free: 440 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.3821, allocations: 98.02 kB / 0.7609 GB, free: 340 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.3822, allocations: 23.73 kB / 0.7609 GB, free: 316 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.3822, allocations: 0 / 0.7609 GB, free: 316 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3824, allocations: 318.8 kB / 0.7612 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.3825, allocations: 35.98 kB / 0.7613 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-05/0.3826, allocations: 24 kB / 0.7613 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.3827, allocations: 83.58 kB / 0.7614 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.657e-06/0.3828, allocations: 3.938 kB / 0.7614 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003596/0.3831, allocations: 172.9 kB / 0.7615 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.798e-05/0.3832, allocations: 65.44 kB / 0.7616 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.908e-06/0.3832, allocations: 0 / 0.7616 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3833, allocations: 3.953 kB / 0.7616 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.3835, allocations: 19.98 kB / 0.7616 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.837e-06/0.3835, allocations: 0 / 0.7616 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.3837, allocations: 35.88 kB / 0.7616 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.3837, allocations: 0 / 0.7616 GB, free: 15.51 MB / 0.6511 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.0001366/0.3839, allocations: 145 kB / 0.7618 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.3839, allocations: 4 kB / 0.7618 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.3839, allocations: 8.625 kB / 0.7618 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.384, allocations: 7.984 kB / 0.7618 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.384, allocations: 3.953 kB / 0.7618 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.384, allocations: 4 kB / 0.7618 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005587/0.3846, allocations: 392.2 kB / 0.7622 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.3846, allocations: 0 / 0.7622 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.3847, allocations: 23.92 kB / 0.7622 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.06e-06/0.3848, allocations: 0 / 0.7622 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.3848, allocations: 11.88 kB / 0.7622 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.618e-06/0.3848, allocations: 0 / 0.7622 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.882e-06/0.3848, allocations: 0 / 0.7622 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.3852, allocations: 229.1 kB / 0.7624 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.3853, allocations: 85.02 kB / 0.7625 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.3853, allocations: 7.984 kB / 0.7625 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.3855, allocations: 19.94 kB / 0.7625 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.3857, allocations: 23.97 kB / 0.7626 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.3857, allocations: 4 kB / 0.7626 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.581e-05/0.3858, allocations: 99.27 kB / 0.7627 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.68e-07/0.3858, allocations: 0 / 0.7627 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000359/0.3862, allocations: 27.94 kB / 0.7627 GB, free: 14.32 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.0001599/0.3864, allocations: 103.2 kB / 0.7628 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.3867, allocations: 186.8 kB / 0.763 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.98e-06/0.3868, allocations: 288 / 0.763 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.3869, allocations: 99.33 kB / 0.7631 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.3872, allocations: 15.92 kB / 0.7631 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.3877, allocations: 125.2 kB / 0.7632 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.3881, allocations: 0.6926 MB / 0.7639 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.605e-05/0.3882, allocations: 15.77 kB / 0.7639 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.3882, allocations: 7.438 kB / 0.7639 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of SimCode: time 3.944e-06/0.3883, allocations: 4 kB / 0.7639 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of Templates: time 0.004503/0.3928, allocations: 1.108 MB / 0.765 GB, free: 11.88 MB / 0.6511 GB