Running: ./testmodel.py --libraries=/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.309/2.309, allocations: 248.7 MB / 256.2 MB, free: 7.062 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001522/0.001522, allocations: 178.3 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.3 MB / 0.5662 GB, free: 0.543 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001106, allocations: 89.92 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.843e-05, allocations: 7.984 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2084, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8891/1.098, allocations: 132.3 MB / 1.013 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.098, allocations: 76.81 kB / 1.013 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005184/1.103, allocations: 1.184 MB / 1.015 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.724e-06/1.103, allocations: 4 kB / 1.015 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.049e-05/1.103, allocations: 0 / 1.015 GB, free: 5.727 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.00061/1.104, allocations: 383.2 kB / 1.015 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/1.104, allocations: 8.031 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/1.104, allocations: 11.16 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/1.104, allocations: 167 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/1.104, allocations: 8 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/1.104, allocations: 4 kB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001012/1.104, allocations: 15.23 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/1.104, allocations: 43.94 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.104, allocations: 2.625 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/1.104, allocations: 4 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.105, allocations: 3.938 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/1.105, allocations: 254 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/1.105, allocations: 36.08 kB / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/1.105, allocations: 16.11 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/1.105, allocations: 3.984 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/1.105, allocations: 95.28 kB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.785e-06/1.105, allocations: 3.938 kB / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002967/1.106, allocations: 86.97 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/1.106, allocations: 85.11 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/1.106, allocations: 100.6 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/1.106, allocations: 29.08 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/1.106, allocations: 80.14 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/1.106, allocations: 23.34 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-06/1.106, allocations: 0 / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.106, allocations: 326.3 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-05/1.106, allocations: 12.28 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/1.106, allocations: 36.83 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.824e-05/1.106, allocations: 21.52 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.106, allocations: 0 / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001948/1.107, allocations: 88.89 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.188e-05/1.107, allocations: 29.7 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/1.107, allocations: 4.094 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/1.107, allocations: 8 kB / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/1.107, allocations: 4.875 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/1.107, allocations: 3.984 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/1.107, allocations: 7.984 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/1.107, allocations: 7.625 kB / 1.016 GB, free: 3.633 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.0001281/1.107, allocations: 143.7 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002265/1.107, allocations: 98.89 kB / 1.017 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/1.107, allocations: 7.906 kB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.085e-05/1.108, allocations: 12 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/1.108, allocations: 4 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.108, allocations: 3.625 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/1.108, allocations: 7.938 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/1.108, allocations: 332.3 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.108, allocations: 0 / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.079e-05/1.108, allocations: 0 / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/1.108, allocations: 0 / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/1.108, allocations: 4 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/1.108, allocations: 3.984 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.108, allocations: 7.953 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/1.108, allocations: 192.2 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/1.109, allocations: 81.09 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/1.109, allocations: 4 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/1.109, allocations: 4 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/1.109, allocations: 14.5 kB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/1.109, allocations: 8 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.204e-05/1.109, allocations: 94.14 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.109, allocations: 0 / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003112/1.109, allocations: 12 kB / 1.017 GB, free: 2.586 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.0006212/1.11, allocations: 0.7285 MB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002208/1.11, allocations: 109.3 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.11, allocations: 0 / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/1.11, allocations: 86.7 kB / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/1.111, allocations: 18.42 kB / 1.018 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005093/1.111, allocations: 132.7 kB / 1.018 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/1.111, allocations: 0.6886 MB / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.144e-05/1.112, allocations: 8 kB / 1.019 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/1.112, allocations: 19.17 kB / 1.019 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/1.112, allocations: 4 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03843/1.15, allocations: 1.289 MB / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003475/1.15, allocations: 137.4 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/3.358, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.6511 GB