Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.001013/0.001013, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.001007/0.001007, allocations: 165 kB / 24.25 MB, free: 208 kB / 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.9529/0.9529, allocations: 177.1 MB / 204.7 MB, free: 5.457 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.991/1.991, allocations: 389.6 MB / 0.6355 GB, free: 12.27 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.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.7753 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.831e-05, allocations: 2.969 kB / 0.7753 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.0023/0.002328, allocations: 0.7311 MB / 0.7761 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.00392, allocations: 1.116 MB / 0.7772 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/0.003972, allocations: 0 / 0.7772 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.675e-05/0.004008, allocations: 3.938 kB / 0.7772 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.368e-05/0.004092, allocations: 19.25 kB / 0.7772 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.004348, allocations: 33.31 kB / 0.7772 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.004458, allocations: 52.06 kB / 0.7773 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.151e-05/0.00454, allocations: 9.391 kB / 0.7773 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.88e-05/0.004628, allocations: 29.67 kB / 0.7773 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.451e-05/0.004673, allocations: 18.16 kB / 0.7773 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.004688, allocations: 4 kB / 0.7773 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.564e-05/0.004774, allocations: 24.45 kB / 0.7773 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.004796, allocations: 14.33 kB / 0.7774 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.004825, allocations: 13.62 kB / 0.7774 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.004956, allocations: 51.81 kB / 0.7774 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.004959, allocations: 1.719 kB / 0.7774 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.633e-06/0.004961, allocations: 0 / 0.7774 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.004965, allocations: 0 / 0.7774 GB, free: 3.262 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004585/0.005424, allocations: 260.8 kB / 0.7777 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.005462, allocations: 9.844 kB / 0.7777 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.888e-05/0.005561, allocations: 9.5 kB / 0.7777 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.544e-05/0.005657, allocations: 117.6 kB / 0.7778 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.005672, allocations: 1.625 kB / 0.7778 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.005686, allocations: 8.359 kB / 0.7778 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.005804, allocations: 62.94 kB / 0.7779 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.005812, allocations: 2.938 kB / 0.7779 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.00582, allocations: 4.312 kB / 0.7779 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.005825, allocations: 384 / 0.7779 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.987e-05/0.005855, allocations: 11.94 kB / 0.7779 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.006139, allocations: 164.3 kB / 0.778 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.189e-05/0.006211, allocations: 42.38 kB / 0.7781 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.006227, allocations: 8.859 kB / 0.7781 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.006242, allocations: 4 kB / 0.7781 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.539e-05/0.006317, allocations: 51.39 kB / 0.7781 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.006318, allocations: 0 / 0.7781 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001233/0.006442, allocations: 61.69 kB / 0.7782 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.006481, allocations: 51.41 kB / 0.7782 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.427e-05/0.006555, allocations: 118.6 kB / 0.7784 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.006571, allocations: 33.7 kB / 0.7784 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.006608, allocations: 84.12 kB / 0.7785 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.006631, allocations: 17.48 kB / 0.7785 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.006669, allocations: 25.7 kB / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.006748, allocations: 314.8 kB / 0.7788 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.006764, allocations: 4 kB / 0.7788 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.69e-05/0.0068, allocations: 44.86 kB / 0.7789 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.69e-05/0.006867, allocations: 58.62 kB / 0.7789 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.00687, allocations: 0 / 0.7789 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001034/0.006973, allocations: 62.3 kB / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.006986, allocations: 5.344 kB / 0.779 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.006991, allocations: 4 kB / 0.779 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.007003, allocations: 3.938 kB / 0.779 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.196e-05/0.007095, allocations: 25.05 kB / 0.779 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.0071, allocations: 0 / 0.779 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.007142, allocations: 11.94 kB / 0.779 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.007151, allocations: 5.062 kB / 0.779 GB, free: 1.434 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 7.172e-05/0.007223, allocations: 113.8 kB / 0.7791 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.007233, allocations: 4.484 kB / 0.7791 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.00748, allocations: 67.2 kB / 0.7792 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.007485, allocations: 7.922 kB / 0.7792 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.007487, allocations: 0 / 0.7792 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.00749, allocations: 1.312 kB / 0.7792 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.007686, allocations: 206.7 kB / 0.7794 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.007688, allocations: 3.938 kB / 0.7794 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.007727, allocations: 12.62 kB / 0.7794 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.007729, allocations: 0 / 0.7794 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.007736, allocations: 4.469 kB / 0.7794 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.007739, allocations: 4.672 kB / 0.7794 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.00774, allocations: 0 / 0.7794 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.302e-05/0.007833, allocations: 141.1 kB / 0.7796 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-06/0.007841, allocations: 0 / 0.7796 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.007858, allocations: 7.938 kB / 0.7796 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.438e-05/0.007912, allocations: 7.984 kB / 0.7796 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.007944, allocations: 11.19 kB / 0.7796 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.007949, allocations: 0 / 0.7796 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.526e-05/0.007964, allocations: 12.84 kB / 0.7796 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007964, allocations: 0 / 0.7796 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002094/0.008173, allocations: 19.94 kB / 0.7796 GB, free: 0.7734 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: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001264/0.0083, allocations: 80.41 kB / 0.7797 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.269e-05/0.008392, allocations: 43.73 kB / 0.7797 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.008395, allocations: 0 / 0.7797 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.637e-05/0.008431, allocations: 16.86 kB / 0.7798 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.008605, allocations: 4 kB / 0.7798 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.009053, allocations: 154.2 kB / 0.7799 GB, free: 452 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.009097, allocations: 59.34 kB / 0.78 GB, free: 372 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.009126, allocations: 0 / 0.78 GB, free: 372 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.009192, allocations: 64.48 kB / 0.78 GB, free: 308 kB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.009193, allocations: 0 / 0.78 GB, free: 308 kB / 0.7292 GB Notification: Performance of Templates: time 0.003058/0.01225, allocations: 0.8715 MB / 0.7809 GB, free: 15.48 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.116298577748239]