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.01581/0.01581, allocations: 106.5 kB / 15.06 MB, free: 5.559 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.001897/0.001897, allocations: 177.6 kB / 15.94 MB, free: 5.523 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 2.161/2.161, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.334/2.334, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004849, allocations: 12 kB / 0.5869 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5687/0.5692, allocations: 98.7 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003056/0.5724, allocations: 1.215 MB / 0.6845 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.5739, allocations: 454.5 kB / 0.685 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.922e-05/0.5741, allocations: 1.406 kB / 0.685 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.5742, allocations: 5.484 kB / 0.685 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.5743, allocations: 14.75 kB / 0.685 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.5746, allocations: 31.95 kB / 0.685 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.5748, allocations: 47.44 kB / 0.6851 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.5749, allocations: 10.67 kB / 0.6851 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.5752, allocations: 38.8 kB / 0.6851 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.5753, allocations: 30.59 kB / 0.6851 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.5754, allocations: 2.938 kB / 0.6851 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 3.325e-05/0.5755, allocations: 8.312 kB / 0.6851 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.5755, allocations: 9.719 kB / 0.6851 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.573e-05/0.5756, allocations: 38.36 kB / 0.6852 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.5758, allocations: 47.44 kB / 0.6852 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.5758, allocations: 0 / 0.6852 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.581e-06/0.5759, allocations: 0 / 0.6852 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.509e-06/0.5759, allocations: 1.188 kB / 0.6852 GB, free: 15.45 MB / 0.5261 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.001064/0.577, allocations: 442.8 kB / 0.6857 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/0.5771, allocations: 13.75 kB / 0.6857 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.532e-05/0.5772, allocations: 13.39 kB / 0.6857 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.5775, allocations: 184.3 kB / 0.6859 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.5775, allocations: 2.719 kB / 0.6859 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.5776, allocations: 9.344 kB / 0.6859 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007018/0.5783, allocations: 104 kB / 0.686 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.5784, allocations: 0 / 0.686 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.5784, allocations: 1.25 kB / 0.686 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.632e-06/0.5784, allocations: 1.438 kB / 0.686 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007649/0.5792, allocations: 88.69 kB / 0.6861 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.5804, allocations: 346.2 kB / 0.6864 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007548/0.5812, allocations: 100 kB / 0.6865 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.5813, allocations: 2.297 kB / 0.6865 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006739/0.582, allocations: 111.5 kB / 0.6866 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 6.913e-06/0.582, allocations: 0 / 0.6866 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.001582/0.5836, allocations: 235.7 kB / 0.6868 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.5837, allocations: 80.45 kB / 0.6869 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.584, allocations: 130.4 kB / 0.687 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.584, allocations: 28.2 kB / 0.687 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.941e-05/0.5841, allocations: 101.2 kB / 0.6871 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.126e-05/0.5842, allocations: 24.44 kB / 0.6872 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.5843, allocations: 1.375 kB / 0.6872 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.5844, allocations: 320.7 kB / 0.6875 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.5849, allocations: 55.88 kB / 0.6875 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.5853, allocations: 57.66 kB / 0.6876 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/0.5858, allocations: 107.1 kB / 0.6877 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.222e-06/0.5858, allocations: 3.938 kB / 0.6877 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001242/0.5871, allocations: 223.7 kB / 0.6879 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.779e-05/0.5872, allocations: 59.52 kB / 0.688 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.5873, allocations: 5.609 kB / 0.688 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.5873, allocations: 0 / 0.688 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.5876, allocations: 28.55 kB / 0.688 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.5877, allocations: 1.219 kB / 0.688 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.588, allocations: 27.94 kB / 0.688 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.5881, allocations: 2.312 kB / 0.688 GB, free: 13.23 MB / 0.5261 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.0002118/0.5883, allocations: 143.9 kB / 0.6882 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.5884, allocations: 9.281 kB / 0.6882 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.888e-05/0.5885, allocations: 15.17 kB / 0.6882 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.972e-06/0.5885, allocations: 5.203 kB / 0.6882 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.872e-06/0.5886, allocations: 1.703 kB / 0.6882 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.112e-06/0.5886, allocations: 3.984 kB / 0.6882 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.59, allocations: 450.7 kB / 0.6886 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.632e-06/0.59, allocations: 0.9688 kB / 0.6886 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.5903, allocations: 22.19 kB / 0.6886 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.5903, allocations: 3.953 kB / 0.6886 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.5904, allocations: 1.828 kB / 0.6886 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/0.5904, allocations: 1.062 kB / 0.6886 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.683e-06/0.5904, allocations: 3.938 kB / 0.6886 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.5915, allocations: 279.3 kB / 0.6889 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.628e-05/0.5916, allocations: 88.17 kB / 0.689 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.452e-05/0.5917, allocations: 13.2 kB / 0.689 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.5922, allocations: 21.89 kB / 0.689 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/0.5924, allocations: 26.11 kB / 0.6891 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.5925, allocations: 2.344 kB / 0.6891 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001319/0.5926, allocations: 98.83 kB / 0.6892 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.335e-06/0.5927, allocations: 0 / 0.6892 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007898/0.5935, allocations: 20.69 kB / 0.6892 GB, free: 12.27 MB / 0.5261 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.0001957/0.5937, allocations: 106.9 kB / 0.6893 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.5948, allocations: 235 kB / 0.6895 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.5949, allocations: 288 / 0.6895 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005482/0.5955, allocations: 121 kB / 0.6896 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.596, allocations: 12.95 kB / 0.6896 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.5971, allocations: 217.8 kB / 0.6898 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.5973, allocations: 0.6944 MB / 0.6905 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.5975, allocations: 15.33 kB / 0.6905 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.874e-05/0.5976, allocations: 11.17 kB / 0.6905 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of SimCode: time 2.92e-06/0.5977, allocations: 0 / 0.6905 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of Templates: time 0.008532/0.6062, allocations: 1.1 MB / 0.6916 GB, free: 10.98 MB / 0.5261 GB