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.0009687/0.0009687, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.001206/0.001206, allocations: 161.3 kB / 24.96 MB, free: 7.719 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.9744/0.9744, allocations: 177.1 MB / 205.4 MB, free: 5.477 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.952/1.952, allocations: 389.6 MB / 0.6362 GB, free: 12.29 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 3.788e-06/3.788e-06, allocations: 0 / 0.776 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.249e-05, allocations: 6.594 kB / 0.776 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001631/0.001663, allocations: 0.7349 MB / 0.7767 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.002926, allocations: 1.253 MB / 0.7779 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.002968, allocations: 0 / 0.7779 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.002998, allocations: 3.938 kB / 0.7779 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.081e-05/0.003078, allocations: 15.97 kB / 0.7779 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005216/0.0036, allocations: 209.3 kB / 0.7781 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.003807, allocations: 180.6 kB / 0.7783 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.716e-05/0.003884, allocations: 15.22 kB / 0.7783 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.003999, allocations: 96.09 kB / 0.7784 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.004101, allocations: 51.91 kB / 0.7785 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.004126, allocations: 19.94 kB / 0.7785 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.38e-05/0.0042, allocations: 31.92 kB / 0.7785 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.004222, allocations: 11.98 kB / 0.7785 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.004275, allocations: 59.88 kB / 0.7786 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.004435, allocations: 131.7 kB / 0.7787 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.00444, allocations: 7.484 kB / 0.7787 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004441, allocations: 0 / 0.7787 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.004444, allocations: 0 / 0.7787 GB, free: 2.551 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.0003374/0.004781, allocations: 332.2 kB / 0.779 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.004814, allocations: 13.33 kB / 0.7791 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.004851, allocations: 12.92 kB / 0.7791 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.496e-05/0.004925, allocations: 121.6 kB / 0.7792 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.004941, allocations: 8.375 kB / 0.7792 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.004959, allocations: 12.38 kB / 0.7792 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.211e-05/0.005031, allocations: 54.94 kB / 0.7793 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.005038, allocations: 4.969 kB / 0.7793 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.005045, allocations: 0 / 0.7793 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.005049, allocations: 0 / 0.7793 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.362e-05/0.005063, allocations: 12.89 kB / 0.7793 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.005333, allocations: 188.2 kB / 0.7794 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.638e-05/0.005389, allocations: 27.12 kB / 0.7795 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.005404, allocations: 17.52 kB / 0.7795 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.005411, allocations: 1.062 kB / 0.7795 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.929e-05/0.0055, allocations: 87.17 kB / 0.7796 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.005501, allocations: 0.6562 kB / 0.7796 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001305/0.005632, allocations: 85.59 kB / 0.7797 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.005662, allocations: 56.97 kB / 0.7797 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/0.005723, allocations: 126.6 kB / 0.7798 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.005744, allocations: 33.7 kB / 0.7799 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.005779, allocations: 88.36 kB / 0.7799 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.005795, allocations: 28.48 kB / 0.78 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.005848, allocations: 45.67 kB / 0.78 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.675e-05/0.005915, allocations: 319.9 kB / 0.7803 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.005984, allocations: 95.38 kB / 0.7804 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.006067, allocations: 149.3 kB / 0.7806 GB, free: 476 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.006172, allocations: 167.7 kB / 0.7807 GB, free: 276 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.006175, allocations: 4 kB / 0.7807 GB, free: 272 kB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001953/0.00637, allocations: 273.8 kB / 0.781 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.006411, allocations: 67.39 kB / 0.781 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.006417, allocations: 4.812 kB / 0.7811 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.006426, allocations: 3.938 kB / 0.7811 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.844e-05/0.006465, allocations: 12.84 kB / 0.7811 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.006468, allocations: 0 / 0.7811 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.006598, allocations: 41.33 kB / 0.7811 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.006617, allocations: 15.98 kB / 0.7811 GB, free: 15.82 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 (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.84e-05/0.006685, allocations: 123.4 kB / 0.7812 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.006697, allocations: 9.406 kB / 0.7812 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.006719, allocations: 16.42 kB / 0.7813 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.00672, allocations: 0 / 0.7813 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.006722, allocations: 0 / 0.7813 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.006725, allocations: 1.125 kB / 0.7813 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.006874, allocations: 214.8 kB / 0.7815 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.006876, allocations: 3.938 kB / 0.7815 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-06/0.006882, allocations: 1.062 kB / 0.7815 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006883, allocations: 0 / 0.7815 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.00689, allocations: 8 kB / 0.7815 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.006892, allocations: 0.5 kB / 0.7815 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.006894, allocations: 5.031 kB / 0.7815 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.941e-05/0.006973, allocations: 163.4 kB / 0.7816 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/0.006982, allocations: 11.89 kB / 0.7817 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.006993, allocations: 0.9688 kB / 0.7817 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.95e-05/0.007023, allocations: 4 kB / 0.7817 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.007045, allocations: 7.984 kB / 0.7817 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.007055, allocations: 4.781 kB / 0.7817 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.437e-05/0.007069, allocations: 13.39 kB / 0.7817 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007069, allocations: 5.125 kB / 0.7817 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001598/0.007229, allocations: 35.94 kB / 0.7817 GB, free: 15.16 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 0.0001036/0.007332, allocations: 85.84 kB / 0.7818 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.007523, allocations: 272.4 kB / 0.7821 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.007527, allocations: 0 / 0.7821 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.007553, allocations: 28.78 kB / 0.7821 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.007711, allocations: 27.44 kB / 0.7821 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002322/0.007943, allocations: 156.8 kB / 0.7823 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.565e-05/0.007979, allocations: 65 kB / 0.7823 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.995e-05/0.007999, allocations: 4.734 kB / 0.7823 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.859e-05/0.008097, allocations: 79.34 kB / 0.7824 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/0.008098, allocations: 0.5938 kB / 0.7824 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of Templates: time 0.0037/0.0118, allocations: 2.309 MB / 0.7847 GB, free: 12.18 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.057268369011581]