Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.075/2.075, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 183.3 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.3/2.3, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 98.33 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007292/0.0007292, allocations: 12.53 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2887, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2215/0.5103, allocations: 133.1 MB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/0.5107, allocations: 95.92 kB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007333/0.518, allocations: 1.516 MB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5181, allocations: 0 / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.5181, allocations: 4 kB / 1.03 GB, free: 10.6 MB / 0.6823 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.0007898/0.5189, allocations: 450.4 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.519, allocations: 8.031 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.519, allocations: 7.906 kB / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.5193, allocations: 190.8 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.5193, allocations: 7.938 kB / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.5193, allocations: 15.94 kB / 1.031 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.5198, allocations: 97.62 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.5198, allocations: 0 / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.5198, allocations: 0 / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.5198, allocations: 4 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005206/0.5204, allocations: 83.94 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00077/0.5212, allocations: 352.6 kB / 1.032 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.5217, allocations: 98.52 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.5217, allocations: 0 / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004209/0.5221, allocations: 111.5 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.5222, allocations: 0 / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.00103/0.5232, allocations: 239.4 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.5233, allocations: 85.09 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.5234, allocations: 119.1 kB / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.5235, allocations: 29.7 kB / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.5235, allocations: 104 kB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.5236, allocations: 15.73 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.5236, allocations: 8 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5238, allocations: 318.8 kB / 1.033 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.5241, allocations: 59.91 kB / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.5244, allocations: 55.95 kB / 1.033 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.5247, allocations: 103.4 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5247, allocations: 0 / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007528/0.5255, allocations: 233 kB / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.108e-05/0.5256, allocations: 67.39 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5256, allocations: 4 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.5256, allocations: 0 / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.5258, allocations: 19.94 kB / 1.033 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.5258, allocations: 4 kB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.5261, allocations: 20.83 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.5261, allocations: 4 kB / 1.033 GB, free: 7.465 MB / 0.6823 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.0001456/0.5263, allocations: 149.6 kB / 1.033 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.5263, allocations: 11.91 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.5264, allocations: 8.719 kB / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.5264, allocations: 4 kB / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.5264, allocations: 3.953 kB / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.5264, allocations: 0 / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009168/0.5273, allocations: 452 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5274, allocations: 0 / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.5275, allocations: 23.97 kB / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.5276, allocations: 0 / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.5276, allocations: 0 / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5276, allocations: 7.953 kB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5276, allocations: 0 / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007477/0.5284, allocations: 289 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.5284, allocations: 89.03 kB / 1.034 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.5285, allocations: 0 / 1.034 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.5287, allocations: 15.98 kB / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.5289, allocations: 31.91 kB / 1.034 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.5289, allocations: 4 kB / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.757e-05/0.529, allocations: 101.8 kB / 1.034 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.1e-07/0.529, allocations: 4 kB / 1.034 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003289/0.5294, allocations: 23.91 kB / 1.034 GB, free: 6.156 MB / 0.6823 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.0001587/0.5296, allocations: 99.25 kB / 1.034 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007727/0.5303, allocations: 238.7 kB / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5304, allocations: 0 / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.5307, allocations: 123.4 kB / 1.035 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.531, allocations: 8.219 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007155/0.5317, allocations: 224.9 kB / 1.035 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.5321, allocations: 0.6965 MB / 1.036 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.836e-05/0.5322, allocations: 11.84 kB / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.5322, allocations: 11.44 kB / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of SimCode: time 9.12e-07/0.5322, allocations: 0 / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of Templates: time 0.004826/0.5371, allocations: 1.098 MB / 1.037 GB, free: 3.578 MB / 0.6823 GB