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.001886/0.001886, allocations: 93.47 kB / 20.21 MB, free: 4.215 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.001996/0.001996, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 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.535/1.535, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 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.03/1.03, allocations: 115 MB / 375.3 MB, free: 7.617 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.425e-06/2.425e-06, allocations: 0 / 480.7 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.933e-05, allocations: 8.5 kB / 480.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001632/0.001661, allocations: 0.6557 MB / 481.4 MB, free: 11.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.002882, allocations: 1.084 MB / 482.5 MB, free: 10.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.002929, allocations: 0 / 482.5 MB, free: 10.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.002954, allocations: 11.25 kB / 482.5 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.847e-05/0.003033, allocations: 8.828 kB / 482.5 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.003299, allocations: 40.95 kB / 482.6 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.003399, allocations: 51.41 kB / 482.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.003506, allocations: 7.625 kB / 482.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.438e-05/0.003591, allocations: 32.73 kB / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/0.003638, allocations: 21.19 kB / 482.7 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.003656, allocations: 4.344 kB / 482.7 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.578e-05/0.003722, allocations: 23.3 kB / 482.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.003742, allocations: 7.938 kB / 482.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.003774, allocations: 18.39 kB / 482.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.003903, allocations: 65.27 kB / 482.8 MB, free: 10.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.003905, allocations: 1.062 kB / 482.8 MB, free: 10.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003906, allocations: 2 kB / 482.8 MB, free: 10.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.00391, allocations: 0 / 482.8 MB, free: 10.66 MB / 410.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.0004396/0.004349, allocations: 386.8 kB / 483.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.00439, allocations: 14.31 kB / 483.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.004502, allocations: 4.438 kB / 483.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.397e-05/0.004576, allocations: 118.2 kB / 483.3 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.00459, allocations: 5.188 kB / 483.3 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.004602, allocations: 7.438 kB / 483.3 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.004754, allocations: 54.98 kB / 483.4 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.004763, allocations: 192 / 483.4 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.004774, allocations: 5.344 kB / 483.4 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.004779, allocations: 384 / 483.4 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.004901, allocations: 30.67 kB / 483.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.005291, allocations: 287.2 kB / 483.7 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.005425, allocations: 62 kB / 483.7 MB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.288e-05/0.005488, allocations: 27.41 kB / 483.8 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.005513, allocations: 3.984 kB / 483.8 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.005629, allocations: 78.12 kB / 483.8 MB, free: 9.668 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.00563, allocations: 3.938 kB / 483.8 MB, free: 9.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003205/0.005951, allocations: 107.1 kB / 484 MB, free: 9.609 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.005979, allocations: 57.05 kB / 484 MB, free: 9.547 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.006233, allocations: 175.9 kB / 484.2 MB, free: 25.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.006242, allocations: 26.23 kB / 484.2 MB, free: 25.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.161e-05/0.006324, allocations: 139.3 kB / 484.3 MB, free: 25.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.006342, allocations: 18.44 kB / 484.4 MB, free: 25.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.006382, allocations: 26.97 kB / 484.4 MB, free: 25.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000254/0.006636, allocations: 0.4913 MB / 484.9 MB, free: 24.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/0.00671, allocations: 18.42 kB / 484.9 MB, free: 24.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-05/0.006794, allocations: 71.2 kB / 485 MB, free: 24.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.006932, allocations: 90.83 kB / 485.1 MB, free: 24.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.006935, allocations: 2.938 kB / 485.1 MB, free: 24.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002059/0.007141, allocations: 99.8 kB / 485.2 MB, free: 24.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.007156, allocations: 8.625 kB / 485.2 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.007161, allocations: 3.094 kB / 485.2 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.007178, allocations: 4.969 kB / 485.2 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.007294, allocations: 15.83 kB / 485.2 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.0073, allocations: 6.656 kB / 485.2 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.331e-05/0.007353, allocations: 12.02 kB / 485.2 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.007366, allocations: 7.156 kB / 485.2 MB, free: 24.45 MB / 426.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 0.0001101/0.007476, allocations: 162.6 kB / 485.4 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.007492, allocations: 7.344 kB / 485.4 MB, free: 24.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.0077, allocations: 95.53 kB / 485.5 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.007702, allocations: 0 / 485.5 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.007706, allocations: 1.062 kB / 485.5 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.007709, allocations: 0 / 485.5 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.008048, allocations: 349.1 kB / 485.8 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.008049, allocations: 1.188 kB / 485.8 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-05/0.008096, allocations: 9.75 kB / 485.8 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.008097, allocations: 0 / 485.8 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.008106, allocations: 2.188 kB / 485.8 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.008108, allocations: 3.141 kB / 485.8 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008109, allocations: 1.125 kB / 485.8 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.008379, allocations: 234.9 kB / 486.1 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.008388, allocations: 9.484 kB / 486.1 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.008405, allocations: 5.156 kB / 486.1 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.008472, allocations: 2.906 kB / 486.1 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.008518, allocations: 13.77 kB / 486.1 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.008525, allocations: 2.656 kB / 486.1 MB, free: 23.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.824e-05/0.008613, allocations: 128.7 kB / 486.2 MB, free: 23.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008613, allocations: 0 / 486.2 MB, free: 23.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002397/0.008853, allocations: 15.97 kB / 486.2 MB, free: 23.56 MB / 426.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.0001418/0.008995, allocations: 102.5 kB / 486.3 MB, free: 23.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.009218, allocations: 66.38 kB / 486.4 MB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.00922, allocations: 1.094 kB / 486.4 MB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.427e-05/0.009304, allocations: 35.89 kB / 486.4 MB, free: 23.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.009562, allocations: 24.34 kB / 486.5 MB, free: 23.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.009859, allocations: 144.3 kB / 486.6 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.635e-05/0.009906, allocations: 71.73 kB / 486.7 MB, free: 23.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.125e-05/0.009937, allocations: 3.125 kB / 486.7 MB, free: 23.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.009966, allocations: 12.94 kB / 486.7 MB, free: 23.2 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009967, allocations: 1.125 kB / 486.7 MB, free: 23.2 MB / 426.7 MB Notification: Performance of Templates: time 0.003921/0.01389, allocations: 0.84 MB / 487.5 MB, free: 23.14 MB / 426.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: 5.474577529006638]