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.0009406/0.0009406, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001152/0.002093, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009334/0.0009334, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00118/0.002113, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9349/0.9349, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09248/1.027, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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 2.031/2.031, allocations: 389.9 MB / 0.619 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5324/2.563, allocations: 127.1 MB / 0.7432 GB, free: 4.574 MB / 0.7136 GB " [Timeout remaining time 177] 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.933e-06/1.933e-06, allocations: 0.875 kB / 0.7444 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.319e-05, allocations: 2.312 kB / 0.7444 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001299/0.001322, allocations: 0.728 MB / 0.7452 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.002482, allocations: 1.108 MB / 0.7462 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.002526, allocations: 1.5 kB / 0.7462 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.002547, allocations: 3.938 kB / 0.7462 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.843e-05/0.002586, allocations: 11.31 kB / 0.7463 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.002755, allocations: 54.27 kB / 0.7463 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.606e-05/0.002842, allocations: 44.3 kB / 0.7464 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.561e-05/0.002917, allocations: 12 kB / 0.7464 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.826e-05/0.003005, allocations: 34.8 kB / 0.7464 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.609e-05/0.003052, allocations: 13.41 kB / 0.7464 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.003065, allocations: 8 kB / 0.7464 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.788e-05/0.003143, allocations: 20.97 kB / 0.7464 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.003159, allocations: 6.547 kB / 0.7464 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.003183, allocations: 13.53 kB / 0.7465 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.003294, allocations: 45.03 kB / 0.7465 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.003309, allocations: 0 / 0.7465 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.32e-07/0.00331, allocations: 0.7656 kB / 0.7465 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.003327, allocations: 0 / 0.7465 GB, free: 1.25 MB / 0.7136 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.0004052/0.003732, allocations: 264.5 kB / 0.7468 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.003762, allocations: 12.03 kB / 0.7468 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.003872, allocations: 88.05 kB / 0.7468 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.754e-05/0.003949, allocations: 118.3 kB / 0.747 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.00396, allocations: 4.375 kB / 0.747 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.003968, allocations: 4.375 kB / 0.747 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.004074, allocations: 62.94 kB / 0.747 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.004081, allocations: 1.344 kB / 0.747 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.004087, allocations: 384 / 0.747 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.004092, allocations: 1.469 kB / 0.747 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.598e-05/0.004118, allocations: 16.92 kB / 0.747 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.004379, allocations: 172.2 kB / 0.7472 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.45e-05/0.004443, allocations: 35.22 kB / 0.7472 GB, free: 400 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.004459, allocations: 9.578 kB / 0.7473 GB, free: 388 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.004479, allocations: 1.5 kB / 0.7473 GB, free: 388 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.864e-05/0.004557, allocations: 63.45 kB / 0.7473 GB, free: 312 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.004559, allocations: 0 / 0.7473 GB, free: 312 kB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.000111/0.00467, allocations: 53.62 kB / 0.7474 GB, free: 252 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.004708, allocations: 60.5 kB / 0.7474 GB, free: 180 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.875e-05/0.004767, allocations: 115.1 kB / 0.7475 GB, free: 52 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.004779, allocations: 25.7 kB / 0.7476 GB, free: 20 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.004826, allocations: 94.47 kB / 0.7477 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.004843, allocations: 15.84 kB / 0.7477 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.004875, allocations: 33.62 kB / 0.7477 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.004944, allocations: 312.1 kB / 0.748 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.004957, allocations: 8 kB / 0.748 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.149e-05/0.004989, allocations: 48.14 kB / 0.748 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.958e-05/0.005039, allocations: 49.88 kB / 0.7481 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.00504, allocations: 3.469 kB / 0.7481 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.405e-05/0.005114, allocations: 69.55 kB / 0.7482 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.005128, allocations: 8 kB / 0.7482 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.005132, allocations: 0 / 0.7482 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.005142, allocations: 7.938 kB / 0.7482 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.778e-05/0.00522, allocations: 15.98 kB / 0.7482 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.005226, allocations: 7.719 kB / 0.7482 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.005251, allocations: 4 kB / 0.7482 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.005257, allocations: 0 / 0.7482 GB, free: 15.31 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.988e-05/0.005327, allocations: 121.8 kB / 0.7483 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.005337, allocations: 4 kB / 0.7483 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.207e-05/0.005419, allocations: 54.11 kB / 0.7484 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.005423, allocations: 7.938 kB / 0.7484 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.005425, allocations: 0 / 0.7484 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.005428, allocations: 0 / 0.7484 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.005582, allocations: 217.7 kB / 0.7486 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.005583, allocations: 0 / 0.7486 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.005612, allocations: 4 kB / 0.7486 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.005622, allocations: 11.92 kB / 0.7486 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.005623, allocations: 0 / 0.7486 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.005628, allocations: 384 / 0.7486 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.005629, allocations: 0 / 0.7486 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.005631, allocations: 4 kB / 0.7486 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.218e-05/0.005703, allocations: 151.5 kB / 0.7488 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.005718, allocations: 7.922 kB / 0.7488 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.241e-05/0.00575, allocations: 4 kB / 0.7488 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.005776, allocations: 7.984 kB / 0.7488 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.00578, allocations: 4 kB / 0.7488 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.264e-05/0.005793, allocations: 12.84 kB / 0.7488 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.005793, allocations: 0 / 0.7488 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001417/0.005935, allocations: 8 kB / 0.7488 GB, free: 14.66 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.0001272/0.006062, allocations: 92.34 kB / 0.7489 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.684e-05/0.006149, allocations: 40.86 kB / 0.7489 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.006153, allocations: 0 / 0.7489 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.691e-05/0.00618, allocations: 20.8 kB / 0.7489 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.006342, allocations: 15.98 kB / 0.749 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.006973, allocations: 152.4 kB / 0.7491 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.406e-05/0.007007, allocations: 62.09 kB / 0.7492 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.48e-05/0.007032, allocations: 0 / 0.7492 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.00708, allocations: 55.38 kB / 0.7492 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of SimCode: time 1.072e-06/0.007081, allocations: 0 / 0.7492 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of Templates: time 0.002669/0.00975, allocations: 0.8934 MB / 0.7501 GB, free: 13.33 MB / 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 -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.057277544401586]