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.001068/0.001068, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.00125/0.00125, allocations: 169 kB / 23.8 MB, free: 0.7695 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.016/1.016, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.6072/0.6072, allocations: 115 MB / 375.7 MB, free: 7.609 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.364e-06/2.364e-06, allocations: 0 / 481.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.953e-05, allocations: 5.156 kB / 481.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001387/0.001417, allocations: 0.6698 MB / 482.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.002577, allocations: 1.117 MB / 483.3 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.585e-05/0.002622, allocations: 0 / 483.3 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.00265, allocations: 3.938 kB / 483.3 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.224e-05/0.002712, allocations: 10.16 kB / 483.3 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.003035, allocations: 41.44 kB / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.988e-05/0.003115, allocations: 54.44 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.945e-05/0.003204, allocations: 8.812 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.397e-05/0.003278, allocations: 30.78 kB / 483.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.251e-05/0.003321, allocations: 19.88 kB / 483.4 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.003335, allocations: 1.219 kB / 483.4 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.079e-05/0.003406, allocations: 29.22 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.003426, allocations: 7.875 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.003456, allocations: 15.27 kB / 483.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.003587, allocations: 47.09 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003589, allocations: 2.5 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.003589, allocations: 1.094 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.003594, allocations: 3.938 kB / 483.5 MB, free: 10.61 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.0003164/0.00391, allocations: 381.9 kB / 483.9 MB, free: 10.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.003949, allocations: 9.375 kB / 483.9 MB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.058e-05/0.004039, allocations: 14.06 kB / 483.9 MB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.903e-05/0.004098, allocations: 124.2 kB / 484 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.004108, allocations: 3.781 kB / 484.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.004119, allocations: 3.438 kB / 484.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.004231, allocations: 65.31 kB / 484.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.004239, allocations: 2.75 kB / 484.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.004248, allocations: 384 / 484.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.004253, allocations: 1.062 kB / 484.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.587e-05/0.004289, allocations: 13.81 kB / 484.1 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.004599, allocations: 274.8 kB / 484.4 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.465e-05/0.004673, allocations: 43.27 kB / 484.4 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.193e-05/0.004695, allocations: 15 kB / 484.5 MB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.004716, allocations: 3.75 kB / 484.5 MB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.185e-05/0.004788, allocations: 68.98 kB / 484.5 MB, free: 9.625 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.00479, allocations: 3.984 kB / 484.5 MB, free: 9.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001782/0.004968, allocations: 71.09 kB / 484.6 MB, free: 9.578 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.004996, allocations: 61.78 kB / 484.7 MB, free: 9.512 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.849e-05/0.005054, allocations: 170.1 kB / 484.8 MB, free: 9.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.005062, allocations: 26.8 kB / 484.9 MB, free: 9.309 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.005286, allocations: 136.8 kB / 485 MB, free: 25.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.005303, allocations: 13.11 kB / 485 MB, free: 25.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.00534, allocations: 31.47 kB / 485 MB, free: 25.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.00546, allocations: 497.1 kB / 485.5 MB, free: 24.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/0.005484, allocations: 9.156 kB / 485.5 MB, free: 24.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.924e-05/0.005524, allocations: 55.83 kB / 485.6 MB, free: 24.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.104e-05/0.005595, allocations: 73.16 kB / 485.7 MB, free: 24.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.005597, allocations: 0.625 kB / 485.7 MB, free: 24.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000125/0.005722, allocations: 79.75 kB / 485.7 MB, free: 24.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.005737, allocations: 11.19 kB / 485.7 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.005743, allocations: 0.9062 kB / 485.7 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.005757, allocations: 2.406 kB / 485.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/0.005856, allocations: 24.48 kB / 485.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.005865, allocations: 6.656 kB / 485.8 MB, free: 24.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.005899, allocations: 12.55 kB / 485.8 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.00591, allocations: 3.375 kB / 485.8 MB, free: 24.43 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 7.692e-05/0.005987, allocations: 163.9 kB / 486 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.006001, allocations: 12.14 kB / 486 MB, free: 24.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.006125, allocations: 67.08 kB / 486 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006126, allocations: 0.625 kB / 486 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.00613, allocations: 1 kB / 486 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.006133, allocations: 1.062 kB / 486 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.006339, allocations: 328.1 kB / 486.4 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.006341, allocations: 0.8438 kB / 486.4 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.006373, allocations: 4.656 kB / 486.4 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.006376, allocations: 1.75 kB / 486.4 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.006384, allocations: 8.438 kB / 486.4 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.006386, allocations: 1.031 kB / 486.4 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.006388, allocations: 1.125 kB / 486.4 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.006497, allocations: 213.6 kB / 486.6 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.006505, allocations: 11.45 kB / 486.6 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.006522, allocations: 0.9688 kB / 486.6 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.434e-05/0.006556, allocations: 2.25 kB / 486.6 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.006597, allocations: 10.5 kB / 486.6 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.006604, allocations: 1.531 kB / 486.6 MB, free: 23.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.329e-05/0.006647, allocations: 128.8 kB / 486.7 MB, free: 23.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006647, allocations: 0 / 486.7 MB, free: 23.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001782/0.006825, allocations: 18.09 kB / 486.8 MB, free: 23.57 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.0001098/0.006935, allocations: 97.41 kB / 486.8 MB, free: 23.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.007041, allocations: 44.86 kB / 486.9 MB, free: 23.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.007042, allocations: 0 / 486.9 MB, free: 23.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.301e-05/0.007075, allocations: 25.97 kB / 486.9 MB, free: 23.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.007272, allocations: 13.44 kB / 486.9 MB, free: 23.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.007733, allocations: 149.7 kB / 487.1 MB, free: 23.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.35e-05/0.007766, allocations: 58.83 kB / 487.1 MB, free: 23.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.42e-05/0.00779, allocations: 3.906 kB / 487.1 MB, free: 23.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.007817, allocations: 15.41 kB / 487.2 MB, free: 23.23 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.007817, allocations: 3.938 kB / 487.2 MB, free: 23.22 MB / 426.7 MB Notification: Performance of Templates: time 0.002789/0.01061, allocations: 0.8302 MB / 488 MB, free: 23.16 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: 3.6509874290786684]