Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.664/2.664, allocations: 287.9 MB / 302.9 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001433, allocations: 184.6 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.184/2.184, allocations: 205.4 MB / 0.6301 GB, free: 10.32 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 98.73 kB / 0.7434 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 11 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.161, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.00136/0.1624, allocations: 1.125 MB / 0.9798 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006928/0.1631, allocations: 461.2 kB / 0.9803 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.1632, allocations: 0 / 0.9803 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.295e-05/0.1632, allocations: 0 / 0.9803 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.667e-05/0.1633, allocations: 7.984 kB / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.1635, allocations: 19.86 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.657e-05/0.1635, allocations: 31.95 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.13e-05/0.1636, allocations: 8 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.649e-05/0.1637, allocations: 19.92 kB / 0.9804 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.741e-05/0.1638, allocations: 19.91 kB / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1638, allocations: 7.938 kB / 0.9804 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.1638, allocations: 0 / 0.9804 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.1638, allocations: 7.984 kB / 0.9804 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.1639, allocations: 37.64 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.563e-05/0.164, allocations: 20.23 kB / 0.9805 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.164, allocations: 0 / 0.9805 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.889e-06/0.164, allocations: 0 / 0.9805 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.284e-06/0.164, allocations: 4 kB / 0.9805 GB, free: 26.41 MB / 0.6198 GB 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.0004791/0.1645, allocations: 388.9 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1645, allocations: 12.02 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.1646, allocations: 7.906 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.696e-05/0.1647, allocations: 171 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1647, allocations: 4 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.1647, allocations: 8 kB / 0.981 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.1649, allocations: 53.61 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.017e-06/0.1649, allocations: 0 / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1649, allocations: 4 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.993e-06/0.1649, allocations: 0 / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.725e-05/0.165, allocations: 19.98 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.1654, allocations: 264.9 kB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.868e-05/0.1655, allocations: 46.52 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.1655, allocations: 7.922 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.1657, allocations: 101.1 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.552e-06/0.1657, allocations: 0 / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003199/0.166, allocations: 220.5 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.1661, allocations: 85.05 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.289e-05/0.1662, allocations: 125.8 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1662, allocations: 25.7 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.1662, allocations: 88.14 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.1663, allocations: 11.75 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.616e-06/0.1663, allocations: 8.281 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.1663, allocations: 314.8 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.104e-05/0.1664, allocations: 12 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.364e-05/0.1665, allocations: 42.5 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.025e-05/0.1665, allocations: 53.64 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.29e-06/0.1665, allocations: 0 / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001831/0.1667, allocations: 123.2 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.1668, allocations: 39.09 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1668, allocations: 0 / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1668, allocations: 0 / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.589e-05/0.1669, allocations: 4 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.679e-06/0.1669, allocations: 3.953 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.578e-05/0.167, allocations: 16.05 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.167, allocations: 4 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.776e-05/0.1671, allocations: 147.5 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.1671, allocations: 8 kB / 0.9828 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.1672, allocations: 8.359 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.528e-06/0.1672, allocations: 0 / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.754e-06/0.1672, allocations: 0 / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1672, allocations: 11.89 kB / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.1676, allocations: 396.2 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.128e-06/0.1677, allocations: 3.938 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.188e-05/0.1677, allocations: 4 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.736e-06/0.1677, allocations: 4 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1677, allocations: 8 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.424e-06/0.1677, allocations: 7.953 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.837e-06/0.1677, allocations: 0 / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.168, allocations: 233.1 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/0.168, allocations: 85.02 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.168, allocations: 0 / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.1682, allocations: 15.98 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.1682, allocations: 8.047 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.1683, allocations: 11.92 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.1683, allocations: 83.28 kB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.81e-07/0.1683, allocations: 4 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003148/0.1687, allocations: 16 kB / 0.9836 GB, free: 22.76 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.047e-05/0.1688, allocations: 99.25 kB / 0.9837 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.169, allocations: 115.3 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.817e-06/0.169, allocations: 0 / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.997e-05/0.1691, allocations: 91.39 kB / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.1693, allocations: 8 kB / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.1697, allocations: 168.7 kB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.1698, allocations: 0.6887 MB / 0.9848 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.325e-05/0.1699, allocations: 4 kB / 0.9848 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.1699, allocations: 11.44 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.366e-06/0.1699, allocations: 0 / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.003296/0.1732, allocations: 0.7402 MB / 0.9855 GB, free: 20.77 MB / 0.6198 GB