Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.685/1.685, allocations: 288.3 MB / 303.2 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 191.4 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 94.86 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004129, allocations: 17.34 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2686, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8123/1.081, allocations: 138.2 MB / 1.114 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/1.081, allocations: 69.75 kB / 1.114 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00839/1.09, allocations: 2.952 MB / 1.117 GB, free: 31.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/1.09, allocations: 0 / 1.117 GB, free: 31.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.672e-06/1.09, allocations: 0 / 1.117 GB, free: 31.88 MB / 0.698 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.0004546/1.09, allocations: 416.1 kB / 1.118 GB, free: 31.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.09, allocations: 7.75 kB / 1.118 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.728e-05/1.09, allocations: 19.47 kB / 1.118 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/1.09, allocations: 181 kB / 1.118 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/1.09, allocations: 3.812 kB / 1.118 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/1.09, allocations: 14.72 kB / 1.118 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/1.091, allocations: 48.62 kB / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/1.091, allocations: 0 / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.091, allocations: 3.625 kB / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/1.091, allocations: 3.812 kB / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.665e-05/1.091, allocations: 13.48 kB / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/1.091, allocations: 361.9 kB / 1.118 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.58e-05/1.091, allocations: 36.08 kB / 1.118 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/1.091, allocations: 4 kB / 1.118 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/1.091, allocations: 83.62 kB / 1.118 GB, free: 30.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/1.091, allocations: 0 / 1.118 GB, free: 30.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002687/1.092, allocations: 130 kB / 1.119 GB, free: 30.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/1.092, allocations: 53.75 kB / 1.119 GB, free: 30.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/1.092, allocations: 111.8 kB / 1.119 GB, free: 30.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/1.092, allocations: 40.67 kB / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/1.092, allocations: 91.59 kB / 1.119 GB, free: 30.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/1.092, allocations: 20.95 kB / 1.119 GB, free: 30.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/1.092, allocations: 3.812 kB / 1.119 GB, free: 30.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.092, allocations: 321 kB / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/1.092, allocations: 64.14 kB / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/1.092, allocations: 113.6 kB / 1.119 GB, free: 30.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/1.093, allocations: 115 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.093, allocations: 3.938 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003676/1.093, allocations: 278.6 kB / 1.12 GB, free: 29.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/1.093, allocations: 69.33 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.093, allocations: 7.125 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/1.093, allocations: 3.812 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.818e-05/1.093, allocations: 7.812 kB / 1.12 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/1.093, allocations: 3.938 kB / 1.12 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/1.093, allocations: 77.55 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/1.093, allocations: 14.52 kB / 1.12 GB, free: 29.89 MB / 0.698 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 () * Number of clocked 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.0001164/1.094, allocations: 132.3 kB / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/1.094, allocations: 3.906 kB / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/1.094, allocations: 18.03 kB / 1.12 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/1.094, allocations: 0 / 1.12 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.094, allocations: 0 / 1.12 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/1.094, allocations: 0 / 1.12 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/1.094, allocations: 360.2 kB / 1.12 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.094, allocations: 0 / 1.12 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.043e-05/1.094, allocations: 2.953 kB / 1.12 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.094, allocations: 3.938 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/1.094, allocations: 6.344 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.094, allocations: 4 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.094, allocations: 0 / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/1.094, allocations: 205 kB / 1.121 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/1.094, allocations: 83.55 kB / 1.121 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/1.094, allocations: 3.844 kB / 1.121 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.974e-05/1.094, allocations: 2.688 kB / 1.121 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/1.094, allocations: 6.922 kB / 1.121 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/1.094, allocations: 10.66 kB / 1.121 GB, free: 29.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.436e-05/1.094, allocations: 98.02 kB / 1.121 GB, free: 29.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/1.094, allocations: 0 / 1.121 GB, free: 29.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002589/1.095, allocations: 32.94 kB / 1.121 GB, free: 29.12 MB / 0.698 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) * 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.0001652/1.095, allocations: 112.2 kB / 1.121 GB, free: 29.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003214/1.095, allocations: 259.9 kB / 1.121 GB, free: 28.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.095, allocations: 320 / 1.121 GB, free: 28.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.811e-05/1.095, allocations: 36.52 kB / 1.121 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/1.095, allocations: 17.86 kB / 1.121 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/1.096, allocations: 178.4 kB / 1.121 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/1.096, allocations: 0.6969 MB / 1.122 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.636e-05/1.096, allocations: 4.547 kB / 1.122 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/1.096, allocations: 13.94 kB / 1.122 GB, free: 28.05 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.096, allocations: 3.844 kB / 1.122 GB, free: 28.05 MB / 0.698 GB Notification: Performance of Templates: time 0.003777/1.1, allocations: 1.73 MB / 1.124 GB, free: 27.9 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)