Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.405/2.405, allocations: 252.6 MB / 265.2 MB, free: 5.77 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.001816/0.001816, allocations: 179.9 kB / 324.5 MB, free: 14.41 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.231/2.231, allocations: 205.4 MB / 0.5754 GB, free: 10.52 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.001149/0.001149, allocations: 100.2 kB / 0.6797 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.168e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2024, allocations: 106.2 MB / 0.8949 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8639/1.066, allocations: 131.3 MB / 1.023 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/1.067, allocations: 69.27 kB / 1.023 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003958/1.071, allocations: 0.9297 MB / 1.024 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.484e-06/1.071, allocations: 0 / 1.024 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.213e-05/1.071, allocations: 4 kB / 1.024 GB, free: 2.402 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006144/1.071, allocations: 358 kB / 1.024 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/1.071, allocations: 8.031 kB / 1.024 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/1.071, allocations: 15.88 kB / 1.024 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/1.072, allocations: 177.5 kB / 1.025 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/1.072, allocations: 3 kB / 1.025 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/1.072, allocations: 4 kB / 1.025 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/1.072, allocations: 53.69 kB / 1.025 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.072, allocations: 0 / 1.025 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/1.072, allocations: 7.984 kB / 1.025 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.072, allocations: 4 kB / 1.025 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.675e-05/1.072, allocations: 17.94 kB / 1.025 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006298/1.073, allocations: 293.3 kB / 1.025 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/1.073, allocations: 52.81 kB / 1.025 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/1.073, allocations: 24.48 kB / 1.025 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/1.073, allocations: 4 kB / 1.025 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/1.073, allocations: 80.92 kB / 1.025 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.414e-06/1.073, allocations: 0 / 1.025 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002885/1.073, allocations: 88.03 kB / 1.025 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/1.074, allocations: 59.36 kB / 1.025 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/1.074, allocations: 111.7 kB / 1.025 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/1.074, allocations: 28.64 kB / 1.025 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/1.074, allocations: 96 kB / 1.025 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/1.074, allocations: 23.42 kB / 1.026 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-06/1.074, allocations: 0 / 1.026 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.074, allocations: 314.8 kB / 1.026 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.655e-05/1.074, allocations: 19.5 kB / 1.026 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.622e-05/1.074, allocations: 55.28 kB / 1.026 GB, free: 440 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.272e-05/1.074, allocations: 15 kB / 1.026 GB, free: 432 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.074, allocations: 4 kB / 1.026 GB, free: 428 kB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002209/1.075, allocations: 92.39 kB / 1.026 GB, free: 340 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.075, allocations: 9.094 kB / 1.026 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/1.075, allocations: 0 / 1.026 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/1.075, allocations: 8.094 kB / 1.026 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.393e-05/1.075, allocations: 11.8 kB / 1.026 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/1.075, allocations: 7.953 kB / 1.026 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/1.075, allocations: 11.98 kB / 1.026 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/1.075, allocations: 4.469 kB / 1.026 GB, free: 292 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition4,$whenCondition3,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,$whenCondition2,onCounter.reset,$PRE.reset.pulseStart,reset.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001063/1.075, allocations: 112.8 kB / 1.026 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/1.075, allocations: 15.05 kB / 1.026 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/1.075, allocations: 12.25 kB / 1.026 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/1.075, allocations: 4 kB / 1.026 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/1.075, allocations: 3.938 kB / 1.026 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/1.075, allocations: 7.938 kB / 1.026 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008162/1.076, allocations: 383.6 kB / 1.027 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.076, allocations: 4 kB / 1.027 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-05/1.076, allocations: 0 / 1.027 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.076, allocations: 0 / 1.027 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/1.076, allocations: 0 / 1.027 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/1.076, allocations: 11.89 kB / 1.027 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.076, allocations: 3.938 kB / 1.027 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/1.076, allocations: 181.1 kB / 1.027 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/1.076, allocations: 85.02 kB / 1.027 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/1.077, allocations: 7.938 kB / 1.027 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/1.077, allocations: 15.98 kB / 1.027 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/1.077, allocations: 19.73 kB / 1.027 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/1.077, allocations: 4 kB / 1.027 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.874e-05/1.077, allocations: 86.41 kB / 1.027 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.077, allocations: 0 / 1.027 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003165/1.077, allocations: 15.41 kB / 1.027 GB, free: 15.29 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: 9 (booPul.y,onCounter.reset,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,onCounter.y,booPul.pulseStart,reset.pulseStart) * Number of discrete states: 1 (onCounter.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001579/1.077, allocations: 107.2 kB / 1.027 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002009/1.078, allocations: 57.06 kB / 1.027 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.078, allocations: 0 / 1.027 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.139e-05/1.078, allocations: 31.75 kB / 1.027 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/1.078, allocations: 14.86 kB / 1.027 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/1.078, allocations: 109.1 kB / 1.027 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/1.079, allocations: 0.6945 MB / 1.028 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.763e-05/1.079, allocations: 4.672 kB / 1.028 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/1.079, allocations: 15.42 kB / 1.028 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/1.079, allocations: 0 / 1.028 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of Templates: time 0.004426/1.083, allocations: 0.8959 MB / 1.029 GB, free: 13.37 MB / 0.6511 GB