Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.615/1.615, allocations: 297.8 MB / 313.7 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009145/0.0009145, allocations: 186.8 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.2 MB / 0.6626 GB, free: 4.281 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007472/0.0007473, allocations: 98.78 kB / 0.7808 GB, free: 50.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003773, allocations: 12 kB / 0.9088 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5885/0.5889, allocations: 120.3 MB / 1.026 GB, free: 55.78 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1754/0.7644, allocations: 141.4 MB / 1.164 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.7647, allocations: 72.48 kB / 1.164 GB, free: 2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008087/0.7728, allocations: 2.965 MB / 1.167 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7728, allocations: 0 / 1.167 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.7728, allocations: 0 / 1.167 GB, free: 15.91 MB / 0.7448 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.0004749/0.7733, allocations: 414.1 kB / 1.168 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.7733, allocations: 12.03 kB / 1.168 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.236e-05/0.7734, allocations: 14.62 kB / 1.168 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.7736, allocations: 171 kB / 1.168 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.7736, allocations: 9.906 kB / 1.168 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.7736, allocations: 13.69 kB / 1.168 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.7738, allocations: 46.36 kB / 1.168 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.7738, allocations: 0.7969 kB / 1.168 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.7738, allocations: 8.547 kB / 1.168 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.7738, allocations: 0.5312 kB / 1.168 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.413e-05/0.7739, allocations: 20.89 kB / 1.168 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.7744, allocations: 351.2 kB / 1.168 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.35e-05/0.7745, allocations: 37.5 kB / 1.168 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.7745, allocations: 21.31 kB / 1.168 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.7746, allocations: 0 / 1.168 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.7748, allocations: 94.62 kB / 1.169 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 3.367e-06/0.7748, allocations: 0 / 1.169 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002748/0.7751, allocations: 129.1 kB / 1.169 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.7751, allocations: 53.8 kB / 1.169 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.607e-05/0.7752, allocations: 123.8 kB / 1.169 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.7753, allocations: 30.92 kB / 1.169 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.7754, allocations: 94.06 kB / 1.169 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.7754, allocations: 21.2 kB / 1.169 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/0.7754, allocations: 4.625 kB / 1.169 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.7755, allocations: 318.7 kB / 1.169 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.7757, allocations: 65.56 kB / 1.169 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.7759, allocations: 112.6 kB / 1.169 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.7761, allocations: 184.3 kB / 1.17 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7761, allocations: 0 / 1.17 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004487/0.7766, allocations: 280.4 kB / 1.17 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.735e-05/0.7766, allocations: 71.69 kB / 1.17 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7766, allocations: 1.891 kB / 1.17 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.7767, allocations: 4 kB / 1.17 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.773e-05/0.7767, allocations: 8.594 kB / 1.17 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7767, allocations: 4.766 kB / 1.17 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.7771, allocations: 73.42 kB / 1.17 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/0.7771, allocations: 19.7 kB / 1.17 GB, free: 13.07 MB / 0.7448 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.0001169/0.7772, allocations: 131.5 kB / 1.17 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.7773, allocations: 8.656 kB / 1.17 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.7773, allocations: 9.078 kB / 1.17 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.7773, allocations: 4 kB / 1.17 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.7773, allocations: 1.125 kB / 1.17 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.7773, allocations: 0.6562 kB / 1.17 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.7777, allocations: 364.4 kB / 1.171 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.7777, allocations: 6.25 kB / 1.171 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-05/0.7777, allocations: 0.6562 kB / 1.171 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7777, allocations: 0 / 1.171 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.7777, allocations: 2.531 kB / 1.171 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.7777, allocations: 5.125 kB / 1.171 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7778, allocations: 0 / 1.171 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.778, allocations: 205.8 kB / 1.171 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.778, allocations: 81.67 kB / 1.171 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.778, allocations: 4.891 kB / 1.171 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.149e-05/0.7781, allocations: 4.516 kB / 1.171 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.7781, allocations: 7.281 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.7782, allocations: 4.844 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.795e-05/0.7782, allocations: 95.3 kB / 1.171 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7782, allocations: 0 / 1.171 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002871/0.7785, allocations: 37.41 kB / 1.171 GB, free: 12.07 MB / 0.7448 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.0001753/0.7787, allocations: 118.7 kB / 1.171 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003629/0.7791, allocations: 252 kB / 1.171 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7791, allocations: 0 / 1.171 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.65e-05/0.7792, allocations: 35.12 kB / 1.171 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.7795, allocations: 17.84 kB / 1.171 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.7798, allocations: 185.3 kB / 1.172 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.7801, allocations: 0.6884 MB / 1.172 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.219e-05/0.7801, allocations: 5.984 kB / 1.172 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.7801, allocations: 20.14 kB / 1.172 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.7801, allocations: 0 / 1.172 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.004971/0.7851, allocations: 1.787 MB / 1.174 GB, free: 9.754 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)