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.351/2.351, allocations: 251.1 MB / 266.1 MB, free: 11.54 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.001476/0.001476, allocations: 177.4 kB / 325.6 MB, free: 2.797 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.473/2.473, allocations: 205.4 MB / 0.5766 GB, free: 21.12 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.001146/0.001146, allocations: 101.7 kB / 0.6811 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006865/0.0006865, allocations: 14.38 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2286, allocations: 106.2 MB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2762/0.5048, allocations: 131.4 MB / 1.027 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/0.5052, allocations: 71.95 kB / 1.027 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005173/0.5104, allocations: 0.9268 MB / 1.028 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.775e-06/0.5105, allocations: 0 / 1.028 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.5105, allocations: 4 kB / 1.028 GB, free: 13.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009444/0.5115, allocations: 375.1 kB / 1.029 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.727e-05/0.5116, allocations: 8.031 kB / 1.029 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.721e-05/0.5116, allocations: 7.906 kB / 1.029 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.5119, allocations: 171 kB / 1.029 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.5119, allocations: 8 kB / 1.029 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.512, allocations: 4 kB / 1.029 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.5122, allocations: 57.61 kB / 1.029 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5122, allocations: 3.938 kB / 1.029 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.5123, allocations: 0 / 1.029 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.5123, allocations: 4 kB / 1.029 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.5124, allocations: 15.98 kB / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009108/0.5134, allocations: 300.8 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.5136, allocations: 46.5 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.5137, allocations: 4 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.514, allocations: 83.56 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 4.218e-06/0.514, allocations: 4 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0004892/0.5145, allocations: 105.5 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.5146, allocations: 59.36 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.5148, allocations: 109 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.5148, allocations: 29.69 kB / 1.029 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.018e-05/0.5149, allocations: 95.91 kB / 1.03 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.515, allocations: 15.81 kB / 1.03 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-06/0.515, allocations: 0 / 1.03 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.5152, allocations: 322.8 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.5153, allocations: 23.88 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.5155, allocations: 49.03 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.831e-05/0.5156, allocations: 20 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5156, allocations: 0 / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00034/0.516, allocations: 101.5 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.516, allocations: 8 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.516, allocations: 0 / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.5161, allocations: 3.984 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.5162, allocations: 8 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.5162, allocations: 7.922 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.5165, allocations: 23.94 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.5165, allocations: 8.094 kB / 1.03 GB, free: 11.07 MB / 0.6823 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 () * Number of clocked 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.0001703/0.5167, allocations: 121.8 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.5168, allocations: 11.89 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.025e-05/0.5169, allocations: 12.36 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5169, allocations: 4 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5169, allocations: 0 / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.5169, allocations: 4 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.518, allocations: 386.4 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.518, allocations: 0 / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.518, allocations: 4 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.5181, allocations: 0 / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.5181, allocations: 4 kB / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.5181, allocations: 7.891 kB / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.5181, allocations: 4 kB / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.5185, allocations: 183.4 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.5186, allocations: 92.94 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.5187, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.519, allocations: 15.92 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/0.519, allocations: 19.94 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.5191, allocations: 4 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001102/0.5192, allocations: 95.39 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/0.5192, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006044/0.5198, allocations: 16 kB / 1.031 GB, free: 10.01 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: 9 (booPul.y,onCounter.reset,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,onCounter.y,booPul.pulseStart,reset.pulseStart) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * 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.0001936/0.52, allocations: 99.25 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002998/0.5204, allocations: 55.91 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.5204, allocations: 1.047 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.5205, allocations: 36.12 kB / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.521, allocations: 11.98 kB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006651/0.5217, allocations: 171.3 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.5221, allocations: 0.6965 MB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.088e-05/0.5222, allocations: 12.66 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.5223, allocations: 19.38 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of SimCode: time 1.012e-06/0.5223, allocations: 0 / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of Templates: time 0.00587/0.5282, allocations: 0.8843 MB / 1.033 GB, free: 7.969 MB / 0.6823 GB