Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001334/0.001334, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001668/0.001668, allocations: 170.5 kB / 24.84 MB, free: 9.254 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.981/0.981, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6173/0.6173, allocations: 115 MB / 376.8 MB, free: 7.48 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 482.7 MB, free: 11.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.239e-05, allocations: 4.469 kB / 482.7 MB, free: 11.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001629/0.001652, allocations: 0.6696 MB / 483.4 MB, free: 11.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.002868, allocations: 1.112 MB / 484.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.241e-05/0.002921, allocations: 5.031 kB / 484.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.81e-05/0.002949, allocations: 3.938 kB / 484.5 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/0.003019, allocations: 0 / 484.5 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.003273, allocations: 50.98 kB / 484.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.128e-05/0.003364, allocations: 46.89 kB / 484.6 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.206e-05/0.003446, allocations: 15.38 kB / 484.6 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.031e-05/0.003526, allocations: 28.44 kB / 484.7 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.387e-05/0.00357, allocations: 16.33 kB / 484.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.003587, allocations: 3.281 kB / 484.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.517e-05/0.003652, allocations: 27.69 kB / 484.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.003671, allocations: 9.156 kB / 484.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.003698, allocations: 13.45 kB / 484.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.003811, allocations: 55.8 kB / 484.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.093e-06/0.003813, allocations: 1.656 kB / 484.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003814, allocations: 0 / 484.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.003818, allocations: 1.031 kB / 484.8 MB, free: 10.38 MB / 410.7 MB 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.0003354/0.004153, allocations: 382.2 kB / 485.2 MB, free: 10 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.004191, allocations: 9.25 kB / 485.2 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.885e-05/0.00428, allocations: 6.5 kB / 485.2 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.36e-05/0.004344, allocations: 123.8 kB / 485.3 MB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.004355, allocations: 6.375 kB / 485.3 MB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.004367, allocations: 3.562 kB / 485.3 MB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.004482, allocations: 67.23 kB / 485.4 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.00449, allocations: 1.188 kB / 485.4 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.004498, allocations: 384 / 485.4 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.004504, allocations: 1.5 kB / 485.4 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.144e-05/0.004535, allocations: 16.67 kB / 485.4 MB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.004822, allocations: 259.2 kB / 485.6 MB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.481e-05/0.004896, allocations: 43.53 kB / 485.7 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.004916, allocations: 15.12 kB / 485.7 MB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.004932, allocations: 1.062 kB / 485.7 MB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.815e-05/0.005, allocations: 68.23 kB / 485.8 MB, free: 9.426 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.005001, allocations: 1.688 kB / 485.8 MB, free: 9.426 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001599/0.005161, allocations: 65 kB / 485.8 MB, free: 9.387 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.005191, allocations: 61.17 kB / 485.9 MB, free: 9.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.429e-05/0.005245, allocations: 170.4 kB / 486.1 MB, free: 9.148 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.005255, allocations: 26.7 kB / 486.1 MB, free: 9.117 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.005463, allocations: 132.7 kB / 486.2 MB, free: 24.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.005484, allocations: 21.64 kB / 486.2 MB, free: 24.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.005522, allocations: 26.84 kB / 486.3 MB, free: 24.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.005635, allocations: 0.4898 MB / 486.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.005656, allocations: 5.594 kB / 486.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.48e-05/0.005691, allocations: 50.56 kB / 486.8 MB, free: 24.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.316e-05/0.005754, allocations: 70.19 kB / 486.9 MB, free: 24.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.005757, allocations: 1.906 kB / 486.9 MB, free: 24.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001137/0.005871, allocations: 79.05 kB / 487 MB, free: 24.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.005884, allocations: 6.031 kB / 487 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.00589, allocations: 5.719 kB / 487 MB, free: 24.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.005901, allocations: 3.875 kB / 487 MB, free: 24.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.005989, allocations: 19.06 kB / 487 MB, free: 24.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.005994, allocations: 5.766 kB / 487 MB, free: 24.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.006035, allocations: 10.77 kB / 487 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.006043, allocations: 3.875 kB / 487 MB, free: 24.25 MB / 426.7 MB 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.417e-05/0.006107, allocations: 161.2 kB / 487.2 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.00612, allocations: 3.969 kB / 487.2 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.006225, allocations: 77.89 kB / 487.2 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.006229, allocations: 4.422 kB / 487.3 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.00623, allocations: 0.7188 kB / 487.3 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.006234, allocations: 1.062 kB / 487.3 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.006461, allocations: 296.6 kB / 487.5 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.006463, allocations: 0 / 487.5 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.719e-05/0.0065, allocations: 8.016 kB / 487.6 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.006503, allocations: 5 kB / 487.6 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.006508, allocations: 5.062 kB / 487.6 MB, free: 23.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.00651, allocations: 4.625 kB / 487.6 MB, free: 23.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006511, allocations: 0.7812 kB / 487.6 MB, free: 23.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.006634, allocations: 210 kB / 487.8 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-06/0.006642, allocations: 5.422 kB / 487.8 MB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.006659, allocations: 5.719 kB / 487.8 MB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.006728, allocations: 3.875 kB / 487.8 MB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.006757, allocations: 5.891 kB / 487.8 MB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.006763, allocations: 5.562 kB / 487.8 MB, free: 23.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.763e-05/0.006811, allocations: 132.9 kB / 487.9 MB, free: 23.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006811, allocations: 0 / 487.9 MB, free: 23.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002487/0.00706, allocations: 15.62 kB / 487.9 MB, free: 23.41 MB / 426.7 MB 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.0001154/0.007175, allocations: 102.1 kB / 488 MB, free: 23.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.433e-05/0.007269, allocations: 34.08 kB / 488.1 MB, free: 23.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.007271, allocations: 4.844 kB / 488.1 MB, free: 23.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.247e-05/0.007303, allocations: 20.91 kB / 488.1 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.00755, allocations: 10.22 kB / 488.1 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.007946, allocations: 150.8 kB / 488.3 MB, free: 23.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.037e-05/0.007976, allocations: 59.94 kB / 488.3 MB, free: 23.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.731e-05/0.008003, allocations: 6.656 kB / 488.3 MB, free: 23.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.008061, allocations: 77.97 kB / 488.4 MB, free: 23.01 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/0.008062, allocations: 0 / 488.4 MB, free: 23.01 MB / 426.7 MB Notification: Performance of Templates: time 0.003014/0.01108, allocations: 0.9382 MB / 489.3 MB, free: 22.93 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4383710883557796]