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.0009507/0.0009507, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.001026/0.001026, allocations: 172.7 kB / 25.05 MB, free: 9.199 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.9369/0.9369, allocations: 177.1 MB / 205.5 MB, free: 5.445 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.919/1.919, allocations: 389.6 MB / 0.6363 GB, free: 12.28 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 1.863e-06/1.863e-06, allocations: 0 / 0.7761 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.087e-05, allocations: 7.875 kB / 0.7761 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001799/0.00182, allocations: 0.728 MB / 0.7768 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.003154, allocations: 1.114 MB / 0.7779 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.003199, allocations: 0 / 0.7779 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.935e-05/0.003238, allocations: 3.938 kB / 0.7779 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.497e-05/0.003313, allocations: 7.109 kB / 0.7779 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.003561, allocations: 53.36 kB / 0.778 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.241e-05/0.003654, allocations: 47.62 kB / 0.778 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.315e-05/0.003727, allocations: 15.2 kB / 0.778 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/0.0038, allocations: 25.5 kB / 0.7781 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.003842, allocations: 18.5 kB / 0.7781 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.003855, allocations: 4 kB / 0.7781 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.39e-05/0.003929, allocations: 23.97 kB / 0.7781 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.003947, allocations: 9.422 kB / 0.7781 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.003971, allocations: 16.58 kB / 0.7781 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.004072, allocations: 47.88 kB / 0.7782 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004074, allocations: 0 / 0.7782 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.32e-07/0.004075, allocations: 3.531 kB / 0.7782 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.004078, allocations: 0 / 0.7782 GB, free: 3.184 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.0003085/0.004387, allocations: 256.8 kB / 0.7784 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.004416, allocations: 9.344 kB / 0.7784 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.728e-05/0.004493, allocations: 8.922 kB / 0.7784 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.984e-05/0.004563, allocations: 121.6 kB / 0.7786 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.004572, allocations: 4.375 kB / 0.7786 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.004582, allocations: 8.375 kB / 0.7786 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.281e-05/0.004665, allocations: 55.94 kB / 0.7786 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.004671, allocations: 192 / 0.7786 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.004678, allocations: 8.375 kB / 0.7786 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.004682, allocations: 1.25 kB / 0.7786 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.151e-05/0.004703, allocations: 11.92 kB / 0.7787 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.004929, allocations: 168.8 kB / 0.7788 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.708e-05/0.004986, allocations: 27.2 kB / 0.7788 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.283e-05/0.004999, allocations: 9.953 kB / 0.7788 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.005014, allocations: 4 kB / 0.7789 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.736e-05/0.005071, allocations: 60.16 kB / 0.7789 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 9.21e-07/0.005072, allocations: 0 / 0.7789 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 9.53e-05/0.005168, allocations: 63.08 kB / 0.779 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.005198, allocations: 51.41 kB / 0.779 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.083e-05/0.005249, allocations: 118.8 kB / 0.7791 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.005259, allocations: 25.7 kB / 0.7792 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.327e-05/0.005283, allocations: 84.77 kB / 0.7792 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.0053, allocations: 19.84 kB / 0.7793 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.005326, allocations: 22.81 kB / 0.7793 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.005393, allocations: 322.8 kB / 0.7796 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.00541, allocations: 7.984 kB / 0.7796 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.005437, allocations: 37.95 kB / 0.7796 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.73e-05/0.005484, allocations: 56.95 kB / 0.7797 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005486, allocations: 1.844 kB / 0.7797 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.851e-05/0.005555, allocations: 69.55 kB / 0.7798 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.005565, allocations: 7.156 kB / 0.7798 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.005571, allocations: 8 kB / 0.7798 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.005578, allocations: 4.875 kB / 0.7798 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.005639, allocations: 15.98 kB / 0.7798 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.005642, allocations: 4.5 kB / 0.7798 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.005668, allocations: 8.859 kB / 0.7798 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.005673, allocations: 3.938 kB / 0.7798 GB, free: 1.355 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 5.219e-05/0.005725, allocations: 118.8 kB / 0.7799 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.005732, allocations: 4 kB / 0.7799 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.245e-05/0.005795, allocations: 54.11 kB / 0.78 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.005798, allocations: 9.406 kB / 0.78 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.0058, allocations: 0 / 0.78 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.005803, allocations: 0 / 0.78 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.005939, allocations: 206.7 kB / 0.7802 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005941, allocations: 1.125 kB / 0.7802 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/0.005965, allocations: 11.97 kB / 0.7802 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.005966, allocations: 0 / 0.7802 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.005972, allocations: 9 kB / 0.7802 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.005974, allocations: 0 / 0.7802 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.005975, allocations: 0 / 0.7802 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.499e-05/0.00604, allocations: 148 kB / 0.7803 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-06/0.006047, allocations: 9 kB / 0.7803 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.006059, allocations: 3.938 kB / 0.7804 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.168e-05/0.006091, allocations: 4 kB / 0.7804 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.006116, allocations: 5.109 kB / 0.7804 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.006121, allocations: 8 kB / 0.7804 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.317e-05/0.006134, allocations: 17.88 kB / 0.7804 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006134, allocations: 0 / 0.7804 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001307/0.006265, allocations: 16.67 kB / 0.7804 GB, free: 0.6953 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 8.927e-05/0.006354, allocations: 77.23 kB / 0.7805 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.591e-05/0.00643, allocations: 41.91 kB / 0.7805 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.006432, allocations: 0 / 0.7805 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.611e-05/0.006458, allocations: 14.3 kB / 0.7805 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.00658, allocations: 15.98 kB / 0.7805 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.006907, allocations: 153.8 kB / 0.7807 GB, free: 368 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.868e-05/0.006936, allocations: 59.34 kB / 0.7807 GB, free: 288 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.003e-05/0.006956, allocations: 5.5 kB / 0.7808 GB, free: 284 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.006997, allocations: 55.38 kB / 0.7808 GB, free: 228 kB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.006998, allocations: 0 / 0.7808 GB, free: 228 kB / 0.7292 GB Notification: Performance of Templates: time 0.002189/0.009186, allocations: 0.8604 MB / 0.7816 GB, free: 15.41 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: 4.726633637212217]