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.0007408/0.0007408, allocations: 79.69 kB / 21.74 MB, free: 2.512 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.0008111/0.0008111, allocations: 173 kB / 25.18 MB, free: 8.918 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.9383/0.9383, allocations: 177.1 MB / 205.6 MB, free: 5.371 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.872/1.872, 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.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.876e-06/2.876e-06, allocations: 0 / 0.7755 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/3.046e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001868/0.001899, allocations: 0.7227 MB / 0.7762 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.003235, allocations: 1.116 MB / 0.7773 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.003287, allocations: 6.531 kB / 0.7773 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.003323, allocations: 3.938 kB / 0.7773 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.553e-05/0.003398, allocations: 10.66 kB / 0.7773 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.003653, allocations: 41.36 kB / 0.7774 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.58e-05/0.003749, allocations: 47.52 kB / 0.7774 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.05e-05/0.00382, allocations: 4 kB / 0.7774 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.208e-05/0.003902, allocations: 41.11 kB / 0.7775 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.988e-05/0.003952, allocations: 14.06 kB / 0.7775 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.003966, allocations: 4 kB / 0.7775 GB, free: 4.012 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.166e-05/0.004048, allocations: 27.92 kB / 0.7775 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.004068, allocations: 13.12 kB / 0.7775 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.004098, allocations: 11.98 kB / 0.7775 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.00421, allocations: 51.81 kB / 0.7776 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.004212, allocations: 0 / 0.7776 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.52e-07/0.004213, allocations: 0 / 0.7776 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.004216, allocations: 0 / 0.7776 GB, free: 3.91 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.0003263/0.004542, allocations: 256.5 kB / 0.7778 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.004575, allocations: 9.344 kB / 0.7778 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.663e-05/0.004661, allocations: 16.92 kB / 0.7779 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.32e-05/0.004744, allocations: 113.7 kB / 0.778 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.004754, allocations: 384 / 0.778 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.004766, allocations: 4.375 kB / 0.778 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.739e-05/0.004864, allocations: 62.94 kB / 0.778 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.004871, allocations: 192 / 0.778 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.004877, allocations: 384 / 0.778 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.004886, allocations: 1.25 kB / 0.778 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.909e-05/0.004915, allocations: 19.91 kB / 0.778 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.005177, allocations: 169.9 kB / 0.7782 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.449e-05/0.005241, allocations: 30.64 kB / 0.7782 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.624e-05/0.005257, allocations: 12.98 kB / 0.7783 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.005271, allocations: 4.547 kB / 0.7783 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.617e-05/0.005337, allocations: 55.84 kB / 0.7783 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.005338, allocations: 3.5 kB / 0.7783 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001204/0.005458, allocations: 65.55 kB / 0.7784 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.005496, allocations: 51.41 kB / 0.7784 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.005562, allocations: 118.7 kB / 0.7785 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.005573, allocations: 25.7 kB / 0.7786 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.005606, allocations: 88.12 kB / 0.7786 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.005623, allocations: 11.91 kB / 0.7787 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.005661, allocations: 29.69 kB / 0.7787 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.00574, allocations: 310.8 kB / 0.779 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.005755, allocations: 15.42 kB / 0.779 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.754e-05/0.005793, allocations: 44.22 kB / 0.779 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.289e-05/0.005866, allocations: 56.22 kB / 0.7791 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.005868, allocations: 0 / 0.7791 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.379e-05/0.005961, allocations: 62.67 kB / 0.7792 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.005974, allocations: 12.47 kB / 0.7792 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.005978, allocations: 0 / 0.7792 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.005987, allocations: 4.656 kB / 0.7792 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.00607, allocations: 20.86 kB / 0.7792 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.006073, allocations: 0 / 0.7792 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.61e-05/0.006109, allocations: 15.92 kB / 0.7792 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.006117, allocations: 5.75 kB / 0.7792 GB, free: 2.074 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 6.214e-05/0.006179, allocations: 115 kB / 0.7793 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.00619, allocations: 7.938 kB / 0.7793 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.807e-05/0.006268, allocations: 58.11 kB / 0.7794 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.006271, allocations: 4.625 kB / 0.7794 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006273, allocations: 1.594 kB / 0.7794 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.006276, allocations: 0 / 0.7794 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.006446, allocations: 202.7 kB / 0.7796 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.006448, allocations: 0 / 0.7796 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.006481, allocations: 11.98 kB / 0.7796 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.006483, allocations: 0.8125 kB / 0.7796 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.00649, allocations: 7.938 kB / 0.7796 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.006491, allocations: 0.875 kB / 0.7796 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.006492, allocations: 0 / 0.7796 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.59e-05/0.006578, allocations: 144.1 kB / 0.7797 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-06/0.006584, allocations: 192 / 0.7797 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.006601, allocations: 16.66 kB / 0.7798 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.654e-05/0.006647, allocations: 4 kB / 0.7798 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.006675, allocations: 9.078 kB / 0.7798 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.006679, allocations: 0 / 0.7798 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.313e-05/0.006692, allocations: 8.859 kB / 0.7798 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006692, allocations: 1.469 kB / 0.7798 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001941/0.006886, allocations: 23.92 kB / 0.7798 GB, free: 1.422 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.0001093/0.006996, allocations: 81.34 kB / 0.7799 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.786e-05/0.007074, allocations: 41.78 kB / 0.7799 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.00708, allocations: 4 kB / 0.7799 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-05/0.007111, allocations: 20.84 kB / 0.7799 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.007262, allocations: 7.016 kB / 0.7799 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.00766, allocations: 183.9 kB / 0.7801 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.691e-05/0.007716, allocations: 64.41 kB / 0.7802 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.007772, allocations: 63.36 kB / 0.7802 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.007772, allocations: 0 / 0.7802 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of Templates: time 0.001784/0.009556, allocations: 0.8991 MB / 0.7811 GB, free: 44 kB / 0.7292 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 > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.633387053385377]