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.01052/0.01052, allocations: 110.6 kB / 15.05 MB, free: 5.977 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.001188/0.001188, allocations: 183.9 kB / 15.94 MB, free: 5.938 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.128/2.128, allocations: 194.5 MB / 211.2 MB, free: 11.08 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.134/2.134, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004678, allocations: 12 kB / 0.587 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5388/0.5392, allocations: 98.7 MB / 0.6833 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1789/0.7181, allocations: 126 MB / 0.8064 GB, free: 320 kB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.7185, allocations: 95.92 kB / 0.8065 GB, free: 224 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.006318/0.7248, allocations: 1.471 MB / 0.8079 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7248, allocations: 0 / 0.8079 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.7249, allocations: 4 kB / 0.8079 GB, free: 14.74 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.000647/0.7255, allocations: 446.5 kB / 0.8083 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.7256, allocations: 12.03 kB / 0.8083 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.7256, allocations: 7.906 kB / 0.8084 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.7259, allocations: 194.8 kB / 0.8085 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.7259, allocations: 4 kB / 0.8085 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.7259, allocations: 8 kB / 0.8086 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.7263, allocations: 109.5 kB / 0.8087 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.582e-06/0.7263, allocations: 0 / 0.8087 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.7263, allocations: 0 / 0.8087 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.801e-06/0.7263, allocations: 0 / 0.8087 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003614/0.7267, allocations: 91.88 kB / 0.8087 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006805/0.7274, allocations: 344.7 kB / 0.8091 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.7278, allocations: 102.5 kB / 0.8092 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.7278, allocations: 4.109 kB / 0.8092 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/0.7282, allocations: 107.3 kB / 0.8093 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.623e-06/0.7282, allocations: 0 / 0.8093 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0007907/0.729, allocations: 239.1 kB / 0.8095 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.7291, allocations: 81.11 kB / 0.8096 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.7292, allocations: 121.2 kB / 0.8097 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.7293, allocations: 29.7 kB / 0.8097 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.7293, allocations: 99.97 kB / 0.8098 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.7294, allocations: 15.81 kB / 0.8098 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.242e-06/0.7294, allocations: 0 / 0.8098 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7296, allocations: 322.8 kB / 0.8101 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.7298, allocations: 55.97 kB / 0.8102 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.73, allocations: 55.95 kB / 0.8102 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.7303, allocations: 107.4 kB / 0.8104 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.797e-06/0.7303, allocations: 0 / 0.8104 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006241/0.7309, allocations: 224.9 kB / 0.8106 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.245e-05/0.731, allocations: 61.09 kB / 0.8106 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.7311, allocations: 3.984 kB / 0.8106 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.7311, allocations: 7.938 kB / 0.8106 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.7313, allocations: 23.88 kB / 0.8107 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.504e-06/0.7313, allocations: 0 / 0.8107 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.7314, allocations: 27.89 kB / 0.8107 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.7315, allocations: 8 kB / 0.8107 GB, free: 11.61 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 () * 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.0001607/0.7317, allocations: 151.5 kB / 0.8108 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.7317, allocations: 7.906 kB / 0.8108 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.766e-05/0.7318, allocations: 8.719 kB / 0.8109 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.841e-06/0.7318, allocations: 0 / 0.8109 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.7318, allocations: 3.953 kB / 0.8109 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.212e-06/0.7318, allocations: 4 kB / 0.8109 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000799/0.7326, allocations: 444.2 kB / 0.8113 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.7326, allocations: 0 / 0.8113 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.7328, allocations: 23.92 kB / 0.8113 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.654e-06/0.7328, allocations: 7.984 kB / 0.8113 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.7328, allocations: 0 / 0.8113 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.036e-06/0.7328, allocations: 3.953 kB / 0.8113 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.731e-06/0.7328, allocations: 0 / 0.8113 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005939/0.7334, allocations: 285.1 kB / 0.8116 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.7335, allocations: 84.95 kB / 0.8117 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.7336, allocations: 8 kB / 0.8117 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.7338, allocations: 15.98 kB / 0.8117 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.7339, allocations: 27.91 kB / 0.8117 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.734, allocations: 8 kB / 0.8117 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.603e-05/0.7341, allocations: 99.83 kB / 0.8118 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.45e-07/0.7341, allocations: 0 / 0.8118 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003525/0.7345, allocations: 20 kB / 0.8118 GB, free: 10.3 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.0001635/0.7346, allocations: 113.5 kB / 0.812 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005891/0.7352, allocations: 238.7 kB / 0.8122 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.96e-06/0.7353, allocations: 0 / 0.8122 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.7356, allocations: 115.8 kB / 0.8123 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.7358, allocations: 12 kB / 0.8123 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/0.7365, allocations: 217.2 kB / 0.8125 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.7369, allocations: 0.6965 MB / 0.8132 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.613e-05/0.737, allocations: 11.98 kB / 0.8132 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.737, allocations: 11.44 kB / 0.8132 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of SimCode: time 1.665e-06/0.737, allocations: 192 / 0.8132 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of Templates: time 0.004506/0.7415, allocations: 1.119 MB / 0.8143 GB, free: 7.703 MB / 0.6355 GB