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/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.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 3.927/3.927, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.888e-05, allocations: 4 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5189, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2026/0.7215, allocations: 123.7 MB / 0.7497 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003917/0.7219, allocations: 71.95 kB / 0.7498 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004954/0.7269, allocations: 0.8301 MB / 0.7506 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.248e-06/0.727, allocations: 0 / 0.7506 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.727, allocations: 0 / 0.7506 GB, free: 2.934 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006562/0.7277, allocations: 354.3 kB / 0.751 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.7278, allocations: 8.031 kB / 0.751 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.7278, allocations: 8 kB / 0.751 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.7281, allocations: 178.9 kB / 0.7511 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.7282, allocations: 0 / 0.7511 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.7282, allocations: 4 kB / 0.7511 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001485/0.7284, allocations: 16 kB / 0.7512 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.7286, allocations: 53.61 kB / 0.7512 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.7286, allocations: 0 / 0.7512 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.7287, allocations: 0 / 0.7512 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.754e-06/0.7287, allocations: 0 / 0.7512 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006327/0.7293, allocations: 253.4 kB / 0.7514 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.7295, allocations: 34.5 kB / 0.7515 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.214e-05/0.7296, allocations: 12.92 kB / 0.7515 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.7296, allocations: 0 / 0.7515 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.7297, allocations: 34.56 kB / 0.7515 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 3.291e-06/0.7297, allocations: 0 / 0.7515 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002836/0.73, allocations: 57.53 kB / 0.7516 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.7301, allocations: 51.41 kB / 0.7516 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.7302, allocations: 100.9 kB / 0.7517 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.7303, allocations: 25.7 kB / 0.7518 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.7304, allocations: 88.14 kB / 0.7518 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.7304, allocations: 7.891 kB / 0.7518 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.659e-06/0.7305, allocations: 0 / 0.7518 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.7307, allocations: 314.9 kB / 0.7521 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.058e-05/0.7307, allocations: 8 kB / 0.7522 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-05/0.7308, allocations: 7.938 kB / 0.7522 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.137e-05/0.7309, allocations: 8 kB / 0.7522 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.041e-06/0.7309, allocations: 0 / 0.7522 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001991/0.7311, allocations: 45.69 kB / 0.7522 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.7312, allocations: 4 kB / 0.7522 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.7312, allocations: 0 / 0.7522 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.7312, allocations: 8.094 kB / 0.7522 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.7315, allocations: 11.98 kB / 0.7522 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.989e-06/0.7315, allocations: 0 / 0.7522 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.7317, allocations: 11.94 kB / 0.7522 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.7317, allocations: 4 kB / 0.7522 GB, free: 1.059 MB / 0.6198 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 0.0001349/0.7319, allocations: 101 kB / 0.7523 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.32e-05/0.7319, allocations: 3.906 kB / 0.7523 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.732, allocations: 11.75 kB / 0.7524 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.191e-06/0.732, allocations: 0 / 0.7524 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.505e-06/0.732, allocations: 0 / 0.7524 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.7321, allocations: 0 / 0.7524 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.7324, allocations: 154.1 kB / 0.7525 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.775e-06/0.7324, allocations: 0 / 0.7525 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.7326, allocations: 19.86 kB / 0.7525 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.192e-06/0.7327, allocations: 0 / 0.7525 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.7327, allocations: 0 / 0.7525 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.781e-06/0.7327, allocations: 0 / 0.7525 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.7327, allocations: 4 kB / 0.7525 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.733, allocations: 139.5 kB / 0.7527 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.7331, allocations: 81.11 kB / 0.7527 GB, free: 492 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.7331, allocations: 0 / 0.7527 GB, free: 492 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.7334, allocations: 7.984 kB / 0.7527 GB, free: 484 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.7335, allocations: 12.02 kB / 0.7528 GB, free: 472 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.7335, allocations: 4 kB / 0.7528 GB, free: 468 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.512e-05/0.7336, allocations: 79.53 kB / 0.7528 GB, free: 388 kB / 0.6198 GB Notification: Performance of sort global known variables: time 1.269e-06/0.7336, allocations: 0 / 0.7528 GB, free: 388 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006072/0.7343, allocations: 15.84 kB / 0.7529 GB, free: 372 kB / 0.6198 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.0002274/0.7345, allocations: 111.2 kB / 0.753 GB, free: 248 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001502/0.7347, allocations: 15.94 kB / 0.753 GB, free: 232 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.772e-06/0.7347, allocations: 4 kB / 0.753 GB, free: 228 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.576e-05/0.7348, allocations: 8.062 kB / 0.753 GB, free: 220 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.7352, allocations: 12.14 kB / 0.753 GB, free: 208 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003944/0.7356, allocations: 71.86 kB / 0.7531 GB, free: 112 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.7361, allocations: 0.6807 MB / 0.7537 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.882e-05/0.7362, allocations: 4 kB / 0.7537 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.7363, allocations: 11.5 kB / 0.7537 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of SimCode: time 2.089e-06/0.7363, allocations: 4 kB / 0.7538 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of Templates: time 0.004723/0.7411, allocations: 496.6 kB / 0.7542 GB, free: 14.91 MB / 0.6355 GB