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.001774/0.001774, allocations: 104.3 kB / 19.69 MB, free: 1.945 MB / 14.72 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.002224/0.002224, allocations: 221.2 kB / 23 MB, free: 4.973 MB / 14.72 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 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 1.001/1.001, allocations: 149.9 MB / 463 MB, free: 10.41 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 70.7 kB / 0.6415 GB, free: 9.73 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1982, allocations: 89.17 MB / 0.7286 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001894/0.2001, allocations: 0.6454 MB / 0.7292 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.2016, allocations: 1.089 MB / 0.7303 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.414e-05/0.2017, allocations: 0 / 0.7303 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.2017, allocations: 7.938 kB / 0.7303 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.2017, allocations: 7.938 kB / 0.7303 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.202, allocations: 43.83 kB / 0.7304 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.2022, allocations: 55.78 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.33e-05/0.2023, allocations: 8 kB / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.283e-05/0.2023, allocations: 15.98 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.2024, allocations: 23.84 kB / 0.7305 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.2024, allocations: 4 kB / 0.7305 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.563e-05/0.2024, allocations: 19.98 kB / 0.7305 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.2025, allocations: 8 kB / 0.7305 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.2025, allocations: 19.92 kB / 0.7305 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.2026, allocations: 63.72 kB / 0.7306 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2026, allocations: 0 / 0.7306 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2026, allocations: 0 / 0.7306 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2026, allocations: 0 / 0.7306 GB, free: 14.61 MB / 0.5606 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.0005148/0.2032, allocations: 290.2 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.2032, allocations: 8.031 kB / 0.7309 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.866e-05/0.2033, allocations: 8.875 kB / 0.7309 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.2034, allocations: 118.4 kB / 0.731 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.2034, allocations: 384 / 0.731 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.2034, allocations: 16.36 kB / 0.731 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.2036, allocations: 62.23 kB / 0.7311 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2036, allocations: 192 / 0.7311 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2036, allocations: 3.938 kB / 0.7311 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2036, allocations: 0 / 0.7311 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.2038, allocations: 39.95 kB / 0.7311 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.2042, allocations: 224.5 kB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.2044, allocations: 62.53 kB / 0.7314 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.241e-05/0.2045, allocations: 32.89 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.2045, allocations: 0 / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.2048, allocations: 75.38 kB / 0.7315 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2048, allocations: 3.938 kB / 0.7315 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0003997/0.2052, allocations: 117.6 kB / 0.7316 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.2052, allocations: 51.41 kB / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.2053, allocations: 109.8 kB / 0.7317 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.2053, allocations: 29.7 kB / 0.7318 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.2054, allocations: 88.12 kB / 0.7319 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.2054, allocations: 19.78 kB / 0.7319 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.2055, allocations: 29.7 kB / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2056, allocations: 310.8 kB / 0.7322 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.2057, allocations: 31.91 kB / 0.7322 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.2058, allocations: 60.22 kB / 0.7323 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.2061, allocations: 88.19 kB / 0.7324 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2061, allocations: 0 / 0.7324 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002725/0.2063, allocations: 121.4 kB / 0.7325 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2064, allocations: 8 kB / 0.7325 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2064, allocations: 0 / 0.7325 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2064, allocations: 4 kB / 0.7325 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.2065, allocations: 11.98 kB / 0.7325 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2065, allocations: 4 kB / 0.7325 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.6e-05/0.2066, allocations: 7.984 kB / 0.7325 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.2066, allocations: 8.156 kB / 0.7325 GB, free: 12.4 MB / 0.5606 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 9.036e-05/0.2067, allocations: 121.8 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.2067, allocations: 11.89 kB / 0.7327 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.2069, allocations: 98.02 kB / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2069, allocations: 4 kB / 0.7328 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.207, allocations: 0 / 0.7328 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.207, allocations: 0 / 0.7328 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004078/0.2074, allocations: 298.5 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2074, allocations: 4 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.2074, allocations: 12 kB / 0.7331 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2074, allocations: 3.984 kB / 0.7331 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.2074, allocations: 0 / 0.7331 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2074, allocations: 0 / 0.7331 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2074, allocations: 0 / 0.7331 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.2077, allocations: 199.3 kB / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.2078, allocations: 11.88 kB / 0.7333 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.2078, allocations: 8 kB / 0.7333 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.2079, allocations: 4 kB / 0.7333 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.2079, allocations: 7.984 kB / 0.7333 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.2079, allocations: 0 / 0.7333 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.511e-05/0.208, allocations: 91.27 kB / 0.7334 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.208, allocations: 0 / 0.7334 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002414/0.2082, allocations: 15.94 kB / 0.7334 GB, free: 11.46 MB / 0.5606 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.0001355/0.2083, allocations: 99.38 kB / 0.7335 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.2086, allocations: 75.81 kB / 0.7335 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2086, allocations: 0 / 0.7335 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.2087, allocations: 23.98 kB / 0.7336 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.209, allocations: 11.98 kB / 0.7336 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.2093, allocations: 138.1 kB / 0.7337 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.112e-05/0.2094, allocations: 67.66 kB / 0.7338 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.434e-05/0.2094, allocations: 11.98 kB / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.2095, allocations: 7.438 kB / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.2095, allocations: 0 / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of Templates: time 0.003689/0.2131, allocations: 0.8536 MB / 0.7346 GB, free: 10.14 MB / 0.5606 GB " [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.783019043505192] Failed to read output from testmodel.py, exit status != 0: 0.2234887033700943 0.23861943500000002 0.032763943000000004 Calling exit ...