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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.899/3.899, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.51e-05, allocations: 3.984 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2106, allocations: 98.74 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2256/0.4362, allocations: 124.4 MB / 0.7562 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.4365, allocations: 67.97 kB / 0.7562 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003278/0.4398, allocations: 0.837 MB / 0.7571 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.614e-06/0.4398, allocations: 0 / 0.7571 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.4399, allocations: 4 kB / 0.7571 GB, free: 4.453 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.0004919/0.4404, allocations: 346.4 kB / 0.7574 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.4404, allocations: 8.031 kB / 0.7574 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.4405, allocations: 34.56 kB / 0.7574 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.4405, allocations: 7.906 kB / 0.7574 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.4407, allocations: 171 kB / 0.7576 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.4408, allocations: 4 kB / 0.7576 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.4408, allocations: 4 kB / 0.7576 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.4409, allocations: 57.61 kB / 0.7577 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.441, allocations: 4 kB / 0.7577 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.441, allocations: 0 / 0.7577 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.441, allocations: 0 / 0.7577 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.077e-05/0.4411, allocations: 20 kB / 0.7577 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.4416, allocations: 272.8 kB / 0.758 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.434e-05/0.4417, allocations: 34.5 kB / 0.758 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.4417, allocations: 16.92 kB / 0.758 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.4418, allocations: 4 kB / 0.758 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.4418, allocations: 30.56 kB / 0.758 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.994e-06/0.4418, allocations: 0 / 0.758 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002001/0.442, allocations: 53.55 kB / 0.7581 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.4421, allocations: 59.34 kB / 0.7581 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.167e-05/0.4422, allocations: 89 kB / 0.7582 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.4422, allocations: 33.73 kB / 0.7583 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.4423, allocations: 88.05 kB / 0.7583 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.4423, allocations: 11.98 kB / 0.7584 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.4423, allocations: 0 / 0.7584 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4425, allocations: 318.8 kB / 0.7587 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/0.4425, allocations: 0 / 0.7587 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/0.4425, allocations: 12 kB / 0.7587 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.4426, allocations: 4 kB / 0.7587 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4426, allocations: 4.062 kB / 0.7587 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00013/0.4427, allocations: 49.69 kB / 0.7587 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4428, allocations: 4 kB / 0.7587 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.4428, allocations: 3.984 kB / 0.7587 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.4428, allocations: 0 / 0.7587 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.443, allocations: 19.88 kB / 0.7588 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.443, allocations: 0 / 0.7588 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.4431, allocations: 27.8 kB / 0.7588 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.4431, allocations: 0 / 0.7588 GB, free: 2.477 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 8.893e-05/0.4432, allocations: 105 kB / 0.7589 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.4433, allocations: 0 / 0.7589 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.4433, allocations: 3.125 kB / 0.7589 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4433, allocations: 0 / 0.7589 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4433, allocations: 4.203 kB / 0.7589 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.4433, allocations: 4 kB / 0.7589 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.4436, allocations: 169.7 kB / 0.7591 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4436, allocations: 0 / 0.7591 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.4437, allocations: 15.98 kB / 0.7591 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4437, allocations: 0 / 0.7591 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.4437, allocations: 0 / 0.7591 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4438, allocations: 0 / 0.7591 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4438, allocations: 0 / 0.7591 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.444, allocations: 151.4 kB / 0.7592 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.444, allocations: 85.12 kB / 0.7593 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.444, allocations: 3.984 kB / 0.7593 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4442, allocations: 8 kB / 0.7593 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.4443, allocations: 7.984 kB / 0.7593 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.4443, allocations: 4 kB / 0.7593 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.711e-05/0.4443, allocations: 79.28 kB / 0.7594 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4443, allocations: 0 / 0.7594 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002773/0.4446, allocations: 11.86 kB / 0.7594 GB, free: 1.75 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.0005175/0.4452, allocations: 0.687 MB / 0.7601 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.4453, allocations: 23.94 kB / 0.7601 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4453, allocations: 0 / 0.7601 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.817e-05/0.4454, allocations: 11.94 kB / 0.7601 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.4456, allocations: 20.03 kB / 0.7601 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.446, allocations: 105 kB / 0.7602 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.4464, allocations: 0.6848 MB / 0.7609 GB, free: 140 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.698e-05/0.4465, allocations: 4 kB / 0.7609 GB, free: 136 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.4465, allocations: 11.44 kB / 0.7609 GB, free: 128 kB / 0.6355 GB Notification: Performance of SimCode: time 7.42e-07/0.4465, allocations: 0 / 0.7609 GB, free: 128 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.4693, allocations: 1.218 MB / 0.7621 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003062/0.4697, allocations: 175.5 kB / 0.7623 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/2.774, allocations: 0 / 0.7623 GB, free: 14.75 MB / 0.6511 GB