Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.147/4.147, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 6.021e-05/6.04e-05, allocations: 8.688 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2192, allocations: 98.73 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2277/0.447, allocations: 125.2 MB / 0.7569 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.4473, allocations: 67.97 kB / 0.757 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004423/0.4518, allocations: 1.072 MB / 0.758 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4518, allocations: 0 / 0.758 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.4518, allocations: 3.938 kB / 0.758 GB, free: 3.438 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005139/0.4523, allocations: 350.5 kB / 0.7584 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.4524, allocations: 8.031 kB / 0.7584 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.4525, allocations: 34.56 kB / 0.7584 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.4525, allocations: 11.86 kB / 0.7584 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.4527, allocations: 175 kB / 0.7586 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.4527, allocations: 4 kB / 0.7586 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.4527, allocations: 4 kB / 0.7586 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.4529, allocations: 53.62 kB / 0.7587 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4529, allocations: 4 kB / 0.7587 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.453, allocations: 4 kB / 0.7587 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.453, allocations: 0 / 0.7587 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.497e-05/0.4531, allocations: 23.98 kB / 0.7587 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.4537, allocations: 308.7 kB / 0.759 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.4539, allocations: 50.56 kB / 0.759 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.678e-05/0.454, allocations: 25.08 kB / 0.7591 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.454, allocations: 7.984 kB / 0.7591 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.4542, allocations: 77.42 kB / 0.7591 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 4.569e-06/0.4542, allocations: 0 / 0.7591 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002509/0.4545, allocations: 81.58 kB / 0.7592 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.4545, allocations: 67.31 kB / 0.7593 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.685e-05/0.4546, allocations: 100.9 kB / 0.7594 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.4547, allocations: 25.7 kB / 0.7594 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.4547, allocations: 88.14 kB / 0.7595 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.4548, allocations: 23.7 kB / 0.7595 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-06/0.4548, allocations: 4.094 kB / 0.7595 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4549, allocations: 318.8 kB / 0.7598 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/0.455, allocations: 16 kB / 0.7598 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.052e-05/0.4551, allocations: 43.42 kB / 0.7599 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.013e-05/0.4552, allocations: 16 kB / 0.7599 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4552, allocations: 4 kB / 0.7599 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002199/0.4554, allocations: 93.55 kB / 0.76 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4555, allocations: 8 kB / 0.76 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4555, allocations: 0 / 0.76 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.4555, allocations: 3.953 kB / 0.76 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.4556, allocations: 11.98 kB / 0.76 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4557, allocations: 4 kB / 0.76 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.4558, allocations: 15.91 kB / 0.76 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.4558, allocations: 8.031 kB / 0.76 GB, free: 1.172 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 9.575e-05/0.4559, allocations: 119.3 kB / 0.7601 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.4559, allocations: 4 kB / 0.7601 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.456, allocations: 8.094 kB / 0.7602 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.456, allocations: 0 / 0.7602 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.972e-05/0.4561, allocations: 3.953 kB / 0.7602 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4561, allocations: 4 kB / 0.7602 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.4567, allocations: 362.4 kB / 0.7605 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4567, allocations: 0 / 0.7605 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.4567, allocations: 4 kB / 0.7605 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.4567, allocations: 0 / 0.7605 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.4568, allocations: 11.88 kB / 0.7605 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.4568, allocations: 4 kB / 0.7605 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4568, allocations: 0 / 0.7605 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.457, allocations: 179.8 kB / 0.7607 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.4571, allocations: 85 kB / 0.7608 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.4571, allocations: 8.172 kB / 0.7608 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.4573, allocations: 7.953 kB / 0.7608 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.4573, allocations: 11.92 kB / 0.7608 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.4574, allocations: 4 kB / 0.7608 GB, free: 284 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.278e-05/0.4574, allocations: 87.27 kB / 0.7609 GB, free: 196 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4574, allocations: 0 / 0.7609 GB, free: 196 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002962/0.4577, allocations: 12 kB / 0.7609 GB, free: 184 kB / 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulsStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005494/0.4583, allocations: 0.7163 MB / 0.7616 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001897/0.4585, allocations: 47.94 kB / 0.7617 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4585, allocations: 0 / 0.7617 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.901e-05/0.4586, allocations: 28 kB / 0.7617 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.4589, allocations: 23.88 kB / 0.7617 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006344/0.4596, allocations: 142.3 kB / 0.7618 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.4598, allocations: 0.6926 MB / 0.7625 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.454e-05/0.4599, allocations: 7.984 kB / 0.7625 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.46, allocations: 23.44 kB / 0.7625 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of SimCode: time 8.92e-07/0.46, allocations: 0 / 0.7625 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.485, allocations: 1.472 MB / 0.764 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003265/0.4854, allocations: 158.9 kB / 0.7641 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/2.769, allocations: 0 / 0.7641 GB, free: 12.78 MB / 0.6511 GB