Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.005827/0.005834, allocations: 231.2 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00181/0.001809, allocations: 175.3 kB / 16.7 MB, free: 5.453 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.001/4.001, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.92/3.92, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004903, allocations: 15.98 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1756, allocations: 98.73 MB / 1.105 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7597/0.9353, allocations: 124.5 MB / 1.226 GB, free: 28.57 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.9357, allocations: 75.08 kB / 1.226 GB, free: 28.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00324/0.9389, allocations: 0.8288 MB / 1.227 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.939, allocations: 3.281 kB / 1.227 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.939, allocations: 0 / 1.227 GB, free: 27.95 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.0004252/0.9394, allocations: 351.1 kB / 1.227 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.9395, allocations: 12.03 kB / 1.227 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.9395, allocations: 1.719 kB / 1.227 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.9397, allocations: 177.4 kB / 1.228 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.9397, allocations: 0 / 1.228 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.9397, allocations: 9.578 kB / 1.228 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.94, allocations: 70.62 kB / 1.228 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.94, allocations: 0 / 1.228 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.94, allocations: 3.875 kB / 1.228 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.9401, allocations: 0.5625 kB / 1.228 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.9404, allocations: 55.19 kB / 1.228 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.9408, allocations: 274.5 kB / 1.228 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.941, allocations: 55.61 kB / 1.228 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.9412, allocations: 29.95 kB / 1.228 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.9412, allocations: 1.078 kB / 1.228 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.9413, allocations: 35.89 kB / 1.228 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.724e-06/0.9413, allocations: 0 / 1.228 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005639/0.9418, allocations: 112.7 kB / 1.228 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.9419, allocations: 53.97 kB / 1.228 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.942, allocations: 104.8 kB / 1.228 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.942, allocations: 26.33 kB / 1.228 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.9421, allocations: 90.91 kB / 1.228 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.9421, allocations: 5.141 kB / 1.228 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.9421, allocations: 0.5 kB / 1.228 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.9422, allocations: 314.7 kB / 1.229 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.9424, allocations: 25.3 kB / 1.229 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.9426, allocations: 26.89 kB / 1.229 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.9427, allocations: 25.33 kB / 1.229 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.9427, allocations: 0 / 1.229 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003419/0.9431, allocations: 79.09 kB / 1.229 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.9431, allocations: 8 kB / 1.229 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.9431, allocations: 3.75 kB / 1.229 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.9432, allocations: 0 / 1.229 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.9433, allocations: 19.17 kB / 1.229 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.9433, allocations: 1.641 kB / 1.229 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.867e-05/0.9434, allocations: 10.39 kB / 1.229 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.9435, allocations: 5.328 kB / 1.229 GB, free: 26.04 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 () * Number of clocked 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.458e-05/0.9436, allocations: 114.5 kB / 1.229 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.9436, allocations: 0.75 kB / 1.229 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.9436, allocations: 3.828 kB / 1.229 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.9437, allocations: 4.703 kB / 1.229 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.9437, allocations: 3.953 kB / 1.229 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.9437, allocations: 0.8438 kB / 1.229 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.9439, allocations: 168.3 kB / 1.229 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9439, allocations: 0 / 1.229 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.944, allocations: 17.28 kB / 1.229 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.944, allocations: 0 / 1.229 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.944, allocations: 0.5156 kB / 1.229 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.944, allocations: 0 / 1.229 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.9441, allocations: 4.562 kB / 1.229 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.9445, allocations: 190.4 kB / 1.229 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.9445, allocations: 83.45 kB / 1.23 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.9445, allocations: 0 / 1.23 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.9447, allocations: 11.31 kB / 1.23 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.9447, allocations: 6.672 kB / 1.23 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.9448, allocations: 0.875 kB / 1.23 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005864/0.9453, allocations: 84.72 kB / 1.23 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9454, allocations: 0 / 1.23 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002998/0.9457, allocations: 15.89 kB / 1.23 GB, free: 41.34 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 () * Number of clocked 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.0001328/0.9458, allocations: 110.8 kB / 1.23 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003554/0.9462, allocations: 54.25 kB / 1.23 GB, free: 41.19 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9462, allocations: 0 / 1.23 GB, free: 41.19 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.9464, allocations: 33.12 kB / 1.23 GB, free: 41.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.9467, allocations: 7.609 kB / 1.23 GB, free: 41.17 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.947, allocations: 128.5 kB / 1.23 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.9473, allocations: 0.683 MB / 1.231 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.173e-05/0.9474, allocations: 5.828 kB / 1.231 GB, free: 40.33 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.9474, allocations: 7.438 kB / 1.231 GB, free: 40.33 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/0.9474, allocations: 6.469 kB / 1.231 GB, free: 40.33 MB / 0.6355 GB Notification: Performance of Templates: time 0.003101/0.9505, allocations: 0.4942 MB / 1.231 GB, free: 40.08 MB / 0.6355 GB