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.0007175/0.0007175, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007425/0.0007425, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.8689/0.8689, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.58/0.58, allocations: 114 MB / 374.7 MB, free: 8.711 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.573e-06/1.573e-06, allocations: 0 / 0.5554 GB, free: 1.262 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.973e-05, allocations: 4.812 kB / 0.5554 GB, free: 1.258 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001738/0.001758, allocations: 1.434 MB / 0.5568 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000563/0.002321, allocations: 446.8 kB / 0.5572 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.002357, allocations: 0 / 0.5572 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.002384, allocations: 3.984 kB / 0.5572 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.741e-05/0.002461, allocations: 11.88 kB / 0.5572 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.002608, allocations: 19.92 kB / 0.5572 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.002717, allocations: 59.77 kB / 0.5573 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.842e-05/0.002796, allocations: 0 / 0.5573 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.158e-05/0.002867, allocations: 27.92 kB / 0.5573 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.81e-05/0.002925, allocations: 19.97 kB / 0.5573 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.002944, allocations: 4 kB / 0.5573 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.002953, allocations: 4 kB / 0.5573 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.002978, allocations: 15.92 kB / 0.5574 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.003013, allocations: 11.98 kB / 0.5574 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.003116, allocations: 43.81 kB / 0.5574 GB, free: 15.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.003117, allocations: 4 kB / 0.5574 GB, free: 15.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.003118, allocations: 0 / 0.5574 GB, free: 15.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.003121, allocations: 0 / 0.5574 GB, free: 15.15 MB / 490.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.0004413/0.003563, allocations: 315.9 kB / 0.5577 GB, free: 14.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.003601, allocations: 12.62 kB / 0.5577 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.003631, allocations: 4.891 kB / 0.5577 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.262e-05/0.003713, allocations: 121.7 kB / 0.5578 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.003724, allocations: 4.375 kB / 0.5578 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.003733, allocations: 4.375 kB / 0.5579 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.726e-05/0.00383, allocations: 75.95 kB / 0.5579 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.003839, allocations: 192 / 0.5579 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.003847, allocations: 384 / 0.5579 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.003852, allocations: 3.938 kB / 0.5579 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.393e-05/0.003906, allocations: 53.69 kB / 0.558 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.004192, allocations: 212.5 kB / 0.5582 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.049e-05/0.004262, allocations: 68.27 kB / 0.5582 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.004294, allocations: 50.62 kB / 0.5583 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.004312, allocations: 0 / 0.5583 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.00444, allocations: 146.6 kB / 0.5584 GB, free: 13.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 8.02e-07/0.004441, allocations: 0 / 0.5584 GB, free: 13.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002319/0.004673, allocations: 198.7 kB / 0.5586 GB, free: 13.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.004713, allocations: 85.05 kB / 0.5587 GB, free: 13.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.583e-05/0.004769, allocations: 113.8 kB / 0.5588 GB, free: 13.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.004781, allocations: 29.7 kB / 0.5588 GB, free: 13.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.004815, allocations: 84.12 kB / 0.5589 GB, free: 13.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.004829, allocations: 19.86 kB / 0.5589 GB, free: 13.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.004858, allocations: 25.72 kB / 0.559 GB, free: 13.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.004e-05/0.004928, allocations: 318.8 kB / 0.5593 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.237e-05/0.004961, allocations: 49.69 kB / 0.5593 GB, free: 12.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-05/0.005, allocations: 64.27 kB / 0.5594 GB, free: 12.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.063e-05/0.005071, allocations: 113.9 kB / 0.5595 GB, free: 12.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.005073, allocations: 4 kB / 0.5595 GB, free: 12.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001136/0.005187, allocations: 157 kB / 0.5596 GB, free: 12.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.005217, allocations: 29.7 kB / 0.5597 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.005223, allocations: 4 kB / 0.5597 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.005236, allocations: 0 / 0.5597 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.493e-05/0.005271, allocations: 8 kB / 0.5597 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.005275, allocations: 0 / 0.5597 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.985e-05/0.005315, allocations: 15.88 kB / 0.5597 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.005321, allocations: 4 kB / 0.5597 GB, free: 12.5 MB / 490.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 6.821e-05/0.005389, allocations: 158.8 kB / 0.5599 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-06/0.005398, allocations: 7.938 kB / 0.5599 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.739e-05/0.005415, allocations: 8.5 kB / 0.5599 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.005419, allocations: 8 kB / 0.5599 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.005423, allocations: 0 / 0.5599 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.005428, allocations: 4.359 kB / 0.5599 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.005679, allocations: 381.4 kB / 0.5602 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.00568, allocations: 0 / 0.5602 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-06/0.005683, allocations: 0 / 0.5602 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.005685, allocations: 0 / 0.5602 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.005692, allocations: 7.938 kB / 0.5602 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.005693, allocations: 4 kB / 0.5603 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.005693, allocations: 0 / 0.5603 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.00583, allocations: 258.8 kB / 0.5605 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.005842, allocations: 15.94 kB / 0.5605 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.005856, allocations: 4 kB / 0.5605 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.336e-05/0.005909, allocations: 8 kB / 0.5605 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.005942, allocations: 7.984 kB / 0.5605 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.005953, allocations: 4 kB / 0.5605 GB, free: 11.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.067e-05/0.005984, allocations: 87.27 kB / 0.5606 GB, free: 11.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005984, allocations: 0 / 0.5606 GB, free: 11.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001508/0.006135, allocations: 20 kB / 0.5606 GB, free: 11.45 MB / 490.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.779e-05/0.006203, allocations: 99.25 kB / 0.5607 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.006338, allocations: 162.7 kB / 0.5609 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006339, allocations: 4 kB / 0.5609 GB, free: 11.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.701e-05/0.006396, allocations: 109 kB / 0.561 GB, free: 11.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.006589, allocations: 23.7 kB / 0.561 GB, free: 11.01 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.006834, allocations: 204.2 kB / 0.5612 GB, free: 10.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.007114, allocations: 75.45 kB / 0.5613 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.007137, allocations: 12.5 kB / 0.5613 GB, free: 10.66 MB / 490.7 MB Notification: Performance of SimCode: time 3.5e-07/0.007137, allocations: 0 / 0.5613 GB, free: 10.66 MB / 490.7 MB Notification: Performance of Templates: time 0.001499/0.008636, allocations: 0.921 MB / 0.5622 GB, free: 9.746 MB / 490.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: 4.595356050878763] Failed to read output from testmodel.py, exit status != 0: 0.01359585765749216 0.021310022 0.016409760000000002 Calling exit ...