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.00145/0.00145, allocations: 92.72 kB / 20.21 MB, free: 4.199 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.001654/0.001654, allocations: 157.3 kB / 23.52 MB, free: 0.8945 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 1.467/1.467, allocations: 177.2 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.9329/0.9329, allocations: 115 MB / 375.3 MB, free: 7.551 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 3.006e-06/3.006e-06, allocations: 0 / 480.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.498e-05/3.798e-05, allocations: 2.969 kB / 480.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.00171/0.001748, allocations: 0.6434 MB / 481.4 MB, free: 11.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.002949, allocations: 1.092 MB / 482.5 MB, free: 10.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.002997, allocations: 0 / 482.5 MB, free: 10.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.003025, allocations: 3.938 kB / 482.5 MB, free: 10.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.978e-05/0.003095, allocations: 7.875 kB / 482.5 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.003359, allocations: 45.7 kB / 482.6 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.912e-05/0.003448, allocations: 46.14 kB / 482.6 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.649e-05/0.003534, allocations: 13.61 kB / 482.6 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.725e-05/0.003611, allocations: 23.41 kB / 482.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.263e-05/0.003654, allocations: 23.62 kB / 482.7 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.00367, allocations: 2.219 kB / 482.7 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.349e-05/0.003734, allocations: 23.28 kB / 482.7 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.003752, allocations: 10.31 kB / 482.7 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.003788, allocations: 21.53 kB / 482.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.003915, allocations: 56.22 kB / 482.8 MB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.003917, allocations: 0.5 kB / 482.8 MB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.003918, allocations: 2.75 kB / 482.8 MB, free: 10.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.003923, allocations: 0 / 482.8 MB, free: 10.68 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.0004698/0.004393, allocations: 297.7 kB / 483.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.00443, allocations: 10.62 kB / 483.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.004541, allocations: 8 kB / 483.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.08e-05/0.004622, allocations: 109.3 kB / 483.2 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.004637, allocations: 3.188 kB / 483.2 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.004651, allocations: 10.44 kB / 483.2 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.004831, allocations: 62.22 kB / 483.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.004841, allocations: 5.125 kB / 483.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.004853, allocations: 5.203 kB / 483.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.004858, allocations: 0.9375 kB / 483.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.005042, allocations: 46.3 kB / 483.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.005424, allocations: 222.1 kB / 483.5 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.005588, allocations: 54.23 kB / 483.6 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.572e-05/0.005683, allocations: 30.48 kB / 483.6 MB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.005708, allocations: 0.6562 kB / 483.6 MB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.005899, allocations: 75.5 kB / 483.7 MB, free: 9.875 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.0059, allocations: 2 kB / 483.7 MB, free: 9.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004084/0.006308, allocations: 127.2 kB / 483.8 MB, free: 9.816 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.006339, allocations: 54 kB / 483.9 MB, free: 9.754 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.611e-05/0.006405, allocations: 113.3 kB / 484 MB, free: 9.645 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.006417, allocations: 27.48 kB / 484 MB, free: 9.613 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.006447, allocations: 93.72 kB / 484.1 MB, free: 9.523 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.006466, allocations: 19.12 kB / 484.1 MB, free: 9.508 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.006516, allocations: 24.58 kB / 484.1 MB, free: 9.488 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002734/0.006789, allocations: 316.9 kB / 484.5 MB, free: 25.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.006895, allocations: 25.83 kB / 484.5 MB, free: 25.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.007, allocations: 57.55 kB / 484.5 MB, free: 25.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.007208, allocations: 90.45 kB / 484.6 MB, free: 25.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.007211, allocations: 0.8438 kB / 484.6 MB, free: 25.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002712/0.007482, allocations: 112.3 kB / 484.7 MB, free: 25.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.007498, allocations: 11.12 kB / 484.7 MB, free: 25.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.007504, allocations: 2.156 kB / 484.7 MB, free: 25.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.007526, allocations: 1.125 kB / 484.7 MB, free: 25.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.007638, allocations: 18.2 kB / 484.8 MB, free: 25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.007645, allocations: 3.5 kB / 484.8 MB, free: 25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.007717, allocations: 21.2 kB / 484.8 MB, free: 24.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.007728, allocations: 2.594 kB / 484.8 MB, free: 24.99 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 9.442e-05/0.007823, allocations: 115.2 kB / 484.9 MB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.007841, allocations: 14.77 kB / 484.9 MB, free: 24.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.008108, allocations: 104.9 kB / 485 MB, free: 24.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.008111, allocations: 4.734 kB / 485 MB, free: 24.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.008115, allocations: 0 / 485 MB, free: 24.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.008118, allocations: 0 / 485 MB, free: 24.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.00851, allocations: 300.1 kB / 485.3 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.008511, allocations: 0 / 485.3 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.00857, allocations: 10.73 kB / 485.3 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.008572, allocations: 0 / 485.3 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.00858, allocations: 1.375 kB / 485.3 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.008581, allocations: 1.125 kB / 485.3 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.008582, allocations: 1.281 kB / 485.3 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.008868, allocations: 196.5 kB / 485.5 MB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.008879, allocations: 6.703 kB / 485.5 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.008895, allocations: 0 / 485.5 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.525e-05/0.008981, allocations: 12.83 kB / 485.5 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.009025, allocations: 6.047 kB / 485.5 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.009032, allocations: 2.75 kB / 485.6 MB, free: 24.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.993e-05/0.009092, allocations: 89.12 kB / 485.6 MB, free: 24.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009092, allocations: 0 / 485.6 MB, free: 24.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002676/0.009359, allocations: 13.33 kB / 485.7 MB, free: 24.31 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.000149/0.009508, allocations: 101.2 kB / 485.8 MB, free: 24.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.009769, allocations: 68.28 kB / 485.8 MB, free: 24.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009771, allocations: 0 / 485.8 MB, free: 24.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.009876, allocations: 29.16 kB / 485.8 MB, free: 24.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.01016, allocations: 27.11 kB / 485.9 MB, free: 24.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.0105, allocations: 133.9 kB / 486 MB, free: 24.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.765e-05/0.01054, allocations: 73.47 kB / 486.1 MB, free: 23.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.149e-05/0.01058, allocations: 3.781 kB / 486.1 MB, free: 23.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.01061, allocations: 17.84 kB / 486.1 MB, free: 23.98 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01061, allocations: 0 / 486.1 MB, free: 23.98 MB / 426.7 MB Notification: Performance of Templates: time 0.003767/0.01437, allocations: 0.8463 MB / 486.9 MB, free: 23.91 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3194671518867835]