Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.475/4.475, allocations: 433.2 MB / 440.7 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.192e-05, allocations: 2.25 kB / 0.5325 GB, free: 12.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2409, allocations: 98.73 MB / 0.6289 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2358/0.4768, allocations: 124.4 MB / 0.7504 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.4771, allocations: 71.95 kB / 0.7505 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004891/0.482, allocations: 1.148 MB / 0.7516 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4821, allocations: 0 / 0.7516 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.4821, allocations: 4 kB / 0.7516 GB, free: 11.3 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.0005988/0.4828, allocations: 381.2 kB / 0.7519 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.033e-05/0.4828, allocations: 12.03 kB / 0.752 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.4829, allocations: 7.859 kB / 0.752 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.4831, allocations: 171 kB / 0.7521 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.4831, allocations: 4 kB / 0.7521 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.4831, allocations: 4 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.524e-05/0.4832, allocations: 16 kB / 0.7522 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.4834, allocations: 45.69 kB / 0.7522 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4834, allocations: 0 / 0.7522 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.4834, allocations: 3.984 kB / 0.7522 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.4834, allocations: 4 kB / 0.7522 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.4839, allocations: 245.4 kB / 0.7524 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.484, allocations: 42.52 kB / 0.7525 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.4841, allocations: 16.98 kB / 0.7525 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.4841, allocations: 0 / 0.7525 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.4843, allocations: 101 kB / 0.7526 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 4.568e-06/0.4843, allocations: 0 / 0.7526 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002932/0.4847, allocations: 97.62 kB / 0.7527 GB, free: 10 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.4847, allocations: 77.11 kB / 0.7528 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.4848, allocations: 104.9 kB / 0.7529 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.4849, allocations: 29.7 kB / 0.7529 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.4849, allocations: 91.98 kB / 0.753 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.485, allocations: 19.8 kB / 0.753 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.485, allocations: 0 / 0.753 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4851, allocations: 314.8 kB / 0.7533 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/0.4852, allocations: 16 kB / 0.7533 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.4853, allocations: 30.58 kB / 0.7533 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.741e-05/0.4853, allocations: 23.92 kB / 0.7534 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4853, allocations: 0 / 0.7534 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001935/0.4855, allocations: 77.67 kB / 0.7534 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.326e-05/0.4856, allocations: 37.7 kB / 0.7535 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.4856, allocations: 3.984 kB / 0.7535 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4857, allocations: 4.062 kB / 0.7535 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.882e-05/0.4857, allocations: 11.92 kB / 0.7535 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4858, allocations: 4 kB / 0.7535 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.4859, allocations: 7.953 kB / 0.7535 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.4859, allocations: 4.391 kB / 0.7535 GB, free: 9.098 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.pulsStart,booleanPulse.pulsStart) * 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.0001146/0.486, allocations: 134.7 kB / 0.7536 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002225/0.4862, allocations: 101.5 kB / 0.7537 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.4863, allocations: 7.906 kB / 0.7537 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.4863, allocations: 12.61 kB / 0.7538 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4864, allocations: 0 / 0.7538 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4864, allocations: 3.953 kB / 0.7538 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4864, allocations: 0 / 0.7538 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.4869, allocations: 335.1 kB / 0.7541 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4869, allocations: 7.984 kB / 0.7541 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-05/0.487, allocations: 0 / 0.7541 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.487, allocations: 0 / 0.7541 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.487, allocations: 0 / 0.7541 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.487, allocations: 11.95 kB / 0.7541 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.487, allocations: 4.094 kB / 0.7541 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.4873, allocations: 195.4 kB / 0.7543 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.4874, allocations: 81.11 kB / 0.7544 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.4874, allocations: 64 / 0.7544 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.4876, allocations: 15.98 kB / 0.7544 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.4877, allocations: 19.94 kB / 0.7544 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.4877, allocations: 4 kB / 0.7544 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.886e-05/0.4878, allocations: 87.34 kB / 0.7545 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4878, allocations: 0 / 0.7545 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003253/0.4881, allocations: 16 kB / 0.7545 GB, free: 7.98 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.pulsStart) * 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.0005745/0.4887, allocations: 0.7263 MB / 0.7552 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.489, allocations: 111.3 kB / 0.7553 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.489, allocations: 0 / 0.7553 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.4891, allocations: 87.39 kB / 0.7554 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.4894, allocations: 15.94 kB / 0.7554 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.49, allocations: 121.3 kB / 0.7555 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.4903, allocations: 0.6964 MB / 0.7562 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.572e-05/0.4904, allocations: 7.984 kB / 0.7562 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.4904, allocations: 19.44 kB / 0.7562 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/0.4904, allocations: 0 / 0.7562 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0363/0.5267, allocations: 1.291 MB / 0.7575 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003067/0.5272, allocations: 141.5 kB / 0.7576 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/2.944, allocations: 0 / 0.7576 GB, free: 4.625 MB / 0.6355 GB