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.0009282/0.0009282, allocations: 77.95 kB / 20.65 MB, free: 3.828 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.0009883/0.0009883, allocations: 165 kB / 24.05 MB, free: 444 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.9289/0.9289, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.6231/0.6231, allocations: 115 MB / 376 MB, free: 7.496 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 1.994e-06/1.994e-06, allocations: 0 / 481.9 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.936e-05, allocations: 5.266 kB / 481.9 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001184/0.001203, allocations: 0.6624 MB / 482.6 MB, free: 11.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.002316, allocations: 1.112 MB / 483.7 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.362e-05/0.00237, allocations: 1.094 kB / 483.7 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.002401, allocations: 3.938 kB / 483.7 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.025e-05/0.002481, allocations: 10.88 kB / 483.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.002808, allocations: 42.17 kB / 483.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.465e-05/0.002892, allocations: 44.84 kB / 483.8 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.002979, allocations: 14.56 kB / 483.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.549e-05/0.003064, allocations: 32.52 kB / 483.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.259e-05/0.003107, allocations: 18.69 kB / 483.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.003123, allocations: 4.438 kB / 483.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.33e-05/0.003186, allocations: 25.22 kB / 483.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.904e-05/0.003205, allocations: 12.8 kB / 483.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.003233, allocations: 13.25 kB / 483.9 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.003352, allocations: 47.75 kB / 484 MB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003354, allocations: 5.219 kB / 484 MB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003354, allocations: 0 / 484 MB, free: 10.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.003359, allocations: 1.781 kB / 484 MB, free: 10.45 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.0003002/0.003659, allocations: 386 kB / 484.4 MB, free: 10.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.003695, allocations: 9 kB / 484.4 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.003773, allocations: 11.25 kB / 484.4 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.024e-05/0.003823, allocations: 119.8 kB / 484.5 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.003832, allocations: 2.5 kB / 484.5 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.00384, allocations: 3.5 kB / 484.5 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.653e-05/0.003936, allocations: 69.56 kB / 484.6 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.003945, allocations: 192 / 484.6 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.003953, allocations: 384 / 484.6 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.003961, allocations: 6.516 kB / 484.6 MB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.324e-05/0.003994, allocations: 12.06 kB / 484.6 MB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002596/0.004254, allocations: 258.7 kB / 484.9 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.77e-05/0.004332, allocations: 46.17 kB / 484.9 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.004349, allocations: 11.44 kB / 484.9 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.004374, allocations: 2.969 kB / 484.9 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.928e-05/0.004443, allocations: 64.81 kB / 485 MB, free: 9.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.004444, allocations: 0 / 485 MB, free: 9.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001654/0.00461, allocations: 72.17 kB / 485 MB, free: 9.449 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.004643, allocations: 57.69 kB / 485.1 MB, free: 9.383 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.006e-05/0.004713, allocations: 166.5 kB / 485.3 MB, free: 9.215 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.004723, allocations: 26.86 kB / 485.3 MB, free: 9.184 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.004993, allocations: 143.2 kB / 485.4 MB, free: 25.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.005013, allocations: 11.84 kB / 485.4 MB, free: 25.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.005051, allocations: 33.19 kB / 485.5 MB, free: 25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.005163, allocations: 494.4 kB / 486 MB, free: 24.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.00518, allocations: 7.828 kB / 486 MB, free: 24.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.005214, allocations: 54.86 kB / 486 MB, free: 24.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.589e-05/0.00527, allocations: 71.25 kB / 486.1 MB, free: 24.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.005272, allocations: 2.031 kB / 486.1 MB, free: 24.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.29e-05/0.005365, allocations: 75.31 kB / 486.2 MB, free: 24.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.005381, allocations: 6.188 kB / 486.2 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.005388, allocations: 9.062 kB / 486.2 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.005404, allocations: 2.25 kB / 486.2 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.753e-05/0.005491, allocations: 21.64 kB / 486.2 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.005497, allocations: 1.125 kB / 486.2 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.582e-05/0.005532, allocations: 15.64 kB / 486.2 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.005542, allocations: 7.094 kB / 486.2 MB, free: 24.31 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.291e-05/0.005614, allocations: 156.9 kB / 486.4 MB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.005627, allocations: 3.688 kB / 486.4 MB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.583e-05/0.005723, allocations: 73.61 kB / 486.5 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.005725, allocations: 2.062 kB / 486.5 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.005727, allocations: 0 / 486.5 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.00573, allocations: 1.531 kB / 486.5 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.005915, allocations: 306.3 kB / 486.8 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.005917, allocations: 0 / 486.8 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.005947, allocations: 5.094 kB / 486.8 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.005951, allocations: 5.625 kB / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.005957, allocations: 4.234 kB / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.005958, allocations: 0.7812 kB / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.005959, allocations: 0 / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.006067, allocations: 206.8 kB / 487 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.006075, allocations: 9.156 kB / 487 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.006091, allocations: 12.19 kB / 487 MB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.175e-05/0.006122, allocations: 2.094 kB / 487 MB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.006158, allocations: 13.23 kB / 487 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.006163, allocations: 1.5 kB / 487 MB, free: 23.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.545e-05/0.006208, allocations: 127.7 kB / 487.1 MB, free: 23.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006208, allocations: 0 / 487.1 MB, free: 23.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001807/0.006389, allocations: 14.19 kB / 487.1 MB, free: 23.47 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.0001469/0.006536, allocations: 100.9 kB / 487.2 MB, free: 23.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.006647, allocations: 45.05 kB / 487.3 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.006648, allocations: 0 / 487.3 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.418e-05/0.006683, allocations: 19.58 kB / 487.3 MB, free: 23.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.006883, allocations: 9.125 kB / 487.3 MB, free: 23.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.007253, allocations: 149.8 kB / 487.5 MB, free: 23.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.431e-05/0.007277, allocations: 56.73 kB / 487.5 MB, free: 23.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.242e-05/0.0073, allocations: 10.75 kB / 487.5 MB, free: 23.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.00735, allocations: 73.95 kB / 487.6 MB, free: 23.07 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.007351, allocations: 1.312 kB / 487.6 MB, free: 23.07 MB / 426.7 MB Notification: Performance of Templates: time 0.002755/0.01011, allocations: 0.9316 MB / 488.5 MB, free: 22.98 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.3686516797170043]