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 5.081/5.081, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004315/0.004314, allocations: 359 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.141/4.141, allocations: 410.7 MB / 1.112 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00184/0.00184, allocations: 172.4 kB / 1.225 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001055, allocations: 16 kB / 1.348 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6371/0.6382, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001376/0.6396, allocations: 1.137 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006679/0.6403, allocations: 449.9 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.6404, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.6404, allocations: 3.938 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.761e-05/0.6405, allocations: 8.844 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.6406, allocations: 24.77 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.968e-05/0.6407, allocations: 39.86 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.414e-05/0.6408, allocations: 12.59 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.058e-05/0.6409, allocations: 15.94 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.6409, allocations: 18.42 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.641, allocations: 4 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.641, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.641, allocations: 11.98 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.6411, allocations: 29.7 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 6.776e-05/0.6412, allocations: 22.06 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6412, allocations: 4 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.071e-06/0.6412, allocations: 1.562 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.6412, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 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.0004976/0.6417, allocations: 390.6 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.6418, allocations: 12.41 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.6418, allocations: 7.906 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.691e-05/0.6419, allocations: 176 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.6419, allocations: 3.984 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.642, allocations: 11.44 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.6421, allocations: 49.69 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.6421, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.6421, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.629e-06/0.6422, allocations: 1.641 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.363e-05/0.6422, allocations: 15.98 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.6426, allocations: 281.8 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.895e-05/0.6427, allocations: 38.56 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.6428, allocations: 17.92 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.6428, allocations: 4 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.643, allocations: 102.2 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 3.776e-06/0.643, allocations: 4.469 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0003449/0.6434, allocations: 145 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.6434, allocations: 85.34 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/0.6435, allocations: 109.8 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.6435, allocations: 30.98 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.6436, allocations: 91.98 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.6436, allocations: 15.81 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-06/0.6436, allocations: 0.5938 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.6437, allocations: 319.4 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.254e-05/0.6437, allocations: 16.83 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-05/0.6438, allocations: 35.08 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.059e-05/0.6439, allocations: 51.25 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6439, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001887/0.6441, allocations: 120 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.6441, allocations: 38.3 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.098e-06/0.6442, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.6442, allocations: 6.062 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.948e-05/0.6442, allocations: 7.922 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.692e-06/0.6443, allocations: 8.344 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.457e-05/0.6444, allocations: 7.906 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.6444, allocations: 4.562 kB / 1.465 GB, free: 280.2 MB / 0.8542 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.957e-05/0.6445, allocations: 149 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.6445, allocations: 5.75 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.6446, allocations: 8.375 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.406e-06/0.6446, allocations: 4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.331e-06/0.6446, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.854e-06/0.6446, allocations: 6.078 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.645, allocations: 401.4 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.023e-06/0.645, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-05/0.645, allocations: 3.984 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.6451, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.6451, allocations: 8.578 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.298e-06/0.6451, allocations: 5.734 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.478e-06/0.6451, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.6453, allocations: 237.2 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.6454, allocations: 81.77 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.6454, allocations: 4 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.6456, allocations: 13.77 kB / 1.465 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.6456, allocations: 19.94 kB / 1.465 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.6457, allocations: 1.781 kB / 1.465 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.826e-05/0.6457, allocations: 91.34 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.16e-07/0.6457, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003128/0.646, allocations: 15.98 kB / 1.466 GB, free: 279 MB / 0.8542 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.354e-05/0.6461, allocations: 108.7 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.6463, allocations: 107.4 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.403e-06/0.6464, allocations: 0.6875 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.108e-05/0.6465, allocations: 92.33 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.6469, allocations: 18.25 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.6472, allocations: 154 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.6474, allocations: 0.6892 MB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.755e-05/0.6474, allocations: 6.938 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.6475, allocations: 11.44 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.512e-06/0.6475, allocations: 0 / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.00334/0.6508, allocations: 0.746 MB / 1.467 GB, free: 277.1 MB / 0.8542 GB