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.001442/0.001442, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.0016/0.0016, allocations: 157.7 kB / 23.52 MB, free: 0.918 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.543/1.543, allocations: 177.2 MB / 203.9 MB, free: 5.594 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 0.9693/0.9693, allocations: 115 MB / 375.3 MB, free: 7.582 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 4.288e-06/4.288e-06, allocations: 0 / 480.7 MB, free: 11.94 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.326e-05/4.755e-05, allocations: 8.484 kB / 480.7 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.004289/0.004336, allocations: 1.438 MB / 482.2 MB, free: 10.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.005748, allocations: 443.6 kB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.005814, allocations: 0.7188 kB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.447e-05/0.005859, allocations: 3.422 kB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.00602, allocations: 17.14 kB / 482.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.006277, allocations: 17.77 kB / 482.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.006475, allocations: 52.45 kB / 482.7 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.006608, allocations: 11.66 kB / 482.7 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.006764, allocations: 31.2 kB / 482.7 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.937e-05/0.006863, allocations: 12.16 kB / 482.7 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.006897, allocations: 3.531 kB / 482.7 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.789e-05/0.006915, allocations: 4.156 kB / 482.8 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.006954, allocations: 9.125 kB / 482.8 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.941e-05/0.007024, allocations: 20.83 kB / 482.8 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.0072, allocations: 48.23 kB / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.007205, allocations: 0 / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.007207, allocations: 3.938 kB / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.007213, allocations: 0 / 482.8 MB, free: 10.57 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.000833/0.008046, allocations: 318.1 kB / 483.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.0081, allocations: 10.59 kB / 483.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.857e-05/0.008178, allocations: 4.438 kB / 483.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.008318, allocations: 121.8 kB / 483.3 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.008341, allocations: 2.25 kB / 483.3 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.008359, allocations: 4.125 kB / 483.3 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.008547, allocations: 81.69 kB / 483.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.00856, allocations: 1.406 kB / 483.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.008578, allocations: 4.375 kB / 483.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.008585, allocations: 3.938 kB / 483.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.008698, allocations: 51 kB / 483.4 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.009219, allocations: 208.1 kB / 483.6 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.00937, allocations: 64.59 kB / 483.7 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.214e-05/0.009452, allocations: 52.14 kB / 483.7 MB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.009482, allocations: 1.062 kB / 483.7 MB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002944/0.009777, allocations: 139.1 kB / 483.9 MB, free: 9.555 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/0.009779, allocations: 1.719 kB / 483.9 MB, free: 9.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004998/0.01028, allocations: 203.7 kB / 484.1 MB, free: 9.398 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.01033, allocations: 80.11 kB / 484.2 MB, free: 9.305 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.01044, allocations: 119 kB / 484.3 MB, free: 9.191 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.01046, allocations: 28.61 kB / 484.3 MB, free: 9.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.01073, allocations: 93.38 kB / 484.4 MB, free: 25.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.01076, allocations: 14.94 kB / 484.4 MB, free: 25.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.01083, allocations: 28.86 kB / 484.4 MB, free: 25.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.01101, allocations: 314.8 kB / 484.7 MB, free: 24.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.442e-05/0.01108, allocations: 43.34 kB / 484.8 MB, free: 24.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.91e-05/0.01117, allocations: 65.64 kB / 484.8 MB, free: 24.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.01132, allocations: 118.4 kB / 485 MB, free: 24.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.01132, allocations: 0 / 485 MB, free: 24.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002897/0.01161, allocations: 168.1 kB / 485.1 MB, free: 24.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/0.01166, allocations: 31.89 kB / 485.2 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.01167, allocations: 1.094 kB / 485.2 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/0.0117, allocations: 2.062 kB / 485.2 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.622e-05/0.01177, allocations: 2.031 kB / 485.2 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.01178, allocations: 2.875 kB / 485.2 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.01189, allocations: 16.97 kB / 485.2 MB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.01191, allocations: 3.375 kB / 485.2 MB, free: 24.35 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 0.0001812/0.01209, allocations: 150.2 kB / 485.3 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.01213, allocations: 15.7 kB / 485.3 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.01217, allocations: 9.531 kB / 485.4 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01217, allocations: 2.812 kB / 485.4 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.01218, allocations: 1.031 kB / 485.4 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.01219, allocations: 3.234 kB / 485.4 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006997/0.01289, allocations: 369.5 kB / 485.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01289, allocations: 2.75 kB / 485.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.0129, allocations: 0.8125 kB / 485.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.01291, allocations: 1.094 kB / 485.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.01292, allocations: 2.188 kB / 485.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01293, allocations: 0 / 485.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.01293, allocations: 5.25 kB / 485.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006045/0.01353, allocations: 274.5 kB / 486 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.01356, allocations: 16.95 kB / 486 MB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.0136, allocations: 9.969 kB / 486 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.01379, allocations: 8.688 kB / 486 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.01387, allocations: 6.312 kB / 486 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.01389, allocations: 2.844 kB / 486 MB, free: 23.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.014, allocations: 85.75 kB / 486.1 MB, free: 23.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.014, allocations: 1.469 kB / 486.1 MB, free: 23.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004488/0.01445, allocations: 20.33 kB / 486.2 MB, free: 23.51 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 0.0002099/0.01466, allocations: 103.7 kB / 486.3 MB, free: 23.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003711/0.01503, allocations: 161.7 kB / 486.4 MB, free: 23.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.01503, allocations: 1.031 kB / 486.4 MB, free: 23.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.01521, allocations: 115.1 kB / 486.5 MB, free: 23.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.01573, allocations: 18.06 kB / 486.5 MB, free: 23.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.01633, allocations: 182.9 kB / 486.7 MB, free: 23.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.01643, allocations: 72.48 kB / 486.8 MB, free: 22.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.999e-05/0.01648, allocations: 3.781 kB / 486.8 MB, free: 22.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.01654, allocations: 11.16 kB / 486.8 MB, free: 22.93 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01654, allocations: 3.375 kB / 486.8 MB, free: 22.93 MB / 426.7 MB Notification: Performance of Templates: time 0.006183/0.02272, allocations: 0.9352 MB / 487.7 MB, free: 22.84 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.496006632922217]