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.002202/0.002202, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002546/0.002546, allocations: 212.9 kB / 23.02 MB, free: 2.949 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 1.9/1.9, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 178] 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 3.481/3.481, allocations: 0.5045 GB / 0.8104 GB, free: 2.789 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.005013/0.005013, allocations: 67.89 kB / 1.177 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9825/0.9876, allocations: 180 MB / 1.353 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002101/0.9897, allocations: 0.6684 MB / 1.354 GB, free: 0.9766 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.9913, allocations: 1.081 MB / 1.355 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.9914, allocations: 0 / 1.355 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/0.9914, allocations: 7.922 kB / 1.355 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.665e-05/0.9915, allocations: 11.88 kB / 1.355 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.9918, allocations: 51.83 kB / 1.355 GB, free: 15.81 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 9.561e-05/0.9919, allocations: 35.92 kB / 1.355 GB, free: 15.78 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.992, allocations: 11.98 kB / 1.355 GB, free: 15.77 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.992, allocations: 19.88 kB / 1.355 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.094e-05/0.9921, allocations: 27.89 kB / 1.355 GB, free: 15.72 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.9921, allocations: 4 kB / 1.355 GB, free: 15.71 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.941e-05/0.9922, allocations: 20 kB / 1.355 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.9922, allocations: 7.984 kB / 1.355 GB, free: 15.69 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.9922, allocations: 23.86 kB / 1.355 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.9924, allocations: 58.66 kB / 1.355 GB, free: 15.61 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9924, allocations: 0 / 1.355 GB, free: 15.61 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9924, allocations: 0 / 1.355 GB, free: 15.61 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.9924, allocations: 0 / 1.355 GB, free: 15.61 MB / 1.042 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.0005773/0.993, allocations: 287.7 kB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.993, allocations: 12.92 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.128e-05/0.9931, allocations: 8.891 kB / 1.355 GB, free: 15.28 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.9932, allocations: 114.5 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.9932, allocations: 12.31 kB / 1.355 GB, free: 15.13 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.9933, allocations: 4.375 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.9935, allocations: 66.16 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.9935, allocations: 192 / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.9935, allocations: 3.938 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.9935, allocations: 0 / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.9937, allocations: 47.89 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.9941, allocations: 220.5 kB / 1.356 GB, free: 14.76 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.9943, allocations: 54.48 kB / 1.356 GB, free: 14.7 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.9944, allocations: 28.91 kB / 1.356 GB, free: 14.66 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.9944, allocations: 7.984 kB / 1.356 GB, free: 14.66 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.9946, allocations: 67.39 kB / 1.356 GB, free: 14.58 MB / 1.042 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.9946, allocations: 0 / 1.356 GB, free: 14.58 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.0003978/0.995, allocations: 121.6 kB / 1.356 GB, free: 14.45 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.9951, allocations: 55.41 kB / 1.356 GB, free: 14.39 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.9952, allocations: 113.8 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.9952, allocations: 25.7 kB / 1.356 GB, free: 14.23 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/0.9952, allocations: 92.08 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.9953, allocations: 11.89 kB / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.9953, allocations: 25.72 kB / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.9955, allocations: 318.8 kB / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.817e-05/0.9956, allocations: 27.98 kB / 1.357 GB, free: 13.75 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.9957, allocations: 56.27 kB / 1.357 GB, free: 13.68 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.9959, allocations: 88.19 kB / 1.357 GB, free: 13.58 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.9959, allocations: 4 kB / 1.357 GB, free: 13.57 MB / 1.042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002778/0.9962, allocations: 113.4 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.9962, allocations: 7.984 kB / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001656/0.9964, allocations: 4 kB / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.9964, allocations: 0 / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.9965, allocations: 19.92 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.9965, allocations: 160 / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/0.9966, allocations: 16 kB / 1.357 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.9966, allocations: 0 / 1.357 GB, free: 13.41 MB / 1.042 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 0.0001092/0.9967, allocations: 130.2 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.9967, allocations: 3.953 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.997, allocations: 106.3 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.997, allocations: 192 / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.997, allocations: 8.047 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.997, allocations: 3.938 kB / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.9974, allocations: 294.2 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.9974, allocations: 0 / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.9975, allocations: 15.92 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9975, allocations: 3.938 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.9975, allocations: 4 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.9975, allocations: 4 kB / 1.357 GB, free: 12.79 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.9975, allocations: 0 / 1.357 GB, free: 12.79 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.9978, allocations: 195.4 kB / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-06/0.9978, allocations: 4 kB / 1.358 GB, free: 12.58 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.9978, allocations: 4 kB / 1.358 GB, free: 12.58 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.9979, allocations: 7.984 kB / 1.358 GB, free: 12.57 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.998, allocations: 3.984 kB / 1.358 GB, free: 12.57 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.998, allocations: 4 kB / 1.358 GB, free: 12.56 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.498e-05/0.998, allocations: 83.28 kB / 1.358 GB, free: 12.48 MB / 1.042 GB Notification: Performance of sort global known variables: time 9e-08/0.998, allocations: 0 / 1.358 GB, free: 12.48 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002328/0.9983, allocations: 12 kB / 1.358 GB, free: 12.47 MB / 1.042 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.0001584/0.9984, allocations: 111.2 kB / 1.358 GB, free: 12.35 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.9987, allocations: 67.83 kB / 1.358 GB, free: 12.29 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.9987, allocations: 0 / 1.358 GB, free: 12.29 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.9988, allocations: 27.97 kB / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.999, allocations: 8 kB / 1.358 GB, free: 12.25 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.9995, allocations: 146.3 kB / 1.358 GB, free: 12.08 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.5e-05/0.9996, allocations: 71.34 kB / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.957e-05/0.9996, allocations: 0 / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.9996, allocations: 15.42 kB / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of SimCode: time 6.31e-07/0.9996, allocations: 0 / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of Templates: time 0.0045/1.004, allocations: 0.8549 MB / 1.359 GB, free: 11.14 MB / 1.042 GB " [Timeout remaining time 299] 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: 10.754845979623497]