Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.766/1.766, allocations: 293 MB / 309 MB, free: 4.848 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.001318/0.001318, allocations: 175.7 kB / 378.7 MB, free: 1.027 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.736/1.736, allocations: 205.4 MB / 0.6383 GB, free: 8.227 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007648/0.0007647, allocations: 87.41 kB / 0.7527 GB, free: 62.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004475, allocations: 16 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2948, allocations: 116.4 MB / 0.9905 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7734/1.068, allocations: 139.2 MB / 1.126 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/1.069, allocations: 71.59 kB / 1.126 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00792/1.077, allocations: 2.964 MB / 1.129 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.756e-06/1.077, allocations: 0 / 1.129 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.845e-06/1.077, allocations: 0 / 1.129 GB, free: 32.54 MB / 0.7292 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.0004188/1.077, allocations: 414.3 kB / 1.13 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/1.077, allocations: 12.03 kB / 1.13 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.886e-05/1.077, allocations: 9.406 kB / 1.13 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/1.077, allocations: 176.2 kB / 1.13 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/1.077, allocations: 8.375 kB / 1.13 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/1.077, allocations: 20.41 kB / 1.13 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/1.077, allocations: 46.19 kB / 1.13 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/1.077, allocations: 192 / 1.13 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/1.077, allocations: 7.938 kB / 1.13 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/1.077, allocations: 0.5625 kB / 1.13 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.536e-05/1.078, allocations: 15.31 kB / 1.13 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/1.078, allocations: 351.7 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.947e-05/1.078, allocations: 44.48 kB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/1.078, allocations: 16.23 kB / 1.13 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/1.078, allocations: 4 kB / 1.13 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/1.078, allocations: 89.12 kB / 1.131 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 2.255e-06/1.078, allocations: 0.5625 kB / 1.131 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0002489/1.079, allocations: 124.8 kB / 1.131 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/1.079, allocations: 59.41 kB / 1.131 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/1.079, allocations: 124.5 kB / 1.131 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/1.079, allocations: 29.7 kB / 1.131 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/1.079, allocations: 92.36 kB / 1.131 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/1.079, allocations: 19.05 kB / 1.131 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/1.079, allocations: 8.562 kB / 1.131 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.563e-05/1.079, allocations: 314.2 kB / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/1.079, allocations: 58.94 kB / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/1.079, allocations: 123.5 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/1.079, allocations: 185.3 kB / 1.132 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/1.079, allocations: 4 kB / 1.132 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004015/1.08, allocations: 278.3 kB / 1.132 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/1.08, allocations: 70.83 kB / 1.132 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/1.08, allocations: 0 / 1.132 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/1.08, allocations: 4 kB / 1.132 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.274e-05/1.08, allocations: 7.469 kB / 1.132 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/1.08, allocations: 4.719 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/1.08, allocations: 70.48 kB / 1.132 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/1.08, allocations: 19.52 kB / 1.132 GB, free: 29.68 MB / 0.7292 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.0001037/1.08, allocations: 137.1 kB / 1.132 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/1.08, allocations: 10.62 kB / 1.132 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/1.08, allocations: 8.375 kB / 1.132 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.08, allocations: 0 / 1.132 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.08, allocations: 5.469 kB / 1.132 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.08, allocations: 0 / 1.132 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/1.081, allocations: 362.8 kB / 1.133 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/1.081, allocations: 0.8438 kB / 1.133 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.051e-05/1.081, allocations: 4.75 kB / 1.133 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.081, allocations: 0 / 1.133 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/1.081, allocations: 0 / 1.133 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.081, allocations: 4 kB / 1.133 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.081, allocations: 0 / 1.133 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/1.081, allocations: 207.1 kB / 1.133 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/1.081, allocations: 81.02 kB / 1.133 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/1.081, allocations: 8 kB / 1.133 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.896e-05/1.081, allocations: 3.516 kB / 1.133 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/1.081, allocations: 5.031 kB / 1.133 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/1.081, allocations: 4.062 kB / 1.133 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.76e-05/1.081, allocations: 106.6 kB / 1.133 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.081, allocations: 0 / 1.133 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002702/1.081, allocations: 32 kB / 1.133 GB, free: 28.68 MB / 0.7292 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.000158/1.082, allocations: 119.6 kB / 1.133 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002973/1.082, allocations: 248.9 kB / 1.133 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/1.082, allocations: 0 / 1.133 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.015e-05/1.082, allocations: 36.77 kB / 1.133 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/1.082, allocations: 16.38 kB / 1.133 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/1.083, allocations: 184.9 kB / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/1.083, allocations: 0.6889 MB / 1.134 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.432e-05/1.083, allocations: 4.672 kB / 1.134 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/1.083, allocations: 11.44 kB / 1.134 GB, free: 27.35 MB / 0.7292 GB Notification: Performance of SimCode: time 2.114e-06/1.083, allocations: 4 kB / 1.134 GB, free: 27.35 MB / 0.7292 GB Notification: Performance of Templates: time 0.004285/1.087, allocations: 1.772 MB / 1.136 GB, free: 26.36 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)