Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.312/1.312, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000927/0.0009272, allocations: 176.8 kB / 327.5 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.4 MB / 0.5785 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008735/0.0008736, allocations: 90.3 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003894, allocations: 13.62 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2153, allocations: 106.3 MB / 0.9012 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.3718, allocations: 131.5 MB / 1.03 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.3722, allocations: 71.95 kB / 1.03 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002634/0.3749, allocations: 0.9278 MB / 1.031 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3749, allocations: 0 / 1.031 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.3749, allocations: 0 / 1.031 GB, free: 10.95 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.0005531/0.3755, allocations: 379.3 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.3755, allocations: 8.031 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.3756, allocations: 8.844 kB / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.3758, allocations: 172.4 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.3758, allocations: 12.25 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.3758, allocations: 384 / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.3759, allocations: 54.23 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.376, allocations: 4.188 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.376, allocations: 3.938 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.376, allocations: 4 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.94e-05/0.3761, allocations: 19.98 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.3766, allocations: 292.8 kB / 1.032 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.3767, allocations: 54.44 kB / 1.032 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.3767, allocations: 24.97 kB / 1.032 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.3768, allocations: 7.984 kB / 1.032 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.3769, allocations: 75.38 kB / 1.032 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.377, allocations: 0 / 1.032 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.000247/0.3772, allocations: 109.5 kB / 1.032 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.3773, allocations: 59.34 kB / 1.032 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.774e-05/0.3774, allocations: 113.8 kB / 1.032 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.3774, allocations: 37.64 kB / 1.032 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.3774, allocations: 96.05 kB / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.3775, allocations: 12.56 kB / 1.032 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.3775, allocations: 4 kB / 1.032 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3776, allocations: 322.8 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.131e-05/0.3776, allocations: 12 kB / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.528e-05/0.3777, allocations: 52.28 kB / 1.033 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.87e-05/0.3778, allocations: 76.16 kB / 1.033 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3778, allocations: 0 / 1.033 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001406/0.3779, allocations: 105.5 kB / 1.033 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.378, allocations: 7.938 kB / 1.033 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.378, allocations: 0 / 1.033 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.378, allocations: 4 kB / 1.033 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.719e-05/0.3781, allocations: 4 kB / 1.033 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3781, allocations: 7.938 kB / 1.033 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.377e-05/0.3782, allocations: 15.98 kB / 1.033 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.3782, allocations: 8.094 kB / 1.033 GB, free: 8.57 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 8.518e-05/0.3783, allocations: 134.4 kB / 1.033 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.3783, allocations: 3.906 kB / 1.033 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.3783, allocations: 12.38 kB / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3783, allocations: 0 / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3784, allocations: 0 / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3784, allocations: 0 / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.3788, allocations: 394.3 kB / 1.033 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3788, allocations: 0 / 1.033 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.045e-05/0.3788, allocations: 7.875 kB / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3788, allocations: 3.984 kB / 1.033 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.3788, allocations: 4 kB / 1.033 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3789, allocations: 0 / 1.033 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3789, allocations: 0 / 1.033 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.379, allocations: 187.4 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.3791, allocations: 85.02 kB / 1.034 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.3791, allocations: 4 kB / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3792, allocations: 15.98 kB / 1.034 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.3793, allocations: 11.92 kB / 1.034 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.3793, allocations: 4.078 kB / 1.034 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.32e-05/0.3793, allocations: 99.41 kB / 1.034 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3794, allocations: 4 kB / 1.034 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002385/0.3796, allocations: 12 kB / 1.034 GB, free: 7.504 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.0001233/0.3797, allocations: 108.5 kB / 1.034 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001362/0.3799, allocations: 59.86 kB / 1.034 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3799, allocations: 1.625 kB / 1.034 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.582e-05/0.3799, allocations: 28.17 kB / 1.034 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.3802, allocations: 18.39 kB / 1.034 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.3806, allocations: 185.9 kB / 1.034 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.3808, allocations: 0.6888 MB / 1.035 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.438e-05/0.3809, allocations: 8.656 kB / 1.035 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.3809, allocations: 11.44 kB / 1.035 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of SimCode: time 1.573e-06/0.3809, allocations: 0 / 1.035 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of Templates: time 0.002843/0.3838, allocations: 0.8944 MB / 1.036 GB, free: 5.449 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)