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.00143/0.00143, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.00137/0.00137, allocations: 169 kB / 24.14 MB, free: 356 kB / 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.9176/0.9176, allocations: 177.2 MB / 204.6 MB, free: 5.492 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.7369/0.7369, allocations: 115 MB / 376 MB, free: 7.492 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 2.154e-06/2.154e-06, allocations: 0 / 428.7 MB, free: 2.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.357e-05, allocations: 10.25 kB / 428.7 MB, free: 2.828 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001711/0.001735, allocations: 0.6622 MB / 429.4 MB, free: 2.164 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.003129, allocations: 1.112 MB / 430.5 MB, free: 1.039 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.003176, allocations: 4 kB / 430.5 MB, free: 1.035 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.003204, allocations: 7.938 kB / 430.5 MB, free: 1.027 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.798e-05/0.003282, allocations: 3.938 kB / 430.5 MB, free: 1.023 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.003575, allocations: 51.7 kB / 430.5 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 9.715e-05/0.003672, allocations: 51.86 kB / 430.6 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.541e-05/0.003748, allocations: 7.969 kB / 430.6 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.523e-05/0.003833, allocations: 27.92 kB / 430.6 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.003877, allocations: 15.97 kB / 430.6 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.003895, allocations: 7.984 kB / 430.6 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.766e-05/0.003963, allocations: 20 kB / 430.7 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.003984, allocations: 15.86 kB / 430.7 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.00401, allocations: 12 kB / 430.7 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.004133, allocations: 59.78 kB / 430.7 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004135, allocations: 0 / 430.7 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004136, allocations: 0 / 430.7 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.004139, allocations: 0 / 430.7 MB, free: 0.7578 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.0003705/0.004509, allocations: 248.9 kB / 431 MB, free: 500 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.004545, allocations: 8.031 kB / 431 MB, free: 492 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.452e-05/0.00464, allocations: 8.938 kB / 431 MB, free: 484 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.793e-05/0.004738, allocations: 125.7 kB / 431.1 MB, free: 332 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.00475, allocations: 4.359 kB / 431.1 MB, free: 328 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.004762, allocations: 8.375 kB / 431.1 MB, free: 320 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.004877, allocations: 66.88 kB / 431.2 MB, free: 244 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.004884, allocations: 192 / 431.2 MB, free: 244 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.00489, allocations: 384 / 431.2 MB, free: 244 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.004896, allocations: 384 / 431.2 MB, free: 244 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.988e-05/0.004926, allocations: 11.94 kB / 431.2 MB, free: 232 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.005219, allocations: 164.3 kB / 431.4 MB, free: 52 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.912e-05/0.005288, allocations: 34.5 kB / 431.4 MB, free: 8 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.005322, allocations: 12.98 kB / 431.4 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.005337, allocations: 8 kB / 431.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.004e-05/0.005408, allocations: 55.45 kB / 431.5 MB, free: 15.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.005409, allocations: 0 / 431.5 MB, free: 15.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001255/0.005534, allocations: 61.56 kB / 431.6 MB, free: 15.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.005574, allocations: 55.41 kB / 431.6 MB, free: 15.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.709e-05/0.005641, allocations: 118.6 kB / 431.7 MB, free: 15.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.005656, allocations: 29.64 kB / 431.7 MB, free: 15.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.005691, allocations: 88.12 kB / 431.8 MB, free: 15.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.005712, allocations: 19.83 kB / 431.9 MB, free: 15.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.005751, allocations: 25.7 kB / 431.9 MB, free: 15.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.727e-05/0.005838, allocations: 318.8 kB / 432.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.005855, allocations: 4 kB / 432.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.364e-05/0.005899, allocations: 40.28 kB / 432.2 MB, free: 15.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.024e-05/0.005969, allocations: 52.2 kB / 432.3 MB, free: 15.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.005972, allocations: 0 / 432.3 MB, free: 15.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001119/0.006084, allocations: 73.55 kB / 432.4 MB, free: 14.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.006097, allocations: 8 kB / 432.4 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006101, allocations: 0 / 432.4 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.006113, allocations: 3.938 kB / 432.4 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.0062, allocations: 19.92 kB / 432.4 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.006203, allocations: 4 kB / 432.4 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.843e-05/0.006242, allocations: 4 kB / 432.4 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.006252, allocations: 8 kB / 432.4 MB, free: 14.91 MB / 410.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.876e-05/0.006321, allocations: 109.8 kB / 432.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.006331, allocations: 8.156 kB / 432.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.469e-05/0.006425, allocations: 62.05 kB / 432.6 MB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.006429, allocations: 3.938 kB / 432.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.00643, allocations: 0 / 432.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.006433, allocations: 0 / 432.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.006622, allocations: 202.8 kB / 432.8 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.006624, allocations: 384 / 432.8 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.006659, allocations: 7.938 kB / 432.8 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.006662, allocations: 4 kB / 432.8 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.00667, allocations: 11.92 kB / 432.8 MB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.006672, allocations: 0 / 432.8 MB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.006673, allocations: 4 kB / 432.8 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.711e-05/0.00677, allocations: 147.6 kB / 433 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-06/0.006778, allocations: 7.938 kB / 433 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.006794, allocations: 7.922 kB / 433 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.355e-05/0.006848, allocations: 4 kB / 433 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.006877, allocations: 7.984 kB / 433 MB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.006883, allocations: 4 kB / 433 MB, free: 14.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.579e-05/0.006899, allocations: 12.8 kB / 433 MB, free: 14.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006899, allocations: 0 / 433 MB, free: 14.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.007134, allocations: 15.94 kB / 433 MB, free: 14.24 MB / 410.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.0001175/0.007251, allocations: 92.39 kB / 433.1 MB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.34e-05/0.007335, allocations: 32.78 kB / 433.1 MB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.007337, allocations: 0 / 433.1 MB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/0.007368, allocations: 12.86 kB / 433.1 MB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.007546, allocations: 15.97 kB / 433.2 MB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.007932, allocations: 148.7 kB / 433.3 MB, free: 13.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.08e-05/0.007963, allocations: 59.3 kB / 433.4 MB, free: 13.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.366e-05/0.007987, allocations: 7.984 kB / 433.4 MB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.008029, allocations: 55.38 kB / 433.4 MB, free: 13.77 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.00803, allocations: 0 / 433.4 MB, free: 13.77 MB / 410.7 MB Notification: Performance of Templates: time 0.002185/0.01021, allocations: 0.8623 MB / 434.3 MB, free: 12.91 MB / 410.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.5785955800674856]