Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.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.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.416/4.416, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/4.01e-05, allocations: 6.234 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2286, allocations: 98.74 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2327/0.4614, allocations: 125.3 MB / 0.7571 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.4617, allocations: 75.95 kB / 0.7572 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006941/0.4687, allocations: 1.426 MB / 0.7586 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4687, allocations: 3.938 kB / 0.7586 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.4687, allocations: 0 / 0.7586 GB, free: 2.891 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004572/0.4692, allocations: 390 kB / 0.7589 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.4693, allocations: 12.03 kB / 0.7589 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.4693, allocations: 34.56 kB / 0.759 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.4694, allocations: 7.906 kB / 0.759 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.4696, allocations: 175 kB / 0.7592 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.4697, allocations: 4 kB / 0.7592 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.4697, allocations: 8 kB / 0.7592 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.4699, allocations: 69.59 kB / 0.7592 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.4699, allocations: 0 / 0.7592 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.4699, allocations: 0 / 0.7592 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.47, allocations: 0 / 0.7592 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.627e-05/0.4701, allocations: 20 kB / 0.7592 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.4705, allocations: 276.8 kB / 0.7595 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.4707, allocations: 46.58 kB / 0.7596 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.933e-05/0.4707, allocations: 38.88 kB / 0.7596 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/0.4708, allocations: 0 / 0.7596 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.471, allocations: 109 kB / 0.7597 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.471, allocations: 3.938 kB / 0.7597 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003677/0.4714, allocations: 135.5 kB / 0.7598 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.584e-05/0.4715, allocations: 114.8 kB / 0.7599 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.4716, allocations: 105 kB / 0.76 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.4717, allocations: 33.7 kB / 0.7601 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.4717, allocations: 87.98 kB / 0.7602 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.4718, allocations: 19.8 kB / 0.7602 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.4718, allocations: 0 / 0.7602 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4719, allocations: 318.8 kB / 0.7605 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.361e-05/0.472, allocations: 23.98 kB / 0.7605 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/0.4721, allocations: 24 kB / 0.7605 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.4722, allocations: 87.42 kB / 0.7606 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4722, allocations: 4 kB / 0.7606 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002837/0.4725, allocations: 157 kB / 0.7608 GB, free: 360 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.175e-05/0.4726, allocations: 59.41 kB / 0.7608 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4726, allocations: 0 / 0.7608 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.4726, allocations: 3.984 kB / 0.7608 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.623e-05/0.4727, allocations: 4 kB / 0.7608 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.4727, allocations: 0 / 0.7608 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.793e-05/0.4728, allocations: 7.891 kB / 0.7608 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.4728, allocations: 4 kB / 0.7608 GB, free: 268 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.booTab.y,booTab.y,$PRE.booTab.nextTime,booTab.nextTime,$PRE.booTab.index,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 3 * Array equations: 1 * Algorithm blocks: 2 * 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.0001386/0.473, allocations: 154.6 kB / 0.761 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.473, allocations: 11.89 kB / 0.761 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.473, allocations: 4.625 kB / 0.761 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.4731, allocations: 8 kB / 0.761 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4731, allocations: 0 / 0.761 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4731, allocations: 0 / 0.761 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.4733, allocations: 173.6 kB / 0.7612 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4733, allocations: 0 / 0.7612 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-06/0.4733, allocations: 4 kB / 0.7612 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4734, allocations: 4 kB / 0.7612 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.4734, allocations: 0 / 0.7612 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.4734, allocations: 4.109 kB / 0.7612 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4734, allocations: 4 kB / 0.7612 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.4738, allocations: 182.7 kB / 0.7614 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.4738, allocations: 77.11 kB / 0.7614 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.4739, allocations: 11.92 kB / 0.7614 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/0.474, allocations: 4 kB / 0.7615 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.474, allocations: 8.031 kB / 0.7615 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.4741, allocations: 3.938 kB / 0.7615 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.085e-05/0.4741, allocations: 95.56 kB / 0.7616 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4741, allocations: 0 / 0.7616 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003184/0.4745, allocations: 28 kB / 0.7616 GB, free: 15.39 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.nextTime,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 4 (booTab.y,booTab.nextTime,booTab.index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0008174/0.4753, allocations: 0.7429 MB / 0.7623 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.4756, allocations: 178.7 kB / 0.7625 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4757, allocations: 0 / 0.7625 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.4758, allocations: 103.4 kB / 0.7626 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.476, allocations: 14.16 kB / 0.7626 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.4765, allocations: 158.7 kB / 0.7627 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.4768, allocations: 0.6965 MB / 0.7634 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.285e-05/0.4769, allocations: 4 kB / 0.7634 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.4769, allocations: 11.44 kB / 0.7634 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of SimCode: time 1.623e-06/0.4769, allocations: 0 / 0.7634 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.498, allocations: 1.758 MB / 0.7652 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.4983, allocations: 155.1 kB / 0.7653 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/2.888, allocations: 0 / 0.7653 GB, free: 11.44 MB / 0.6511 GB