Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadModel(Buildings): time 4.32/4.32, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.903e-05/2.899e-05, allocations: 4 kB / 0.5325 GB, free: 1.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.5461, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.7355, allocations: 124.7 MB / 0.7506 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.7358, allocations: 75.91 kB / 0.7507 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.006004/0.7418, allocations: 1.419 MB / 0.7521 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.539e-06/0.7419, allocations: 0 / 0.7521 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.7419, allocations: 4 kB / 0.7521 GB, free: 1.402 MB / 0.6198 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.0004002/0.7423, allocations: 397.8 kB / 0.7525 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.7424, allocations: 12.02 kB / 0.7525 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.7424, allocations: 7.906 kB / 0.7525 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.7426, allocations: 175 kB / 0.7527 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.7427, allocations: 4 kB / 0.7527 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.7427, allocations: 7.984 kB / 0.7527 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.06e-05/0.7428, allocations: 23.98 kB / 0.7527 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.7429, allocations: 57.69 kB / 0.7528 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.909e-06/0.743, allocations: 0 / 0.7528 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.743, allocations: 0 / 0.7528 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.743, allocations: 7.938 kB / 0.7528 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.7434, allocations: 249.4 kB / 0.753 GB, free: 348 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.163e-05/0.7435, allocations: 42.58 kB / 0.753 GB, free: 296 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.108e-05/0.7436, allocations: 32.89 kB / 0.7531 GB, free: 260 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.359e-06/0.7436, allocations: 0 / 0.7531 GB, free: 260 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.7438, allocations: 109.2 kB / 0.7532 GB, free: 132 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.58e-06/0.7438, allocations: 0 / 0.7532 GB, free: 132 kB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003436/0.7442, allocations: 109.5 kB / 0.7533 GB, free: 16 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.7443, allocations: 110.8 kB / 0.7534 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.7444, allocations: 105 kB / 0.7535 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.7445, allocations: 25.7 kB / 0.7535 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.7445, allocations: 91.98 kB / 0.7536 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.7446, allocations: 11.91 kB / 0.7536 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-06/0.7446, allocations: 3.938 kB / 0.7536 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.7448, allocations: 326.8 kB / 0.7539 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.159e-05/0.7448, allocations: 16 kB / 0.7539 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.128e-05/0.7449, allocations: 23.98 kB / 0.754 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.745, allocations: 27.98 kB / 0.754 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.057e-06/0.745, allocations: 0 / 0.754 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002881/0.7453, allocations: 113.5 kB / 0.7541 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.7454, allocations: 59.41 kB / 0.7542 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.7454, allocations: 0 / 0.7542 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.7455, allocations: 3.938 kB / 0.7542 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.873e-05/0.7455, allocations: 0 / 0.7542 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.109e-06/0.7455, allocations: 4 kB / 0.7542 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.865e-05/0.7456, allocations: 3.984 kB / 0.7542 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.7456, allocations: 4 kB / 0.7542 GB, free: 15.04 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.0001427/0.7458, allocations: 146.6 kB / 0.7543 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.7458, allocations: 7.906 kB / 0.7543 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.706e-05/0.7458, allocations: 8.609 kB / 0.7543 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.7459, allocations: 4 kB / 0.7543 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.84e-06/0.7459, allocations: 0 / 0.7543 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.355e-06/0.7459, allocations: 0 / 0.7543 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.7461, allocations: 158.2 kB / 0.7545 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-06/0.7461, allocations: 128 / 0.7545 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-06/0.7461, allocations: 8 kB / 0.7545 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.771e-06/0.7461, allocations: 0 / 0.7545 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.7461, allocations: 4 kB / 0.7545 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.7462, allocations: 0 / 0.7545 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.7462, allocations: 0 / 0.7545 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.7465, allocations: 152.9 kB / 0.7546 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.7466, allocations: 77.11 kB / 0.7547 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.7466, allocations: 8 kB / 0.7547 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.511e-05/0.7467, allocations: 8.031 kB / 0.7547 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.7467, allocations: 3.984 kB / 0.7547 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.7468, allocations: 4 kB / 0.7547 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.494e-05/0.7468, allocations: 87.59 kB / 0.7548 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.37e-07/0.7468, allocations: 0 / 0.7548 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003119/0.7472, allocations: 27.94 kB / 0.7548 GB, free: 14.26 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.0002341/0.7474, allocations: 128.3 kB / 0.755 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.7477, allocations: 178.8 kB / 0.7551 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.373e-06/0.7477, allocations: 0 / 0.7551 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.7479, allocations: 103.3 kB / 0.7552 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.748, allocations: 7.938 kB / 0.7552 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.7483, allocations: 116 kB / 0.7554 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.7487, allocations: 0.6924 MB / 0.756 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.809e-05/0.7487, allocations: 0 / 0.756 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.7488, allocations: 11.44 kB / 0.756 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of SimCode: time 1.528e-06/0.7488, allocations: 4.062 kB / 0.756 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of Templates: time 0.003721/0.7525, allocations: 0.828 MB / 0.7569 GB, free: 12.11 MB / 0.6355 GB