Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.62/2.62, allocations: 253.2 MB / 260.6 MB, free: 7.398 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.001417, allocations: 186.9 kB / 319.9 MB, free: 3.02 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.6 MB / 0.5708 GB, free: 15.26 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001128, allocations: 85.47 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.07e-05, allocations: 7.984 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2166, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8847/1.101, allocations: 132.3 MB / 1.018 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/1.102, allocations: 70.95 kB / 1.018 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005091/1.107, allocations: 1.177 MB / 1.019 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.884e-06/1.107, allocations: 0 / 1.019 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.222e-05/1.107, allocations: 4 kB / 1.019 GB, free: 3.906 MB / 0.6355 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.0006222/1.107, allocations: 388.3 kB / 1.019 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/1.108, allocations: 12.77 kB / 1.019 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/1.108, allocations: 7.906 kB / 1.019 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/1.108, allocations: 175 kB / 1.02 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/1.108, allocations: 3.984 kB / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/1.108, allocations: 4 kB / 1.02 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.29e-05/1.108, allocations: 15.12 kB / 1.02 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/1.108, allocations: 48.88 kB / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.108, allocations: 2.625 kB / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/1.108, allocations: 3.938 kB / 1.02 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/1.108, allocations: 0 / 1.02 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/1.109, allocations: 244.2 kB / 1.02 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/1.109, allocations: 41.95 kB / 1.02 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/1.109, allocations: 20.42 kB / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/1.109, allocations: 4 kB / 1.02 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/1.109, allocations: 91.78 kB / 1.02 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.144e-06/1.109, allocations: 0 / 1.02 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002992/1.109, allocations: 95.45 kB / 1.02 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/1.109, allocations: 81.11 kB / 1.02 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/1.11, allocations: 108.1 kB / 1.02 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/1.11, allocations: 25.7 kB / 1.02 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/1.11, allocations: 90.69 kB / 1.02 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/1.11, allocations: 18.47 kB / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/1.11, allocations: 0 / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.11, allocations: 322 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.21e-05/1.11, allocations: 11.12 kB / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.148e-05/1.11, allocations: 39.2 kB / 1.021 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.927e-05/1.11, allocations: 19.42 kB / 1.021 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/1.11, allocations: 0 / 1.021 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001977/1.11, allocations: 81.88 kB / 1.021 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/1.11, allocations: 33.7 kB / 1.021 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.11, allocations: 0 / 1.021 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.11, allocations: 0 / 1.021 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/1.11, allocations: 7.938 kB / 1.021 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/1.11, allocations: 64 / 1.021 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/1.111, allocations: 15.98 kB / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/1.111, allocations: 7.25 kB / 1.021 GB, free: 1.805 MB / 0.6355 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 () * 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 0.0001277/1.111, allocations: 142.6 kB / 1.021 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/1.111, allocations: 7.906 kB / 1.021 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/1.111, allocations: 12.17 kB / 1.021 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/1.111, allocations: 4 kB / 1.021 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.111, allocations: 0 / 1.021 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.111, allocations: 4.094 kB / 1.021 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/1.111, allocations: 334.6 kB / 1.022 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.111, allocations: 4.672 kB / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-05/1.111, allocations: 0 / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/1.111, allocations: 0 / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/1.112, allocations: 4 kB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.112, allocations: 1.438 kB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.112, allocations: 3.938 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/1.112, allocations: 207.5 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/1.112, allocations: 81.09 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/1.112, allocations: 4 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/1.112, allocations: 7.984 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/1.112, allocations: 11.17 kB / 1.022 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/1.112, allocations: 4 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.906e-05/1.112, allocations: 86.78 kB / 1.022 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/1.112, allocations: 0 / 1.022 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003324/1.113, allocations: 16 kB / 1.022 GB, free: 0.8477 MB / 0.6355 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) * 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 0.0001437/1.113, allocations: 101.1 kB / 1.022 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002263/1.113, allocations: 107.5 kB / 1.022 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.113, allocations: 4 kB / 1.022 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/1.113, allocations: 85.22 kB / 1.022 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/1.114, allocations: 12.12 kB / 1.022 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/1.114, allocations: 104.8 kB / 1.022 GB, free: 440 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/1.114, allocations: 0.6885 MB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.363e-05/1.114, allocations: 4 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/1.114, allocations: 11.44 kB / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of SimCode: time 9.12e-07/1.114, allocations: 3.938 kB / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of Templates: time 0.003965/1.118, allocations: 0.7144 MB / 1.024 GB, free: 15 MB / 0.6511 GB