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.0006943/0.0006943, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009236/0.001618, allocations: 447.8 kB / 10.34 MB, free: 352 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.0006984/0.0006984, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009071/0.001606, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.031/1.031, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08707/1.118, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.623/0.623, allocations: 119.1 MB / 363.1 MB, free: 3.715 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06643/0.6894, allocations: 37.86 MB / 400.9 MB, free: 13.73 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 1.453e-06/1.453e-06, allocations: 0 / 402.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.267e-06/1.072e-05, allocations: 2.312 kB / 402.2 MB, free: 12.45 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001064/0.001074, allocations: 0.6974 MB / 402.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009231/0.001998, allocations: 1.119 MB / 404 MB, free: 10.62 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.002033, allocations: 0 / 404 MB, free: 10.62 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.002055, allocations: 3.938 kB / 404 MB, free: 10.61 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.153e-05/0.002086, allocations: 11.94 kB / 404 MB, free: 10.6 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.002485, allocations: 47.7 kB / 404.1 MB, free: 10.55 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.565e-05/0.002561, allocations: 47.86 kB / 404.1 MB, free: 10.51 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.026e-05/0.002631, allocations: 11.97 kB / 404.1 MB, free: 10.5 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.507e-05/0.002706, allocations: 31.92 kB / 404.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.032e-05/0.002746, allocations: 11.98 kB / 404.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.002759, allocations: 4 kB / 404.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.28e-05/0.002832, allocations: 23.97 kB / 404.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.002848, allocations: 11.94 kB / 404.2 MB, free: 10.41 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.002867, allocations: 11.94 kB / 404.2 MB, free: 10.4 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 9.496e-05/0.002962, allocations: 39.84 kB / 404.3 MB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.301e-05/0.002975, allocations: 0 / 404.3 MB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.002976, allocations: 4 kB / 404.3 MB, free: 10.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.002991, allocations: 0 / 404.3 MB, free: 10.36 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.0003784/0.003369, allocations: 276.4 kB / 404.6 MB, free: 10.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.721e-05/0.003397, allocations: 8.031 kB / 404.6 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.003501, allocations: 90.03 kB / 404.6 MB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.594e-05/0.003577, allocations: 113.7 kB / 404.8 MB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.003586, allocations: 4.375 kB / 404.8 MB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.003594, allocations: 4.375 kB / 404.8 MB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.171e-05/0.003685, allocations: 66.86 kB / 404.8 MB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.003692, allocations: 192 / 404.8 MB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.003699, allocations: 8.375 kB / 404.8 MB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.003704, allocations: 384 / 404.8 MB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.653e-05/0.00373, allocations: 11.92 kB / 404.9 MB, free: 9.711 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.003963, allocations: 172.3 kB / 405 MB, free: 9.527 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.709e-05/0.00402, allocations: 30.52 kB / 405.1 MB, free: 9.488 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.004034, allocations: 12.98 kB / 405.1 MB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.00405, allocations: 0 / 405.1 MB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.52e-05/0.004115, allocations: 55.39 kB / 405.1 MB, free: 9.406 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 6.81e-07/0.004116, allocations: 3.938 kB / 405.1 MB, free: 9.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001094/0.004225, allocations: 65.56 kB / 405.2 MB, free: 9.332 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.004262, allocations: 55.39 kB / 405.2 MB, free: 9.266 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.526e-05/0.004317, allocations: 114.8 kB / 405.4 MB, free: 9.141 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.004328, allocations: 29.7 kB / 405.4 MB, free: 9.105 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.004358, allocations: 92.08 kB / 405.5 MB, free: 9.012 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.004373, allocations: 15.84 kB / 405.5 MB, free: 8.996 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.004403, allocations: 25.69 kB / 405.5 MB, free: 8.965 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.651e-05/0.00447, allocations: 318.8 kB / 405.8 MB, free: 8.645 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.004482, allocations: 7.984 kB / 405.8 MB, free: 8.637 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.429e-05/0.004507, allocations: 32.3 kB / 405.9 MB, free: 8.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.728e-05/0.004554, allocations: 60.2 kB / 405.9 MB, free: 8.516 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.004556, allocations: 4 kB / 405.9 MB, free: 8.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.843e-05/0.004625, allocations: 65.55 kB / 406 MB, free: 8.441 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.004635, allocations: 4 kB / 406 MB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.004639, allocations: 4.156 kB / 406 MB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.004649, allocations: 7.938 kB / 406 MB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.004723, allocations: 19.92 kB / 406 MB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.004726, allocations: 4 kB / 406 MB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.683e-05/0.004753, allocations: 11.98 kB / 406 MB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.004759, allocations: 4 kB / 406 MB, free: 8.387 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 5.002e-05/0.004809, allocations: 105.8 kB / 406.1 MB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-06/0.004816, allocations: 8 kB / 406.2 MB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.977e-05/0.004886, allocations: 62.05 kB / 406.2 MB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.004889, allocations: 3.938 kB / 406.2 MB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.004891, allocations: 4 kB / 406.2 MB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.004894, allocations: 0 / 406.2 MB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.00503, allocations: 203.1 kB / 406.4 MB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005031, allocations: 0 / 406.4 MB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.005058, allocations: 15.98 kB / 406.4 MB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.005066, allocations: 15.89 kB / 406.5 MB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.005067, allocations: 0 / 406.5 MB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-06/0.005071, allocations: 0 / 406.5 MB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.005073, allocations: 4 kB / 406.5 MB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005074, allocations: 0 / 406.5 MB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.091e-05/0.005145, allocations: 139.5 kB / 406.6 MB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.005159, allocations: 11.88 kB / 406.6 MB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.14e-05/0.00519, allocations: 8 kB / 406.6 MB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.005216, allocations: 7.984 kB / 406.6 MB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.005219, allocations: 0 / 406.6 MB, free: 7.754 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.208e-05/0.005231, allocations: 12.84 kB / 406.6 MB, free: 7.738 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005231, allocations: 0 / 406.6 MB, free: 7.738 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001343/0.005365, allocations: 19.98 kB / 406.7 MB, free: 7.719 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 8.716e-05/0.005453, allocations: 80.36 kB / 406.7 MB, free: 7.633 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.08e-05/0.005523, allocations: 36.91 kB / 406.8 MB, free: 7.594 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.005528, allocations: 4 kB / 406.8 MB, free: 7.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.405e-05/0.005552, allocations: 20.84 kB / 406.8 MB, free: 7.566 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.005675, allocations: 12.12 kB / 406.8 MB, free: 7.555 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/0.006237, allocations: 152.4 kB / 407 MB, free: 7.379 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.023e-05/0.006267, allocations: 59.34 kB / 407 MB, free: 7.301 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.748e-05/0.006295, allocations: 8.188 kB / 407 MB, free: 7.293 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.006338, allocations: 55.38 kB / 407.1 MB, free: 7.238 MB / 394.7 MB Notification: Performance of SimCode: time 6.82e-07/0.006339, allocations: 0 / 407.1 MB, free: 7.238 MB / 394.7 MB Notification: Performance of Templates: time 0.002186/0.008525, allocations: 0.8891 MB / 408 MB, free: 6.348 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: 3.238048336468637]