Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009026/0.0009026, allocations: 79.69 kB / 21.74 MB, free: 2.516 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008534/0.0008534, allocations: 173.2 kB / 25.18 MB, free: 9.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9576/0.9576, allocations: 177.1 MB / 205.6 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.894/1.894, allocations: 389.6 MB / 0.6364 GB, free: 12.22 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.7755 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.783e-05, allocations: 5.266 kB / 0.7756 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001693/0.001711, allocations: 0.735 MB / 0.7763 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.003009, allocations: 1.25 MB / 0.7775 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.003053, allocations: 3.875 kB / 0.7775 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.003085, allocations: 3.938 kB / 0.7775 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.126e-05/0.003156, allocations: 11.88 kB / 0.7775 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.003586, allocations: 212.1 kB / 0.7777 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.00377, allocations: 178.4 kB / 0.7779 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.166e-05/0.003842, allocations: 8 kB / 0.7779 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.003951, allocations: 107.2 kB / 0.778 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.004052, allocations: 51.91 kB / 0.778 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.00408, allocations: 16 kB / 0.7781 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.57e-05/0.004156, allocations: 27.98 kB / 0.7781 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.004178, allocations: 11.94 kB / 0.7781 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.004231, allocations: 51.94 kB / 0.7781 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.004392, allocations: 143.6 kB / 0.7783 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004394, allocations: 0 / 0.7783 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004395, allocations: 0 / 0.7783 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.004398, allocations: 3.375 kB / 0.7783 GB, free: 3.199 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.0003357/0.004734, allocations: 332.2 kB / 0.7786 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.004767, allocations: 9.344 kB / 0.7786 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.004802, allocations: 20.91 kB / 0.7786 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.357e-05/0.004876, allocations: 113.7 kB / 0.7787 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.004893, allocations: 8.375 kB / 0.7787 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.004918, allocations: 8.375 kB / 0.7788 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.629e-05/0.004994, allocations: 58.94 kB / 0.7788 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.005001, allocations: 7.875 kB / 0.7788 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.005007, allocations: 1.156 kB / 0.7788 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.005011, allocations: 0 / 0.7788 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.368e-05/0.005025, allocations: 7.984 kB / 0.7788 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.005287, allocations: 189.1 kB / 0.779 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.499e-05/0.005342, allocations: 27.11 kB / 0.779 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.336e-05/0.005356, allocations: 12.94 kB / 0.779 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-06/0.005359, allocations: 0.5938 kB / 0.779 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.59e-05/0.005445, allocations: 96.22 kB / 0.7791 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.005446, allocations: 0 / 0.7791 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001253/0.005571, allocations: 78.19 kB / 0.7792 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.005604, allocations: 59.34 kB / 0.7793 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.526e-05/0.005669, allocations: 135.1 kB / 0.7794 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.00569, allocations: 31.36 kB / 0.7794 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.005729, allocations: 92.36 kB / 0.7795 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.005743, allocations: 19.8 kB / 0.7795 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.005803, allocations: 57.64 kB / 0.7796 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.00588, allocations: 314.8 kB / 0.7799 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-05/0.005952, allocations: 104.1 kB / 0.78 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-05/0.006038, allocations: 142.3 kB / 0.7801 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.006151, allocations: 171 kB / 0.7803 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006153, allocations: 0 / 0.7803 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001971/0.006351, allocations: 274.4 kB / 0.7805 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.006389, allocations: 71.39 kB / 0.7806 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.006393, allocations: 0 / 0.7806 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.006402, allocations: 4 kB / 0.7806 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.603e-05/0.006438, allocations: 12.73 kB / 0.7806 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.006444, allocations: 7.984 kB / 0.7806 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.006575, allocations: 37.41 kB / 0.7807 GB, free: 484 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.006595, allocations: 15.92 kB / 0.7807 GB, free: 468 kB / 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 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.584e-05/0.006661, allocations: 125.9 kB / 0.7808 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.006675, allocations: 19.92 kB / 0.7808 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.006693, allocations: 4.438 kB / 0.7808 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.006695, allocations: 1.562 kB / 0.7808 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.0067, allocations: 11.92 kB / 0.7808 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.006704, allocations: 0 / 0.7808 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.006857, allocations: 218.8 kB / 0.7811 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.006858, allocations: 4.969 kB / 0.7811 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-06/0.006865, allocations: 7.938 kB / 0.7811 GB, free: 48 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006867, allocations: 0 / 0.7811 GB, free: 48 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.006873, allocations: 5.047 kB / 0.7811 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006874, allocations: 0 / 0.7811 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006875, allocations: 0 / 0.7811 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.086e-05/0.006966, allocations: 164 kB / 0.7812 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.006974, allocations: 12.41 kB / 0.7812 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.006987, allocations: 7.984 kB / 0.7813 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.792e-05/0.007015, allocations: 0.9375 kB / 0.7813 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.007037, allocations: 11.98 kB / 0.7813 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.007045, allocations: 1.062 kB / 0.7813 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.486e-05/0.007059, allocations: 16.84 kB / 0.7813 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00706, allocations: 0 / 0.7813 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001475/0.007207, allocations: 32.66 kB / 0.7813 GB, free: 15.79 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.277e-05/0.0073, allocations: 81.55 kB / 0.7814 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.007499, allocations: 280.3 kB / 0.7817 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.007503, allocations: 0 / 0.7817 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.97e-05/0.007533, allocations: 20.86 kB / 0.7817 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.007675, allocations: 26.19 kB / 0.7817 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.007903, allocations: 191.9 kB / 0.7819 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.696e-05/0.00795, allocations: 71.28 kB / 0.782 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.532e-05/0.008045, allocations: 91.77 kB / 0.782 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.008046, allocations: 5.594 kB / 0.782 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.00194/0.009986, allocations: 1.508 MB / 0.7835 GB, free: 13.49 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.577074217610061]