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.0008762/0.0008762, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009081/0.0009081, allocations: 165.3 kB / 23.02 MB, free: 1.551 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.9189/0.9189, allocations: 177.1 MB / 203.4 MB, free: 5.125 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.001813/0.001813, allocations: 242.1 kB / 260.2 MB, free: 12.71 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.7085/0.7085, allocations: 138.4 MB / 455.2 MB, free: 1.508 MB / 362.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.352e-06/1.352e-06, allocations: 0 / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.642e-05, allocations: 5.688 kB / 0.5551 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.001726/0.001742, allocations: 1.474 MB / 0.5565 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006045/0.002347, allocations: 470.8 kB / 0.5569 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.00238, allocations: 0 / 0.5569 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.002406, allocations: 3.938 kB / 0.5569 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.672e-05/0.002482, allocations: 11.94 kB / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.002627, allocations: 19.86 kB / 0.557 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.769e-05/0.002725, allocations: 55.83 kB / 0.557 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.826e-05/0.002803, allocations: 3.938 kB / 0.557 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.241e-05/0.002875, allocations: 31.91 kB / 0.5571 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.002936, allocations: 23.92 kB / 0.5571 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.002954, allocations: 0 / 0.5571 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.002963, allocations: 4 kB / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.002988, allocations: 8 kB / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.003025, allocations: 15.97 kB / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.003132, allocations: 35.84 kB / 0.5571 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.003134, allocations: 0 / 0.5571 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.9e-07/0.003134, allocations: 0 / 0.5571 GB, free: 14.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.003137, allocations: 0 / 0.5571 GB, free: 14.38 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.0004297/0.003567, allocations: 422.2 kB / 0.5576 GB, free: 13.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.003603, allocations: 12.73 kB / 0.5576 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.00364, allocations: 4.938 kB / 0.5576 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.297e-05/0.003723, allocations: 120.5 kB / 0.5577 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.003734, allocations: 4.375 kB / 0.5577 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.003747, allocations: 8.375 kB / 0.5577 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.131e-05/0.003838, allocations: 67.94 kB / 0.5578 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.003846, allocations: 192 / 0.5578 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.003859, allocations: 8.375 kB / 0.5578 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.003868, allocations: 7.922 kB / 0.5578 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.853e-05/0.003907, allocations: 41.69 kB / 0.5578 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.004216, allocations: 267.7 kB / 0.5581 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.572e-05/0.004282, allocations: 68.75 kB / 0.5581 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/0.004312, allocations: 41.39 kB / 0.5582 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.004329, allocations: 0 / 0.5582 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.004438, allocations: 140.5 kB / 0.5583 GB, free: 13.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.004439, allocations: 0 / 0.5583 GB, free: 13.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002168/0.004656, allocations: 191 kB / 0.5585 GB, free: 12.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.004693, allocations: 81.11 kB / 0.5586 GB, free: 12.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.494e-05/0.004768, allocations: 177.8 kB / 0.5587 GB, free: 12.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.004779, allocations: 33.7 kB / 0.5588 GB, free: 12.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.004821, allocations: 130.9 kB / 0.5589 GB, free: 12.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.004837, allocations: 11.91 kB / 0.5589 GB, free: 12.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.004871, allocations: 35.36 kB / 0.5589 GB, free: 12.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.004969, allocations: 0.4884 MB / 0.5594 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.11e-05/0.005, allocations: 37.69 kB / 0.5595 GB, free: 11.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.373e-05/0.005044, allocations: 72.69 kB / 0.5595 GB, free: 11.65 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.975e-05/0.005113, allocations: 122.4 kB / 0.5596 GB, free: 11.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005115, allocations: 0 / 0.5596 GB, free: 11.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001112/0.005227, allocations: 157.3 kB / 0.5598 GB, free: 11.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.005251, allocations: 40.34 kB / 0.5598 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.005256, allocations: 0 / 0.5598 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.005269, allocations: 4 kB / 0.5598 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.973e-05/0.005309, allocations: 4 kB / 0.5598 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.005314, allocations: 3.984 kB / 0.5598 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.538e-05/0.00535, allocations: 8 kB / 0.5598 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.005355, allocations: 4 kB / 0.5599 GB, free: 11.27 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 7.726e-05/0.005433, allocations: 202.1 kB / 0.56 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.005447, allocations: 15.95 kB / 0.5601 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.005468, allocations: 12.44 kB / 0.5601 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.00547, allocations: 0 / 0.5601 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.005473, allocations: 0 / 0.5601 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.005477, allocations: 0 / 0.5601 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.005746, allocations: 416.7 kB / 0.5605 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.005747, allocations: 0 / 0.5605 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-06/0.005753, allocations: 4 kB / 0.5605 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.005754, allocations: 0 / 0.5605 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.005762, allocations: 4 kB / 0.5605 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.005764, allocations: 0 / 0.5605 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.005765, allocations: 8 kB / 0.5605 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.005925, allocations: 319.1 kB / 0.5608 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.005934, allocations: 7.953 kB / 0.5608 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.005951, allocations: 0 / 0.5608 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.032e-05/0.006001, allocations: 7.984 kB / 0.5608 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.006039, allocations: 8 kB / 0.5608 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.00605, allocations: 7.984 kB / 0.5608 GB, free: 10.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.417e-05/0.006085, allocations: 123.2 kB / 0.5609 GB, free: 10.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006085, allocations: 0 / 0.5609 GB, free: 10.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001552/0.00624, allocations: 20 kB / 0.561 GB, free: 10.04 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.657e-05/0.006306, allocations: 103.2 kB / 0.5611 GB, free: 9.926 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.006454, allocations: 166.4 kB / 0.5612 GB, free: 9.734 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006455, allocations: 0 / 0.5612 GB, free: 9.734 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.378e-05/0.006519, allocations: 116.7 kB / 0.5613 GB, free: 9.598 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.006716, allocations: 20.11 kB / 0.5613 GB, free: 9.578 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.006978, allocations: 187.8 kB / 0.5615 GB, free: 9.359 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.351e-05/0.007012, allocations: 59.34 kB / 0.5616 GB, free: 9.281 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.267e-05/0.007034, allocations: 12.11 kB / 0.5616 GB, free: 9.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.007061, allocations: 12.5 kB / 0.5616 GB, free: 9.254 MB / 490.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007061, allocations: 0 / 0.5616 GB, free: 9.254 MB / 490.7 MB Notification: Performance of Templates: time 0.002301/0.009362, allocations: 0.9552 MB / 0.5625 GB, free: 8.324 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.44665801897645]