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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 4.24/4.24, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.651e-05/1.656e-05, allocations: 4 kB / 0.5325 GB, free: 1.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4964/0.4965, allocations: 98.72 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1983/0.6948, allocations: 125.2 MB / 0.7512 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.6951, allocations: 83.94 kB / 0.7513 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.006019/0.7012, allocations: 1.463 MB / 0.7527 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.795e-06/0.7012, allocations: 0 / 0.7527 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.7012, allocations: 4 kB / 0.7527 GB, free: 0.7969 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.000638/0.7019, allocations: 437.6 kB / 0.7532 GB, free: 320 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.702, allocations: 15.95 kB / 0.7532 GB, free: 304 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.702, allocations: 11.86 kB / 0.7532 GB, free: 292 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.7023, allocations: 191 kB / 0.7534 GB, free: 60 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.7023, allocations: 0 / 0.7534 GB, free: 60 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.7023, allocations: 4 kB / 0.7534 GB, free: 56 kB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001426/0.7025, allocations: 39.97 kB / 0.7534 GB, free: 16 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.7027, allocations: 69.61 kB / 0.7535 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.233e-06/0.7027, allocations: 0 / 0.7535 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.7027, allocations: 0 / 0.7535 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-06/0.7027, allocations: 0 / 0.7535 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/0.7034, allocations: 325.2 kB / 0.7538 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.7036, allocations: 42.67 kB / 0.7538 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.388e-05/0.7037, allocations: 40.91 kB / 0.7539 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.7037, allocations: 0 / 0.7539 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.7039, allocations: 87.36 kB / 0.7539 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.46e-06/0.7039, allocations: 0 / 0.7539 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003208/0.7043, allocations: 101.5 kB / 0.754 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.7043, allocations: 85.11 kB / 0.7541 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.7045, allocations: 113 kB / 0.7542 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.7045, allocations: 25.7 kB / 0.7543 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.7046, allocations: 96.05 kB / 0.7543 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.7047, allocations: 27.67 kB / 0.7544 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.15e-06/0.7047, allocations: 0 / 0.7544 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.7048, allocations: 314.8 kB / 0.7547 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-05/0.7049, allocations: 35.92 kB / 0.7547 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.416e-05/0.705, allocations: 28 kB / 0.7547 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.533e-05/0.7051, allocations: 15.98 kB / 0.7547 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.372e-06/0.7051, allocations: 192 / 0.7547 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002879/0.7054, allocations: 117.5 kB / 0.7549 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/0.7055, allocations: 63.39 kB / 0.7549 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.584e-06/0.7055, allocations: 4 kB / 0.7549 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.7055, allocations: 0 / 0.7549 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.7057, allocations: 23.98 kB / 0.7549 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.968e-06/0.7057, allocations: 3.953 kB / 0.7549 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.7059, allocations: 19.98 kB / 0.755 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.7059, allocations: 0 / 0.755 GB, free: 14.27 MB / 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.000129/0.7061, allocations: 138.7 kB / 0.7551 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.7061, allocations: 7.906 kB / 0.7551 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.7062, allocations: 12.62 kB / 0.7551 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.816e-06/0.7062, allocations: 0 / 0.7551 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.7062, allocations: 0 / 0.7551 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.486e-06/0.7062, allocations: 3.953 kB / 0.7551 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.7067, allocations: 343 kB / 0.7555 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.731e-06/0.7067, allocations: 0 / 0.7555 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.7068, allocations: 19.98 kB / 0.7555 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.336e-06/0.7068, allocations: 7.984 kB / 0.7555 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.7069, allocations: 0 / 0.7555 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.457e-06/0.7069, allocations: 4 kB / 0.7555 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.513e-06/0.7069, allocations: 3.953 kB / 0.7555 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.7072, allocations: 191.5 kB / 0.7557 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.7073, allocations: 88.95 kB / 0.7558 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.7073, allocations: 4 kB / 0.7558 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.7075, allocations: 23.97 kB / 0.7558 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.7077, allocations: 23.97 kB / 0.7558 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.7077, allocations: 3.953 kB / 0.7558 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.881e-05/0.7078, allocations: 99.27 kB / 0.7559 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.03e-07/0.7078, allocations: 0 / 0.7559 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003544/0.7082, allocations: 16 kB / 0.7559 GB, free: 13.21 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) * 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.0001524/0.7083, allocations: 107.2 kB / 0.756 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003048/0.7086, allocations: 174.7 kB / 0.7562 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.714e-06/0.7087, allocations: 0 / 0.7562 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.7088, allocations: 91.39 kB / 0.7563 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.7091, allocations: 10.34 kB / 0.7563 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.7095, allocations: 136 kB / 0.7564 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.7099, allocations: 0.7002 MB / 0.7571 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.884e-05/0.71, allocations: 11.77 kB / 0.7571 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.7101, allocations: 11.44 kB / 0.7571 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of SimCode: time 1.562e-06/0.7101, allocations: 0 / 0.7571 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of Templates: time 0.004214/0.7143, allocations: 1.034 MB / 0.7581 GB, free: 10.86 MB / 0.6355 GB