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.477/2.477, allocations: 253.2 MB / 260.6 MB, free: 7.422 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.001456/0.001456, allocations: 182.3 kB / 319.9 MB, free: 3.082 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.224/2.224, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001096/0.001096, allocations: 78.77 kB / 0.6751 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.543e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2064, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9444/1.151, allocations: 131.5 MB / 1.017 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/1.151, allocations: 71.14 kB / 1.017 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003681/1.155, allocations: 0.9131 MB / 1.018 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/1.155, allocations: 0 / 1.018 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.081e-05/1.155, allocations: 8 kB / 1.018 GB, free: 4.879 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.0006031/1.156, allocations: 357.5 kB / 1.018 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.156, allocations: 8.031 kB / 1.018 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/1.156, allocations: 7.906 kB / 1.018 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/1.156, allocations: 174.3 kB / 1.019 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/1.156, allocations: 4 kB / 1.019 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/1.156, allocations: 4 kB / 1.019 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001094/1.156, allocations: 27.86 kB / 1.019 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/1.156, allocations: 41.5 kB / 1.019 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/1.156, allocations: 4 kB / 1.019 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/1.156, allocations: 0 / 1.019 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/1.156, allocations: 3.938 kB / 1.019 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006087/1.157, allocations: 278.5 kB / 1.019 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/1.157, allocations: 42.5 kB / 1.019 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/1.157, allocations: 18.55 kB / 1.019 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/1.157, allocations: 0 / 1.019 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/1.157, allocations: 83.45 kB / 1.019 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.994e-06/1.157, allocations: 0 / 1.019 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.000265/1.158, allocations: 87.52 kB / 1.019 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/1.158, allocations: 62.84 kB / 1.019 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/1.158, allocations: 103.7 kB / 1.019 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/1.158, allocations: 33.69 kB / 1.019 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/1.158, allocations: 86.75 kB / 1.019 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/1.158, allocations: 15.19 kB / 1.019 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/1.158, allocations: 3.938 kB / 1.019 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.158, allocations: 322.8 kB / 1.02 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.674e-05/1.158, allocations: 14.94 kB / 1.02 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.204e-05/1.158, allocations: 44.86 kB / 1.02 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.175e-05/1.158, allocations: 21.55 kB / 1.02 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/1.158, allocations: 0 / 1.02 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002081/1.159, allocations: 90.02 kB / 1.02 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.159, allocations: 4 kB / 1.02 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.159, allocations: 0 / 1.02 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/1.159, allocations: 4.469 kB / 1.02 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.67e-05/1.159, allocations: 4 kB / 1.02 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/1.159, allocations: 7.938 kB / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/1.159, allocations: 19.55 kB / 1.02 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/1.159, allocations: 8.047 kB / 1.02 GB, free: 2.836 MB / 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.0001046/1.159, allocations: 108.9 kB / 1.02 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/1.159, allocations: 7.906 kB / 1.02 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/1.159, allocations: 15.94 kB / 1.02 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.159, allocations: 4 kB / 1.02 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.159, allocations: 0 / 1.02 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.159, allocations: 0 / 1.02 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007129/1.16, allocations: 359.7 kB / 1.02 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.16, allocations: 0 / 1.02 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.516e-05/1.16, allocations: 7.938 kB / 1.02 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/1.16, allocations: 0 / 1.02 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/1.16, allocations: 0 / 1.02 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.16, allocations: 0 / 1.02 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.16, allocations: 0 / 1.02 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/1.16, allocations: 183.8 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/1.16, allocations: 88.95 kB / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/1.16, allocations: 0 / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/1.161, allocations: 15.98 kB / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/1.161, allocations: 11.97 kB / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/1.161, allocations: 7.812 kB / 1.021 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.485e-05/1.161, allocations: 87.34 kB / 1.021 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.161, allocations: 0 / 1.021 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003412/1.161, allocations: 16.23 kB / 1.021 GB, free: 1.898 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: 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.0001704/1.161, allocations: 103.2 kB / 1.021 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001808/1.162, allocations: 56.67 kB / 1.021 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.162, allocations: 0 / 1.021 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.849e-05/1.162, allocations: 31.48 kB / 1.021 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/1.162, allocations: 19.17 kB / 1.021 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/1.162, allocations: 105.9 kB / 1.021 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/1.163, allocations: 0.6942 MB / 1.022 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.065e-05/1.163, allocations: 4.672 kB / 1.022 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/1.163, allocations: 11.44 kB / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of SimCode: time 7.12e-07/1.163, allocations: 4 kB / 1.022 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of Templates: time 0.004331/1.167, allocations: 0.8552 MB / 1.023 GB, free: 20 kB / 0.6355 GB