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.0007001/0.0007001, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009727/0.001673, allocations: 452 kB / 10.43 MB, free: 268 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.0006717/0.0006717, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009024/0.001574, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.8721/0.8721, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08087/0.953, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5911/0.5911, allocations: 120.1 MB / 364.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06134/0.6524, allocations: 38.16 MB / 402.4 MB, free: 12.28 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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 2.124e-06/2.124e-06, allocations: 0 / 403.7 MB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.45e-05, allocations: 10.25 kB / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001974/0.001998, allocations: 0.7053 MB / 404.4 MB, free: 10.27 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.003293, allocations: 1.116 MB / 405.5 MB, free: 9.141 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.003327, allocations: 0 / 405.5 MB, free: 9.141 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.003353, allocations: 3.938 kB / 405.5 MB, free: 9.137 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.653e-05/0.003399, allocations: 11.92 kB / 405.5 MB, free: 9.125 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.003578, allocations: 43.72 kB / 405.6 MB, free: 9.082 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 9.252e-05/0.003671, allocations: 47.84 kB / 405.6 MB, free: 9.035 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.213e-05/0.003743, allocations: 15.98 kB / 405.6 MB, free: 9.02 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.632e-05/0.003839, allocations: 31.97 kB / 405.7 MB, free: 8.988 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.423e-05/0.003893, allocations: 23.91 kB / 405.7 MB, free: 8.965 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.00391, allocations: 4 kB / 405.7 MB, free: 8.961 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.71e-05/0.003997, allocations: 23.98 kB / 405.7 MB, free: 8.938 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.00402, allocations: 11.94 kB / 405.7 MB, free: 8.926 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.004045, allocations: 8 kB / 405.7 MB, free: 8.918 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.00417, allocations: 47.77 kB / 405.8 MB, free: 8.871 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.223e-05/0.004182, allocations: 0 / 405.8 MB, free: 8.871 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004183, allocations: 0 / 405.8 MB, free: 8.871 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.004194, allocations: 0 / 405.8 MB, free: 8.871 MB / 394.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.0004141/0.004608, allocations: 256.5 kB / 406 MB, free: 8.594 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.004639, allocations: 12.03 kB / 406.1 MB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.004766, allocations: 86.03 kB / 406.1 MB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.871e-05/0.004855, allocations: 121.7 kB / 406.3 MB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.004868, allocations: 8.375 kB / 406.3 MB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.00488, allocations: 384 / 406.3 MB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.005, allocations: 70.88 kB / 406.3 MB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.005007, allocations: 192 / 406.3 MB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.005015, allocations: 4.359 kB / 406.3 MB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.005022, allocations: 8.359 kB / 406.3 MB, free: 8.238 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.925e-05/0.005051, allocations: 7.938 kB / 406.4 MB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.005361, allocations: 164.3 kB / 406.5 MB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.764e-05/0.005439, allocations: 34.56 kB / 406.5 MB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.005457, allocations: 12.8 kB / 406.6 MB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.005473, allocations: 0 / 406.6 MB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.649e-05/0.00556, allocations: 59.59 kB / 406.6 MB, free: 7.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.005561, allocations: 0 / 406.6 MB, free: 7.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001272/0.005688, allocations: 61.61 kB / 406.7 MB, free: 7.859 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.005727, allocations: 55.34 kB / 406.7 MB, free: 7.793 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.82e-05/0.005796, allocations: 114.6 kB / 406.8 MB, free: 7.668 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.005811, allocations: 29.64 kB / 406.9 MB, free: 7.633 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.005852, allocations: 84.14 kB / 407 MB, free: 7.547 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.005878, allocations: 31.81 kB / 407 MB, free: 7.516 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.005917, allocations: 17.72 kB / 407 MB, free: 7.492 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.84e-05/0.006005, allocations: 322.8 kB / 407.3 MB, free: 7.168 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.006023, allocations: 4 kB / 407.3 MB, free: 7.164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.94e-05/0.006063, allocations: 40.22 kB / 407.4 MB, free: 7.109 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.747e-05/0.00613, allocations: 52.2 kB / 407.4 MB, free: 7.043 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.006132, allocations: 4 kB / 407.4 MB, free: 7.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000112/0.006244, allocations: 73.55 kB / 407.5 MB, free: 6.961 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.006259, allocations: 4 kB / 407.5 MB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.006264, allocations: 0 / 407.5 MB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.006278, allocations: 7.938 kB / 407.5 MB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.991e-05/0.006378, allocations: 19.92 kB / 407.5 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.006381, allocations: 4 kB / 407.5 MB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.006425, allocations: 4 kB / 407.5 MB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.006436, allocations: 8 kB / 407.5 MB, free: 6.914 MB / 394.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.482e-05/0.006501, allocations: 110 kB / 407.6 MB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.006513, allocations: 7.984 kB / 407.6 MB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.623e-05/0.006609, allocations: 58.31 kB / 407.7 MB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.006614, allocations: 3.938 kB / 407.7 MB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.006617, allocations: 4.062 kB / 407.7 MB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.006621, allocations: 3.984 kB / 407.7 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.006818, allocations: 206.7 kB / 407.9 MB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.00682, allocations: 0 / 407.9 MB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.00686, allocations: 4 kB / 407.9 MB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-06/0.006868, allocations: 7.938 kB / 407.9 MB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.00687, allocations: 4 kB / 407.9 MB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.006877, allocations: 7.922 kB / 407.9 MB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.00688, allocations: 4 kB / 407.9 MB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.006881, allocations: 0 / 407.9 MB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.79e-05/0.006979, allocations: 143.5 kB / 408.1 MB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.006995, allocations: 3.938 kB / 408.1 MB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.247e-05/0.007058, allocations: 7.984 kB / 408.1 MB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.007088, allocations: 8 kB / 408.1 MB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.007093, allocations: 0 / 408.1 MB, free: 6.281 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.839e-05/0.007111, allocations: 16.78 kB / 408.1 MB, free: 6.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007111, allocations: 0 / 408.1 MB, free: 6.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.007342, allocations: 16 kB / 408.1 MB, free: 6.246 MB / 394.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.0001287/0.007471, allocations: 88.34 kB / 408.2 MB, free: 6.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.663e-05/0.007557, allocations: 28.84 kB / 408.3 MB, free: 6.121 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.007564, allocations: 4 kB / 408.3 MB, free: 6.117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.188e-05/0.007605, allocations: 20.78 kB / 408.3 MB, free: 6.094 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.007825, allocations: 71.39 kB / 408.3 MB, free: 6.012 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008173/0.008642, allocations: 145.2 kB / 408.5 MB, free: 5.844 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.894e-05/0.008681, allocations: 63.3 kB / 408.5 MB, free: 5.762 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.896e-05/0.00871, allocations: 3.984 kB / 408.6 MB, free: 5.758 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.008769, allocations: 55.38 kB / 408.6 MB, free: 5.703 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008769, allocations: 0 / 408.6 MB, free: 5.703 MB / 394.7 MB Notification: Performance of Templates: time 0.003409/0.01218, allocations: 0.8643 MB / 409.5 MB, free: 4.84 MB / 394.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: 2.856769951991737]