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.0009279/0.0009279, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.0009386/0.0009386, 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 1/1, allocations: 177.2 MB / 204.6 MB, free: 5.043 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.6538/0.6538, allocations: 115 MB / 376 MB, free: 7.402 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.384e-06/2.384e-06, allocations: 0 / 428.7 MB, free: 2.781 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.965e-05, allocations: 6.312 kB / 428.7 MB, free: 2.773 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002362/0.002392, allocations: 0.721 MB / 429.5 MB, free: 2.051 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.003986, allocations: 1.112 MB / 430.6 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.004041, allocations: 0 / 430.6 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.004072, allocations: 7.922 kB / 430.6 MB, free: 0.918 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.00415, allocations: 0 / 430.6 MB, free: 0.918 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.004448, allocations: 51.7 kB / 430.6 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.004551, allocations: 51.84 kB / 430.7 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.926e-05/0.00464, allocations: 15.92 kB / 430.7 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.652e-05/0.004737, allocations: 19.98 kB / 430.7 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.433e-05/0.004791, allocations: 19.97 kB / 430.7 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.004809, allocations: 4 kB / 430.7 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-05/0.004903, allocations: 27.86 kB / 430.8 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.004924, allocations: 7.984 kB / 430.8 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.004954, allocations: 15.98 kB / 430.8 MB, free: 0.707 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.00509, allocations: 47.81 kB / 430.8 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.005093, allocations: 0 / 430.8 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.005095, allocations: 4 kB / 430.8 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.005101, allocations: 7.984 kB / 430.9 MB, free: 0.6484 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.0003888/0.00549, allocations: 248.8 kB / 431.1 MB, free: 388 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.005529, allocations: 12.03 kB / 431.1 MB, free: 376 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.005632, allocations: 4.938 kB / 431.1 MB, free: 372 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.421e-05/0.005726, allocations: 117.7 kB / 431.2 MB, free: 228 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.00574, allocations: 8.375 kB / 431.2 MB, free: 220 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.00575, allocations: 4.312 kB / 431.2 MB, free: 216 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.00587, allocations: 58.94 kB / 431.3 MB, free: 148 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.005878, allocations: 192 / 431.3 MB, free: 148 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.005887, allocations: 4.375 kB / 431.3 MB, free: 144 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.005892, allocations: 8.375 kB / 431.3 MB, free: 136 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.832e-05/0.005921, allocations: 7.938 kB / 431.3 MB, free: 128 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.006269, allocations: 168.2 kB / 431.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.006352, allocations: 34.58 kB / 431.5 MB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.006372, allocations: 12.84 kB / 431.5 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.00639, allocations: 3.984 kB / 431.5 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.328e-05/0.006474, allocations: 55.52 kB / 431.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.006475, allocations: 4 kB / 431.6 MB, free: 15.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001326/0.006608, allocations: 57.56 kB / 431.6 MB, free: 15.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.006649, allocations: 55.41 kB / 431.7 MB, free: 15.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.899e-05/0.006728, allocations: 118.6 kB / 431.8 MB, free: 15.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.006743, allocations: 25.7 kB / 431.8 MB, free: 15.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.006783, allocations: 88.12 kB / 431.9 MB, free: 15.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.006807, allocations: 19.83 kB / 431.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.006847, allocations: 21.72 kB / 432 MB, free: 15.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.006952, allocations: 322.8 kB / 432.3 MB, free: 15.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.134e-05/0.006974, allocations: 4 kB / 432.3 MB, free: 15.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.335e-05/0.007017, allocations: 40.27 kB / 432.3 MB, free: 15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.007094, allocations: 52.22 kB / 432.4 MB, free: 14.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007097, allocations: 0 / 432.4 MB, free: 14.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001153/0.007212, allocations: 73.55 kB / 432.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.007229, allocations: 4 kB / 432.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.007234, allocations: 160 / 432.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.007253, allocations: 11.94 kB / 432.5 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.00736, allocations: 19.92 kB / 432.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.007366, allocations: 4.562 kB / 432.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.96e-05/0.007405, allocations: 0 / 432.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.007416, allocations: 8 kB / 432.5 MB, free: 14.81 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 8.53e-05/0.007502, allocations: 117.8 kB / 432.6 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.007516, allocations: 4 kB / 432.6 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.007627, allocations: 58.05 kB / 432.7 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.007631, allocations: 3.938 kB / 432.7 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.007632, allocations: 4 kB / 432.7 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.007636, allocations: 4 kB / 432.7 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.00785, allocations: 202.8 kB / 432.9 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007851, allocations: 0 / 432.9 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.007895, allocations: 7.938 kB / 432.9 MB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.007898, allocations: 0 / 432.9 MB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.007906, allocations: 11.86 kB / 432.9 MB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.007911, allocations: 7.984 kB / 432.9 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.007913, allocations: 0 / 432.9 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.008112, allocations: 147.6 kB / 433.1 MB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.00813, allocations: 7.938 kB / 433.1 MB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.008152, allocations: 11.92 kB / 433.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.008255, allocations: 4 kB / 433.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.008288, allocations: 0 / 433.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.008297, allocations: 7.984 kB / 433.1 MB, free: 14.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.353e-05/0.008321, allocations: 12.86 kB / 433.1 MB, free: 14.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008321, allocations: 3.938 kB / 433.1 MB, free: 14.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001528/0.008474, allocations: 8 kB / 433.1 MB, free: 14.14 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.0001275/0.008601, allocations: 84.41 kB / 433.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.744e-05/0.008689, allocations: 41.02 kB / 433.2 MB, free: 14.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.008691, allocations: 4 kB / 433.2 MB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.663e-05/0.008718, allocations: 13.05 kB / 433.2 MB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.008873, allocations: 16.11 kB / 433.3 MB, free: 13.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.009261, allocations: 144.4 kB / 433.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.562e-05/0.009296, allocations: 59.3 kB / 433.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.26e-05/0.009319, allocations: 4 kB / 433.5 MB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.009367, allocations: 59.42 kB / 433.5 MB, free: 13.66 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009367, allocations: 0 / 433.5 MB, free: 13.66 MB / 410.7 MB Notification: Performance of Templates: time 0.00231/0.01168, allocations: 0.8685 MB / 434.4 MB, free: 12.8 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.332438465207815]