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.246/2.246, allocations: 252.6 MB / 265.2 MB, free: 5.664 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001485, allocations: 191.8 kB / 324.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.4 MB / 0.5753 GB, free: 10.46 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.001156/0.001156, allocations: 98 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.265e-05, allocations: 4 kB / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2009, allocations: 106.2 MB / 0.8949 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8404/1.041, allocations: 133 MB / 1.025 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/1.042, allocations: 94.86 kB / 1.025 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007371/1.049, allocations: 1.518 MB / 1.026 GB, free: 80 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/1.049, allocations: 0 / 1.026 GB, free: 80 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.091e-05/1.049, allocations: 0 / 1.026 GB, free: 80 kB / 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.0007778/1.05, allocations: 444.1 kB / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/1.05, allocations: 12.03 kB / 1.027 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.977e-05/1.05, allocations: 4 kB / 1.027 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/1.05, allocations: 195.5 kB / 1.027 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/1.05, allocations: 4 kB / 1.027 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/1.051, allocations: 7.375 kB / 1.027 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/1.051, allocations: 70.61 kB / 1.027 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.051, allocations: 4 kB / 1.027 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/1.051, allocations: 0 / 1.027 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/1.051, allocations: 4 kB / 1.027 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/1.051, allocations: 38.86 kB / 1.027 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008337/1.052, allocations: 345.5 kB / 1.027 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/1.052, allocations: 52.66 kB / 1.027 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.816e-05/1.052, allocations: 32.05 kB / 1.028 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/1.052, allocations: 0 / 1.028 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/1.052, allocations: 91.36 kB / 1.028 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/1.052, allocations: 0 / 1.028 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003747/1.053, allocations: 138 kB / 1.028 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/1.053, allocations: 81.11 kB / 1.028 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/1.053, allocations: 119.6 kB / 1.028 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/1.053, allocations: 29.64 kB / 1.028 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/1.053, allocations: 94.67 kB / 1.028 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/1.053, allocations: 27.22 kB / 1.028 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/1.053, allocations: 0 / 1.028 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.053, allocations: 322.4 kB / 1.028 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.962e-05/1.053, allocations: 34.25 kB / 1.028 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.714e-05/1.054, allocations: 30.56 kB / 1.028 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/1.054, allocations: 73.83 kB / 1.028 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/1.054, allocations: 4 kB / 1.028 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003932/1.054, allocations: 173.5 kB / 1.029 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.971e-05/1.054, allocations: 64.84 kB / 1.029 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/1.054, allocations: 0 / 1.029 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/1.054, allocations: 3.953 kB / 1.029 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/1.055, allocations: 23.98 kB / 1.029 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.055, allocations: 0 / 1.029 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/1.055, allocations: 23.97 kB / 1.029 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/1.055, allocations: 0 / 1.029 GB, free: 13.49 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.0001304/1.055, allocations: 138.2 kB / 1.029 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/1.055, allocations: 16.19 kB / 1.029 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/1.055, allocations: 15.86 kB / 1.029 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.055, allocations: 4 kB / 1.029 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.055, allocations: 7.891 kB / 1.029 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.055, allocations: 4 kB / 1.029 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005735/1.056, allocations: 383.4 kB / 1.029 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/1.056, allocations: 3.984 kB / 1.029 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/1.056, allocations: 15.98 kB / 1.029 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/1.056, allocations: 7.984 kB / 1.029 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/1.056, allocations: 7.453 kB / 1.029 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.056, allocations: 4 kB / 1.029 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.056, allocations: 3.938 kB / 1.029 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/1.056, allocations: 226.3 kB / 1.03 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/1.056, allocations: 81.11 kB / 1.03 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/1.057, allocations: 7.172 kB / 1.03 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/1.057, allocations: 23.94 kB / 1.03 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/1.057, allocations: 27.03 kB / 1.03 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/1.057, allocations: 3.562 kB / 1.03 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001072/1.057, allocations: 103.2 kB / 1.03 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.4e-07/1.057, allocations: 0 / 1.03 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003254/1.057, allocations: 23.84 kB / 1.03 GB, free: 12.36 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.0001669/1.058, allocations: 102.6 kB / 1.03 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003682/1.058, allocations: 188.9 kB / 1.03 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.058, allocations: 4 kB / 1.03 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/1.058, allocations: 84.47 kB / 1.03 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/1.059, allocations: 19.23 kB / 1.03 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/1.059, allocations: 131.7 kB / 1.03 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/1.059, allocations: 0.6964 MB / 1.031 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001064/1.06, allocations: 15.84 kB / 1.031 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/1.06, allocations: 15.42 kB / 1.031 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of SimCode: time 1.523e-06/1.06, allocations: 0 / 1.031 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of Templates: time 0.005003/1.065, allocations: 1.107 MB / 1.032 GB, free: 10.01 MB / 0.6511 GB