Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.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.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadModel(Buildings): time 4.091/4.091, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.16e-05/3.187e-05, allocations: 5.469 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1748, allocations: 98.72 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1931/0.3679, allocations: 124.4 MB / 0.7562 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.3682, allocations: 67.97 kB / 0.7563 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00307/0.3713, allocations: 0.8291 MB / 0.7571 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.192e-06/0.3714, allocations: 4 kB / 0.7571 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.943e-06/0.3714, allocations: 0 / 0.7571 GB, free: 4.457 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004406/0.3718, allocations: 350.3 kB / 0.7574 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3719, allocations: 8.031 kB / 0.7574 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.3719, allocations: 0 / 0.7574 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.3721, allocations: 178.9 kB / 0.7576 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.3722, allocations: 8 kB / 0.7576 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.3722, allocations: 0 / 0.7576 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.3723, allocations: 53.67 kB / 0.7576 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3724, allocations: 4 kB / 0.7576 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3724, allocations: 3.938 kB / 0.7577 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.333e-06/0.3724, allocations: 0 / 0.7577 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.937e-05/0.3725, allocations: 19.98 kB / 0.7577 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.373, allocations: 276.9 kB / 0.7579 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.2e-05/0.3731, allocations: 38.44 kB / 0.758 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.3731, allocations: 12.92 kB / 0.758 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.3731, allocations: 0 / 0.758 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.3732, allocations: 30.56 kB / 0.758 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.864e-06/0.3732, allocations: 8 kB / 0.758 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001853/0.3734, allocations: 45.56 kB / 0.7581 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.3734, allocations: 55.39 kB / 0.7581 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.124e-05/0.3735, allocations: 97 kB / 0.7582 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.3736, allocations: 25.7 kB / 0.7582 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.3736, allocations: 88.14 kB / 0.7583 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.855e-05/0.3737, allocations: 3.906 kB / 0.7583 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-06/0.3737, allocations: 3.938 kB / 0.7583 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3739, allocations: 322.9 kB / 0.7586 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.873e-05/0.3739, allocations: 4 kB / 0.7586 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.649e-05/0.3739, allocations: 8 kB / 0.7586 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.12e-05/0.374, allocations: 4 kB / 0.7586 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.317e-06/0.374, allocations: 0 / 0.7586 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001378/0.3741, allocations: 45.69 kB / 0.7587 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3742, allocations: 8 kB / 0.7587 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.944e-06/0.3742, allocations: 0 / 0.7587 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3742, allocations: 256 / 0.7587 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.3743, allocations: 16.08 kB / 0.7587 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.3744, allocations: 11.94 kB / 0.7587 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.538e-05/0.3745, allocations: 15.98 kB / 0.7587 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.3745, allocations: 3.938 kB / 0.7587 GB, free: 2.531 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.192e-05/0.3746, allocations: 104.9 kB / 0.7588 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.3746, allocations: 7.906 kB / 0.7589 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.3747, allocations: 11.06 kB / 0.7589 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-06/0.3747, allocations: 0 / 0.7589 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.713e-06/0.3747, allocations: 0 / 0.7589 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.157e-06/0.3747, allocations: 3.953 kB / 0.7589 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.375, allocations: 169.6 kB / 0.759 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-06/0.375, allocations: 0 / 0.759 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3751, allocations: 15.98 kB / 0.759 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3751, allocations: 0 / 0.759 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.943e-06/0.3751, allocations: 0 / 0.759 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.081e-06/0.3751, allocations: 0 / 0.759 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3751, allocations: 4 kB / 0.759 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.3753, allocations: 143.5 kB / 0.7592 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.3754, allocations: 81.11 kB / 0.7593 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.3754, allocations: 3.984 kB / 0.7593 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.3756, allocations: 4 kB / 0.7593 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.3756, allocations: 7.984 kB / 0.7593 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-06/0.3756, allocations: 7.969 kB / 0.7593 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.448e-05/0.3757, allocations: 83.28 kB / 0.7594 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.06e-07/0.3757, allocations: 0 / 0.7594 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003129/0.376, allocations: 11.91 kB / 0.7594 GB, free: 1.797 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001586/0.3762, allocations: 114.2 kB / 0.7595 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.3763, allocations: 20 kB / 0.7595 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3763, allocations: 0 / 0.7595 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.332e-05/0.3764, allocations: 12.06 kB / 0.7595 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.3766, allocations: 4 kB / 0.7595 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.3769, allocations: 80.78 kB / 0.7596 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.3773, allocations: 0.6809 MB / 0.7603 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.73e-05/0.3773, allocations: 4 kB / 0.7603 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.3774, allocations: 15.48 kB / 0.7603 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of SimCode: time 1.426e-06/0.3774, allocations: 4 kB / 0.7603 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of Templates: time 0.002966/0.3804, allocations: 0.5049 MB / 0.7608 GB, free: 324 kB / 0.6355 GB