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/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.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.359/4.359, allocations: 433.2 MB / 440.8 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.602e-05, allocations: 6.719 kB / 0.5325 GB, free: 12.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.209, allocations: 98.74 MB / 0.6289 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.4388, allocations: 124.7 MB / 0.7506 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.4392, allocations: 67.97 kB / 0.7507 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006391/0.4456, allocations: 1.414 MB / 0.7521 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4456, allocations: 0 / 0.7521 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.4457, allocations: 8 kB / 0.7521 GB, free: 10.85 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.0003973/0.4461, allocations: 389.9 kB / 0.7525 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.4461, allocations: 12.03 kB / 0.7525 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.4462, allocations: 11.86 kB / 0.7525 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.4464, allocations: 171.1 kB / 0.7527 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4464, allocations: 4 kB / 0.7527 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.4465, allocations: 3.938 kB / 0.7527 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000101/0.4466, allocations: 27.98 kB / 0.7527 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.4468, allocations: 57.67 kB / 0.7527 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.4468, allocations: 4 kB / 0.7527 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.4468, allocations: 0 / 0.7527 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.4468, allocations: 4 kB / 0.7527 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.4473, allocations: 253.4 kB / 0.753 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.695e-05/0.4474, allocations: 38.58 kB / 0.753 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.495e-05/0.4474, allocations: 32.83 kB / 0.7531 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.4475, allocations: 4 kB / 0.7531 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.4477, allocations: 109 kB / 0.7532 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.334e-06/0.4477, allocations: 3.938 kB / 0.7532 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003556/0.448, allocations: 101.7 kB / 0.7533 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.4481, allocations: 110.8 kB / 0.7534 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.4482, allocations: 104.9 kB / 0.7535 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.4483, allocations: 25.7 kB / 0.7535 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.4483, allocations: 96.08 kB / 0.7536 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.4484, allocations: 19.91 kB / 0.7536 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.4484, allocations: 0 / 0.7536 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4485, allocations: 314.8 kB / 0.7539 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.549e-05/0.4486, allocations: 23.94 kB / 0.7539 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/0.4487, allocations: 23.98 kB / 0.754 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.4488, allocations: 27.98 kB / 0.754 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4488, allocations: 0 / 0.754 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002945/0.4491, allocations: 105.6 kB / 0.7541 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.226e-05/0.4492, allocations: 59.41 kB / 0.7541 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4492, allocations: 4 kB / 0.7541 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4493, allocations: 4 kB / 0.7541 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.309e-05/0.4493, allocations: 0 / 0.7541 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4493, allocations: 0 / 0.7541 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.4494, allocations: 7.984 kB / 0.7542 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.4494, allocations: 4.266 kB / 0.7542 GB, free: 8.484 MB / 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.0001424/0.4496, allocations: 144 kB / 0.7543 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000296/0.4499, allocations: 129.5 kB / 0.7544 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.4499, allocations: 11.94 kB / 0.7544 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.45, allocations: 8.625 kB / 0.7544 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.45, allocations: 0 / 0.7544 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.45, allocations: 4.078 kB / 0.7544 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.45, allocations: 7.984 kB / 0.7544 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.4502, allocations: 150.2 kB / 0.7546 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4502, allocations: 0 / 0.7546 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-06/0.4502, allocations: 0 / 0.7546 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4502, allocations: 0 / 0.7546 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.4503, allocations: 4 kB / 0.7546 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4503, allocations: 4 kB / 0.7546 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4503, allocations: 0 / 0.7546 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.4507, allocations: 149 kB / 0.7547 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.4507, allocations: 85.02 kB / 0.7548 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.4508, allocations: 3.938 kB / 0.7548 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.021e-05/0.4509, allocations: 4 kB / 0.7548 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.4509, allocations: 11.98 kB / 0.7548 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.4509, allocations: 0 / 0.7548 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.587e-05/0.451, allocations: 87.31 kB / 0.7549 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/0.451, allocations: 0 / 0.7549 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003415/0.4514, allocations: 35.98 kB / 0.755 GB, free: 7.574 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: 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.0008033/0.4522, allocations: 0.6989 MB / 0.7556 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.4525, allocations: 182.8 kB / 0.7558 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4525, allocations: 0 / 0.7558 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.4527, allocations: 95.41 kB / 0.7559 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.4528, allocations: 9.188 kB / 0.7559 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.4534, allocations: 153.8 kB / 0.7561 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.4537, allocations: 0.6962 MB / 0.7567 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.527e-05/0.4538, allocations: 7.891 kB / 0.7567 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.4538, allocations: 15.44 kB / 0.7568 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of SimCode: time 9.22e-07/0.4538, allocations: 4.062 kB / 0.7568 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03691/0.4907, allocations: 1.453 MB / 0.7582 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/0.4911, allocations: 140.3 kB / 0.7583 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/2.866, allocations: 0 / 0.7583 GB, free: 3.949 MB / 0.6355 GB