Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.537/2.537, allocations: 284.8 MB / 297.3 MB, free: 6.277 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001461/0.00146, allocations: 184.7 kB / 365.7 MB, free: 2.578 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.2 MB / 0.6241 GB, free: 8.184 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 102 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.709e-05/3.725e-05, allocations: 8 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9462/0.9462, allocations: 115.2 MB / 0.97 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2588/1.205, allocations: 137.9 MB / 1.105 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.205, allocations: 69.97 kB / 1.105 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01594/1.221, allocations: 2.943 MB / 1.108 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.783e-06/1.221, allocations: 0 / 1.108 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.046e-05/1.221, allocations: 0 / 1.108 GB, free: 11.54 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000533/1.222, allocations: 416.5 kB / 1.108 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.222, allocations: 8.031 kB / 1.108 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/1.222, allocations: 9.203 kB / 1.108 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/1.222, allocations: 177.3 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/1.222, allocations: 7.875 kB / 1.108 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/1.222, allocations: 12 kB / 1.108 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/1.223, allocations: 51 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/1.223, allocations: 0 / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/1.223, allocations: 4 kB / 1.108 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/1.223, allocations: 3.984 kB / 1.108 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.979e-05/1.223, allocations: 15.94 kB / 1.108 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/1.223, allocations: 357.3 kB / 1.109 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/1.224, allocations: 38.56 kB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/1.224, allocations: 12.86 kB / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/1.224, allocations: 3.984 kB / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/1.224, allocations: 91.41 kB / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.214e-06/1.224, allocations: 0 / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003307/1.224, allocations: 105.5 kB / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/1.224, allocations: 59.39 kB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/1.224, allocations: 118.2 kB / 1.109 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/1.224, allocations: 33.69 kB / 1.109 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.203e-05/1.225, allocations: 92.38 kB / 1.109 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/1.225, allocations: 19.8 kB / 1.109 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/1.225, allocations: 8 kB / 1.109 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.225, allocations: 322.8 kB / 1.109 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/1.225, allocations: 59.98 kB / 1.11 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/1.225, allocations: 98 kB / 1.11 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/1.226, allocations: 124.9 kB / 1.11 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.226, allocations: 0 / 1.11 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007366/1.226, allocations: 272.8 kB / 1.11 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.398e-05/1.226, allocations: 68.33 kB / 1.11 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.226, allocations: 0 / 1.11 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/1.227, allocations: 11.84 kB / 1.11 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/1.227, allocations: 15.86 kB / 1.11 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/1.227, allocations: 5.969 kB / 1.11 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000661/1.227, allocations: 79.84 kB / 1.11 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/1.227, allocations: 14.69 kB / 1.11 GB, free: 8.621 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001375/1.228, allocations: 117 kB / 1.11 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/1.228, allocations: 4 kB / 1.11 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/1.228, allocations: 8.625 kB / 1.11 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/1.228, allocations: 4 kB / 1.11 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.228, allocations: 4 kB / 1.11 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.228, allocations: 0 / 1.11 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005048/1.228, allocations: 358.4 kB / 1.111 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.228, allocations: 0 / 1.111 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/1.228, allocations: 0 / 1.111 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.228, allocations: 0 / 1.111 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/1.228, allocations: 8 kB / 1.111 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.228, allocations: 0 / 1.111 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.228, allocations: 3.75 kB / 1.111 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/1.229, allocations: 207.3 kB / 1.111 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/1.229, allocations: 81.02 kB / 1.111 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/1.229, allocations: 0 / 1.111 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/1.229, allocations: 4 kB / 1.111 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/1.229, allocations: 11.98 kB / 1.111 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/1.229, allocations: 0 / 1.111 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.342e-05/1.229, allocations: 96.47 kB / 1.111 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.229, allocations: 4 kB / 1.111 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004191/1.229, allocations: 39.89 kB / 1.111 GB, free: 7.594 MB / 0.7136 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * 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.0002102/1.23, allocations: 119.2 kB / 1.111 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005436/1.23, allocations: 250.7 kB / 1.111 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.23, allocations: 0 / 1.111 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/1.23, allocations: 35.92 kB / 1.112 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/1.231, allocations: 16.31 kB / 1.112 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/1.231, allocations: 107.2 kB / 1.112 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/1.231, allocations: 0.6887 MB / 1.112 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.011e-05/1.231, allocations: 15.56 kB / 1.112 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/1.231, allocations: 11.44 kB / 1.112 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/1.232, allocations: 0 / 1.112 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of Templates: time 0.006652/1.238, allocations: 1.733 MB / 1.114 GB, free: 4.621 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)