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.256/2.256, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 175.9 kB / 325.6 MB, free: 2.809 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.551/2.551, allocations: 205.4 MB / 0.5766 GB, free: 21.04 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.001534/0.001534, allocations: 86.38 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006759/0.0006759, allocations: 11.56 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2516, allocations: 106.3 MB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2412/0.4928, allocations: 132.1 MB / 1.028 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.4932, allocations: 75.95 kB / 1.028 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005272/0.4985, allocations: 1.199 MB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.983e-06/0.4985, allocations: 3.938 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.4986, allocations: 0 / 1.029 GB, free: 12.34 MB / 0.6823 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.000698/0.4993, allocations: 392.8 kB / 1.03 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.4993, allocations: 12.03 kB / 1.03 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.4994, allocations: 4 kB / 1.03 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.4996, allocations: 179 kB / 1.03 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.4996, allocations: 0 / 1.03 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.4997, allocations: 4 kB / 1.03 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.4998, allocations: 53.67 kB / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.4999, allocations: 0 / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.4999, allocations: 0 / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.4999, allocations: 0 / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.251e-05/0.5, allocations: 16 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.5006, allocations: 280.8 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.5007, allocations: 38.52 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.5007, allocations: 0 / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.501, allocations: 105.3 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 4.208e-06/0.501, allocations: 3.984 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0004501/0.5014, allocations: 220.6 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.5015, allocations: 85.11 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.5017, allocations: 108.8 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.5017, allocations: 25.7 kB / 1.031 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.5018, allocations: 88.14 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.5018, allocations: 23.78 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-06/0.5018, allocations: 0 / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.502, allocations: 314.8 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.222e-05/0.5021, allocations: 19.98 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.5021, allocations: 38.5 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.123e-05/0.5022, allocations: 49.64 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5023, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002514/0.5025, allocations: 123.2 kB / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.114e-05/0.5026, allocations: 37.69 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.5026, allocations: 64 / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.5026, allocations: 4 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.5027, allocations: 4 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.5027, allocations: 0 / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.5028, allocations: 16.94 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.5029, allocations: 8 kB / 1.031 GB, free: 9.848 MB / 0.6823 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 0.0001486/0.503, allocations: 151.5 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.5031, allocations: 4 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/0.5031, allocations: 12.38 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.5031, allocations: 0 / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5031, allocations: 0 / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5032, allocations: 3.984 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.5038, allocations: 400.1 kB / 1.032 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5038, allocations: 0 / 1.032 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.789e-05/0.5038, allocations: 8 kB / 1.032 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.5038, allocations: 0 / 1.032 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.5039, allocations: 4.062 kB / 1.032 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5039, allocations: 0 / 1.032 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.5039, allocations: 7.953 kB / 1.032 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.5042, allocations: 229.2 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.5043, allocations: 85.02 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.5043, allocations: 3.984 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.5045, allocations: 12 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.5046, allocations: 7.984 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.5046, allocations: 11.95 kB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.742e-05/0.5047, allocations: 87.27 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5047, allocations: 0 / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003118/0.505, allocations: 16 kB / 1.032 GB, free: 8.707 MB / 0.6823 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 0.0001367/0.5052, allocations: 99.25 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002681/0.5054, allocations: 115.3 kB / 1.033 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5055, allocations: 0 / 1.033 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.5056, allocations: 96.23 kB / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.5059, allocations: 15.94 kB / 1.033 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.5064, allocations: 160.7 kB / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.5068, allocations: 0.6887 MB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.696e-05/0.5068, allocations: 8 kB / 1.033 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.5069, allocations: 11.44 kB / 1.033 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of SimCode: time 8.11e-07/0.5069, allocations: 0 / 1.033 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of Templates: time 0.004059/0.511, allocations: 0.7314 MB / 1.034 GB, free: 6.707 MB / 0.6823 GB