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.0009569/0.0009569, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001104/0.001104, allocations: 161 kB / 24.17 MB, free: 332 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 1.023/1.023, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.932/1.932, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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 3.176e-06/3.176e-06, allocations: 0 / 0.7751 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.852e-05, allocations: 3.031 kB / 0.7751 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.005028/0.005056, allocations: 0.6835 MB / 0.7758 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.006511, allocations: 1.118 MB / 0.7769 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.006566, allocations: 0 / 0.7769 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.006596, allocations: 0.9375 kB / 0.7769 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/0.00668, allocations: 11.22 kB / 0.7769 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003373/0.01005, allocations: 48.52 kB / 0.777 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.01017, allocations: 55.83 kB / 0.777 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.189e-05/0.01025, allocations: 5.25 kB / 0.777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.712e-05/0.01035, allocations: 26.38 kB / 0.777 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.0104, allocations: 21.17 kB / 0.7771 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.01042, allocations: 5.219 kB / 0.7771 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.087e-05/0.01049, allocations: 20.64 kB / 0.7771 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.01051, allocations: 7.828 kB / 0.7771 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.01053, allocations: 19.97 kB / 0.7771 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.01067, allocations: 52.47 kB / 0.7772 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.01067, allocations: 0 / 0.7772 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.851e-06/0.01068, allocations: 4.594 kB / 0.7772 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.01068, allocations: 1.156 kB / 0.7772 GB, free: 3.387 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.0003819/0.01106, allocations: 248.8 kB / 0.7774 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.0111, allocations: 13.34 kB / 0.7774 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.01121, allocations: 13.86 kB / 0.7774 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.089e-05/0.0113, allocations: 113.7 kB / 0.7775 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.01131, allocations: 5.281 kB / 0.7775 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.01133, allocations: 384 / 0.7775 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.01145, allocations: 63.47 kB / 0.7776 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.01146, allocations: 192 / 0.7776 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.01146, allocations: 1.844 kB / 0.7776 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.01147, allocations: 4.375 kB / 0.7776 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.815e-05/0.0115, allocations: 15.86 kB / 0.7776 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.0118, allocations: 168.8 kB / 0.7778 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.101e-05/0.01187, allocations: 27.7 kB / 0.7778 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.01189, allocations: 13.06 kB / 0.7778 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.01191, allocations: 5.703 kB / 0.7778 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.005e-05/0.01199, allocations: 63.22 kB / 0.7779 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.01199, allocations: 4 kB / 0.7779 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001331/0.01212, allocations: 57.61 kB / 0.7779 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.01216, allocations: 55.41 kB / 0.778 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.01223, allocations: 115.5 kB / 0.7781 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.01225, allocations: 25.7 kB / 0.7781 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.01228, allocations: 88.98 kB / 0.7782 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.0123, allocations: 15.83 kB / 0.7782 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.01234, allocations: 28.86 kB / 0.7783 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.387e-05/0.01243, allocations: 322.8 kB / 0.7786 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.01245, allocations: 7.984 kB / 0.7786 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.641e-05/0.01248, allocations: 36.28 kB / 0.7786 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003101/0.01558, allocations: 55.81 kB / 0.7787 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.01559, allocations: 0 / 0.7787 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001262/0.01571, allocations: 69.55 kB / 0.7787 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.01573, allocations: 4 kB / 0.7787 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.01573, allocations: 0 / 0.7787 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.01575, allocations: 7.938 kB / 0.7787 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.01585, allocations: 16.23 kB / 0.7788 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.01586, allocations: 1.594 kB / 0.7788 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.0159, allocations: 15.98 kB / 0.7788 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.01591, allocations: 4 kB / 0.7788 GB, free: 1.559 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.466e-05/0.01599, allocations: 118 kB / 0.7789 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.016, allocations: 8 kB / 0.7789 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.01611, allocations: 55.08 kB / 0.779 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01611, allocations: 3.938 kB / 0.779 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.01611, allocations: 0 / 0.779 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01611, allocations: 0.9375 kB / 0.779 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.01632, allocations: 206.7 kB / 0.7792 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01633, allocations: 0 / 0.7792 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.026e-05/0.01637, allocations: 12.92 kB / 0.7792 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01637, allocations: 0 / 0.7792 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.01638, allocations: 9.406 kB / 0.7792 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01638, allocations: 0 / 0.7792 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01638, allocations: 0 / 0.7792 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.01648, allocations: 147.5 kB / 0.7793 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.01649, allocations: 12.98 kB / 0.7793 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.01651, allocations: 7.938 kB / 0.7793 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.763e-05/0.01657, allocations: 4 kB / 0.7793 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.0166, allocations: 9.047 kB / 0.7794 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.01661, allocations: 0 / 0.7794 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.78e-05/0.01662, allocations: 8.859 kB / 0.7794 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01662, allocations: 0.5 kB / 0.7794 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002417/0.01687, allocations: 16.69 kB / 0.7794 GB, free: 0.9062 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.0001437/0.01701, allocations: 85.53 kB / 0.7795 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.187e-05/0.0171, allocations: 33.52 kB / 0.7795 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.01711, allocations: 4 kB / 0.7795 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.634e-05/0.01714, allocations: 25.61 kB / 0.7795 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.01734, allocations: 8.516 kB / 0.7795 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.0178, allocations: 150.2 kB / 0.7797 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.914e-05/0.01784, allocations: 55.36 kB / 0.7797 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.998e-05/0.01787, allocations: 8.859 kB / 0.7797 GB, free: 496 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.792e-05/0.01793, allocations: 56.69 kB / 0.7798 GB, free: 440 kB / 0.7292 GB Notification: Performance of SimCode: time 9.11e-07/0.01793, allocations: 4 kB / 0.7798 GB, free: 436 kB / 0.7292 GB Notification: Performance of Templates: time 0.006261/0.02419, allocations: 0.8642 MB / 0.7806 GB, free: 15.61 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.040665159933269]