Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009941/0.0009941, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001057/0.001057, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9022/0.9022, allocations: 177.1 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002011/0.002011, allocations: 242 kB / 260.5 MB, free: 12.65 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7011/0.7011, allocations: 138.4 MB / 455.5 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay") translateModel(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.5555 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.525e-05, allocations: 6.312 kB / 0.5555 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.001659/0.001675, allocations: 1.482 MB / 0.557 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000551/0.002226, allocations: 458.6 kB / 0.5574 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.002259, allocations: 0 / 0.5574 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.002282, allocations: 7.922 kB / 0.5574 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.002354, allocations: 0 / 0.5574 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.002476, allocations: 31.8 kB / 0.5574 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.415e-05/0.00256, allocations: 55.83 kB / 0.5575 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.54e-05/0.002626, allocations: 4 kB / 0.5575 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.932e-05/0.002695, allocations: 27.92 kB / 0.5575 GB, free: 13.85 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.344e-05/0.002748, allocations: 15.92 kB / 0.5575 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.002766, allocations: 4 kB / 0.5575 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.002775, allocations: 4 kB / 0.5575 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.002799, allocations: 19.91 kB / 0.5576 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.002823, allocations: 8 kB / 0.5576 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.154e-05/0.002905, allocations: 39.83 kB / 0.5576 GB, free: 13.76 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002906, allocations: 0 / 0.5576 GB, free: 13.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.002907, allocations: 4 kB / 0.5576 GB, free: 13.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.685e-06/0.00291, allocations: 0 / 0.5576 GB, free: 13.76 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.0003694/0.003279, allocations: 414.3 kB / 0.558 GB, free: 13.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.003313, allocations: 9.938 kB / 0.558 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.003339, allocations: 12.89 kB / 0.558 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.441e-05/0.003404, allocations: 124.5 kB / 0.5582 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.003414, allocations: 8.375 kB / 0.5582 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-06/0.00342, allocations: 384 / 0.5582 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.602e-05/0.003496, allocations: 75.89 kB / 0.5582 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.003501, allocations: 192 / 0.5582 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.003508, allocations: 4.375 kB / 0.5582 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.003514, allocations: 7.922 kB / 0.5582 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.807e-05/0.003542, allocations: 33.7 kB / 0.5583 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.003765, allocations: 252.3 kB / 0.5585 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.856e-05/0.003813, allocations: 60.77 kB / 0.5586 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.003836, allocations: 41.38 kB / 0.5586 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.003851, allocations: 7.938 kB / 0.5586 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.019e-05/0.003941, allocations: 128.6 kB / 0.5587 GB, free: 12.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 8.51e-07/0.003942, allocations: 4 kB / 0.5588 GB, free: 12.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001789/0.004121, allocations: 194.5 kB / 0.5589 GB, free: 12.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.004154, allocations: 81.11 kB / 0.559 GB, free: 12.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.977e-05/0.004224, allocations: 165.9 kB / 0.5592 GB, free: 11.94 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.004233, allocations: 25.7 kB / 0.5592 GB, free: 11.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.004282, allocations: 138.8 kB / 0.5593 GB, free: 11.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.004295, allocations: 19.84 kB / 0.5593 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.004326, allocations: 31.38 kB / 0.5594 GB, free: 11.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.004436, allocations: 0.4884 MB / 0.5599 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.004456, allocations: 37.69 kB / 0.5599 GB, free: 11.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/0.004489, allocations: 72.73 kB / 0.56 GB, free: 11.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.153e-05/0.00455, allocations: 110.8 kB / 0.5601 GB, free: 10.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.004552, allocations: 0 / 0.5601 GB, free: 10.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.777e-05/0.00465, allocations: 153 kB / 0.5602 GB, free: 10.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.004674, allocations: 37.64 kB / 0.5602 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.004678, allocations: 0 / 0.5602 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.004686, allocations: 0 / 0.5602 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.233e-05/0.004718, allocations: 7.938 kB / 0.5603 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.004722, allocations: 4.062 kB / 0.5603 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.428e-05/0.004756, allocations: 11.98 kB / 0.5603 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.004761, allocations: 3.984 kB / 0.5603 GB, free: 10.71 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.836e-05/0.004829, allocations: 195.5 kB / 0.5605 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.004841, allocations: 11.95 kB / 0.5605 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/0.004863, allocations: 16.36 kB / 0.5605 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.004865, allocations: 4 kB / 0.5605 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.004866, allocations: 0 / 0.5605 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.004869, allocations: 0 / 0.5605 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.005127, allocations: 389.4 kB / 0.5609 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.005129, allocations: 4 kB / 0.5609 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-06/0.005134, allocations: 4.062 kB / 0.5609 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.005137, allocations: 7.938 kB / 0.5609 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.005143, allocations: 0 / 0.5609 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.005144, allocations: 3.938 kB / 0.5609 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.005146, allocations: 3.984 kB / 0.5609 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.005272, allocations: 303.3 kB / 0.5612 GB, free: 9.691 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.00528, allocations: 7.938 kB / 0.5612 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.005292, allocations: 4 kB / 0.5612 GB, free: 9.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.712e-05/0.005339, allocations: 7.984 kB / 0.5612 GB, free: 9.672 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.005366, allocations: 7.984 kB / 0.5612 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.005375, allocations: 8 kB / 0.5612 GB, free: 9.656 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.096e-05/0.005406, allocations: 131.1 kB / 0.5613 GB, free: 9.527 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005406, allocations: 0 / 0.5613 GB, free: 9.527 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001411/0.005548, allocations: 16 kB / 0.5613 GB, free: 9.512 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.034e-05/0.005608, allocations: 99.23 kB / 0.5614 GB, free: 9.402 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.005712, allocations: 162.4 kB / 0.5616 GB, free: 9.215 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005713, allocations: 0 / 0.5616 GB, free: 9.215 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.99e-05/0.005763, allocations: 112.8 kB / 0.5617 GB, free: 9.082 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.005935, allocations: 23.5 kB / 0.5617 GB, free: 9.062 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002082/0.006143, allocations: 190.6 kB / 0.5619 GB, free: 8.844 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.931e-05/0.006172, allocations: 63.34 kB / 0.562 GB, free: 8.762 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.735e-05/0.00619, allocations: 4 kB / 0.562 GB, free: 8.758 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.006248, allocations: 86.19 kB / 0.5621 GB, free: 8.672 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.006248, allocations: 0 / 0.5621 GB, free: 8.672 MB / 490.7 MB Notification: Performance of Templates: time 0.002137/0.008385, allocations: 1.034 MB / 0.5631 GB, free: 7.672 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.sim & ./BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.447621863335371]