Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.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.001033/0.001033, allocations: 96.2 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.001015/0.001015, allocations: 165 kB / 23.79 MB, free: 0.7734 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 0.9084/0.9084, allocations: 177.2 MB / 204.2 MB, free: 5.609 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.5596/0.5596, allocations: 115 MB / 375.7 MB, free: 7.641 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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 481.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.623e-05, allocations: 4.984 kB / 481.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001486/0.001502, allocations: 1.472 MB / 482.9 MB, free: 10.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005105/0.002013, allocations: 466.1 kB / 483.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.002044, allocations: 0.6562 kB / 483.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.002068, allocations: 3.938 kB / 483.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.002138, allocations: 20.08 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.002269, allocations: 13.72 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.378e-05/0.002363, allocations: 54.56 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.462e-05/0.002437, allocations: 6.922 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.299e-05/0.00251, allocations: 33.27 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.002567, allocations: 13.75 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.002586, allocations: 5.562 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.002596, allocations: 3.156 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.002618, allocations: 13.16 kB / 483.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.002653, allocations: 14.17 kB / 483.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.002755, allocations: 36.7 kB / 483.6 MB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002757, allocations: 0 / 483.6 MB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.002758, allocations: 1.969 kB / 483.6 MB, free: 10.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.002761, allocations: 1.781 kB / 483.6 MB, free: 10.59 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.0003951/0.003157, allocations: 417.8 kB / 484 MB, free: 10.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.003192, allocations: 10.06 kB / 484 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.003233, allocations: 7.719 kB / 484 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.362e-05/0.003297, allocations: 122.9 kB / 484.2 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.003308, allocations: 2 kB / 484.2 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.003318, allocations: 8 kB / 484.2 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.974e-05/0.003398, allocations: 74.2 kB / 484.2 MB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.003404, allocations: 192 / 484.2 MB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.003414, allocations: 6.453 kB / 484.2 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.00342, allocations: 4.938 kB / 484.3 MB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.327e-05/0.003453, allocations: 37.72 kB / 484.3 MB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/0.003702, allocations: 262.6 kB / 484.5 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.106e-05/0.003763, allocations: 72.08 kB / 484.6 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/0.003788, allocations: 40.45 kB / 484.7 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.003801, allocations: 1.969 kB / 484.7 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.253e-05/0.003894, allocations: 140.8 kB / 484.8 MB, free: 9.406 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.003895, allocations: 0 / 484.8 MB, free: 9.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002001/0.004095, allocations: 191.1 kB / 485 MB, free: 9.262 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.004122, allocations: 84.14 kB / 485.1 MB, free: 9.164 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.004261, allocations: 175.1 kB / 485.2 MB, free: 24.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.004267, allocations: 27.86 kB / 485.3 MB, free: 24.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.004308, allocations: 135.3 kB / 485.4 MB, free: 24.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.004323, allocations: 21.12 kB / 485.4 MB, free: 24.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.004349, allocations: 39.3 kB / 485.5 MB, free: 24.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.004447, allocations: 498.1 kB / 485.9 MB, free: 24.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.661e-05/0.004473, allocations: 39.88 kB / 486 MB, free: 24.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.226e-05/0.004505, allocations: 68.02 kB / 486 MB, free: 24.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.654e-05/0.004562, allocations: 116.7 kB / 486.2 MB, free: 24.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.004564, allocations: 2 kB / 486.2 MB, free: 24.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.857e-05/0.004662, allocations: 157.3 kB / 486.3 MB, free: 23.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.004683, allocations: 33.14 kB / 486.3 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.004687, allocations: 1.094 kB / 486.3 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.004698, allocations: 5.062 kB / 486.4 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.241e-05/0.004741, allocations: 4.188 kB / 486.4 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.004746, allocations: 1.938 kB / 486.4 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/0.004779, allocations: 8.312 kB / 486.4 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.004785, allocations: 4.469 kB / 486.4 MB, free: 23.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$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): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.174e-05/0.004857, allocations: 195.9 kB / 486.6 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.00487, allocations: 16.58 kB / 486.6 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.951e-05/0.004889, allocations: 9.438 kB / 486.6 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.004891, allocations: 4.344 kB / 486.6 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.004895, allocations: 2.062 kB / 486.6 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.004897, allocations: 0 / 486.6 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.005144, allocations: 414.1 kB / 487 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.005145, allocations: 5.031 kB / 487 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-06/0.005149, allocations: 1.094 kB / 487 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.005151, allocations: 1.375 kB / 487 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.005158, allocations: 5.406 kB / 487 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.005159, allocations: 1.188 kB / 487 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.00516, allocations: 1.188 kB / 487 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.005298, allocations: 319 kB / 487.3 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.005305, allocations: 6.922 kB / 487.3 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.00532, allocations: 1.375 kB / 487.3 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.874e-05/0.005369, allocations: 14.09 kB / 487.3 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.005406, allocations: 9.688 kB / 487.4 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.005417, allocations: 4.875 kB / 487.4 MB, free: 23.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.471e-05/0.005452, allocations: 124.3 kB / 487.5 MB, free: 22.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005452, allocations: 1.719 kB / 487.5 MB, free: 22.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001447/0.005597, allocations: 21.39 kB / 487.5 MB, free: 22.9 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 6.635e-05/0.005663, allocations: 94.88 kB / 487.6 MB, free: 22.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.005793, allocations: 170.2 kB / 487.8 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.71e-07/0.005794, allocations: 0 / 487.8 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.098e-05/0.005845, allocations: 116.7 kB / 487.9 MB, free: 22.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.006031, allocations: 30.84 kB / 487.9 MB, free: 22.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002231/0.006254, allocations: 194.1 kB / 488.1 MB, free: 22.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.681e-05/0.006281, allocations: 61.16 kB / 488.2 MB, free: 22.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.027e-05/0.006301, allocations: 3.094 kB / 488.2 MB, free: 22.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.006323, allocations: 12.59 kB / 488.2 MB, free: 22.29 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.006324, allocations: 0 / 488.2 MB, free: 22.29 MB / 426.7 MB Notification: Performance of Templates: time 0.002228/0.008552, allocations: 0.9751 MB / 489.1 MB, free: 22.2 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2796361069194973]