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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 3.819/3.819, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.544e-05, allocations: 9.688 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1711, allocations: 98.72 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2332/0.4044, allocations: 125.3 MB / 0.7571 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/0.4047, allocations: 71.97 kB / 0.7572 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009032/0.4138, allocations: 1.418 MB / 0.7586 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.869e-06/0.4139, allocations: 3.938 kB / 0.7586 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.509e-05/0.4139, allocations: 8 kB / 0.7586 GB, free: 2.914 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.0005594/0.4145, allocations: 389.9 kB / 0.7589 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.4146, allocations: 12.03 kB / 0.7589 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.4146, allocations: 3.906 kB / 0.7589 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.415, allocations: 183 kB / 0.7591 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.415, allocations: 0 / 0.7591 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.4151, allocations: 8 kB / 0.7591 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.4153, allocations: 61.67 kB / 0.7592 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4154, allocations: 3.938 kB / 0.7592 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.4154, allocations: 0 / 0.7592 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.738e-05/0.4154, allocations: 7.984 kB / 0.7592 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.4156, allocations: 23.94 kB / 0.7592 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000635/0.4162, allocations: 276.8 kB / 0.7595 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.4164, allocations: 42.58 kB / 0.7595 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.4166, allocations: 40.88 kB / 0.7596 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.4166, allocations: 0 / 0.7596 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002797/0.4169, allocations: 111.2 kB / 0.7597 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 8.461e-06/0.4169, allocations: 0 / 0.7597 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0005251/0.4175, allocations: 139.2 kB / 0.7598 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.4176, allocations: 110.8 kB / 0.7599 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.4178, allocations: 113 kB / 0.76 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.4179, allocations: 25.7 kB / 0.76 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.418, allocations: 92.05 kB / 0.7601 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.418, allocations: 11.88 kB / 0.7601 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.4181, allocations: 0 / 0.7601 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.4183, allocations: 318.8 kB / 0.7604 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.4184, allocations: 27.98 kB / 0.7605 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.582e-05/0.4185, allocations: 16 kB / 0.7605 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.4187, allocations: 87.31 kB / 0.7606 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4188, allocations: 4 kB / 0.7606 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004909/0.4193, allocations: 164.9 kB / 0.7607 GB, free: 424 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-05/0.4194, allocations: 61.59 kB / 0.7608 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.4194, allocations: 0 / 0.7608 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.4195, allocations: 0 / 0.7608 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.224e-05/0.4195, allocations: 3.984 kB / 0.7608 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4195, allocations: 0 / 0.7608 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.4197, allocations: 11.95 kB / 0.7608 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.4197, allocations: 4 kB / 0.7608 GB, free: 332 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.0002034/0.42, allocations: 146.6 kB / 0.761 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.42, allocations: 7.906 kB / 0.761 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.4201, allocations: 8.625 kB / 0.761 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/0.4201, allocations: 4 kB / 0.761 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.4201, allocations: 0 / 0.761 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.228e-06/0.4202, allocations: 3.938 kB / 0.761 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.4205, allocations: 173.6 kB / 0.7611 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.915e-06/0.4205, allocations: 0 / 0.7611 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-06/0.4206, allocations: 128 / 0.7611 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.4206, allocations: 8 kB / 0.7611 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.4206, allocations: 8 kB / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.891e-06/0.4207, allocations: 3.984 kB / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.18e-06/0.4207, allocations: 3.938 kB / 0.7612 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005371/0.4212, allocations: 178.7 kB / 0.7613 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.092e-05/0.4213, allocations: 77.11 kB / 0.7614 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.4214, allocations: 11.97 kB / 0.7614 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.4215, allocations: 4 kB / 0.7614 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.4216, allocations: 4.031 kB / 0.7614 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.4217, allocations: 4 kB / 0.7614 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.916e-05/0.4218, allocations: 91.52 kB / 0.7615 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.448e-06/0.4218, allocations: 4 kB / 0.7615 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005932/0.4224, allocations: 24 kB / 0.7615 GB, free: 15.47 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.0003745/0.4228, allocations: 131.4 kB / 0.7617 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000451/0.4233, allocations: 174.8 kB / 0.7618 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.259e-06/0.4233, allocations: 4 kB / 0.7618 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.4236, allocations: 107.4 kB / 0.7619 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.4238, allocations: 7.953 kB / 0.762 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.4243, allocations: 113.1 kB / 0.7621 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.4248, allocations: 0.6926 MB / 0.7627 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.4249, allocations: 3.984 kB / 0.7627 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.4249, allocations: 7.438 kB / 0.7627 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of SimCode: time 2.215e-06/0.4249, allocations: 7.938 kB / 0.7628 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of Templates: time 0.006202/0.4312, allocations: 0.846 MB / 0.7636 GB, free: 13.29 MB / 0.6511 GB