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.RealReplicator.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01088/0.01088, allocations: 106.9 kB / 15.05 MB, free: 5.93 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.001171/0.001171, allocations: 185.5 kB / 15.95 MB, free: 5.895 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 1.981/1.981, allocations: 194.5 MB / 211.2 MB, free: 11.23 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.336/2.336, allocations: 236.1 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004911, allocations: 16 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7054/0.7059, allocations: 98.71 MB / 0.6834 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2412/0.9472, allocations: 124.2 MB / 0.8048 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.9475, allocations: 67.97 kB / 0.8048 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002387/0.9499, allocations: 0.6427 MB / 0.8055 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.95, allocations: 4 kB / 0.8055 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.95, allocations: 0 / 0.8055 GB, free: 1.203 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005257/0.9505, allocations: 335.4 kB / 0.8058 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.9506, allocations: 8.031 kB / 0.8058 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.9506, allocations: 38.5 kB / 0.8058 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.9507, allocations: 7.906 kB / 0.8058 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.9509, allocations: 182.9 kB / 0.806 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.9509, allocations: 4 kB / 0.806 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.9509, allocations: 4 kB / 0.806 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.9512, allocations: 57.67 kB / 0.8061 GB, free: 488 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.9512, allocations: 0 / 0.8061 GB, free: 488 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.9512, allocations: 0 / 0.8061 GB, free: 488 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.9513, allocations: 4 kB / 0.8061 GB, free: 484 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.9516, allocations: 51.95 kB / 0.8061 GB, free: 432 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.9521, allocations: 280.8 kB / 0.8064 GB, free: 100 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.9523, allocations: 38.56 kB / 0.8064 GB, free: 52 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.9523, allocations: 0 / 0.8064 GB, free: 52 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.9524, allocations: 38.62 kB / 0.8065 GB, free: 4 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.9524, allocations: 0 / 0.8065 GB, free: 4 kB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0005722/0.953, allocations: 97.53 kB / 0.8066 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.953, allocations: 51.41 kB / 0.8066 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.9531, allocations: 101.1 kB / 0.8067 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.9532, allocations: 29.7 kB / 0.8067 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.9532, allocations: 84.14 kB / 0.8068 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.9532, allocations: 3.906 kB / 0.8068 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.9533, allocations: 0 / 0.8068 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.9534, allocations: 318.8 kB / 0.8071 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.9536, allocations: 19.98 kB / 0.8072 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.9537, allocations: 19.98 kB / 0.8072 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.9539, allocations: 19.98 kB / 0.8072 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9539, allocations: 3.938 kB / 0.8072 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000379/0.9543, allocations: 77.66 kB / 0.8073 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.9543, allocations: 8 kB / 0.8073 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.9543, allocations: 0 / 0.8073 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.9544, allocations: 0 / 0.8073 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.9545, allocations: 11.98 kB / 0.8073 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.9545, allocations: 3.953 kB / 0.8073 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.276e-05/0.9546, allocations: 11.97 kB / 0.8073 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.9546, allocations: 4 kB / 0.8073 GB, free: 15.11 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001021/0.9547, allocations: 113.8 kB / 0.8074 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.9548, allocations: 0 / 0.8074 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.9548, allocations: 7.125 kB / 0.8074 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.9548, allocations: 0 / 0.8074 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.9548, allocations: 0 / 0.8074 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.9549, allocations: 3.953 kB / 0.8074 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.9551, allocations: 165.7 kB / 0.8076 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9551, allocations: 0 / 0.8076 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.853e-05/0.9552, allocations: 4 kB / 0.8076 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.9552, allocations: 4 kB / 0.8076 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.9552, allocations: 7.984 kB / 0.8076 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.9552, allocations: 0 / 0.8076 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9552, allocations: 0 / 0.8076 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003914/0.9556, allocations: 171.4 kB / 0.8078 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.9557, allocations: 85 kB / 0.8078 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.9557, allocations: 0 / 0.8078 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.9559, allocations: 8 kB / 0.8078 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.9559, allocations: 8.016 kB / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.9559, allocations: 0 / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.988e-05/0.956, allocations: 87.53 kB / 0.8079 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.4e-07/0.956, allocations: 0 / 0.8079 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002642/0.9563, allocations: 7.938 kB / 0.8079 GB, free: 14.35 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0007116/0.957, allocations: 0.7007 MB / 0.8086 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003388/0.9574, allocations: 51.92 kB / 0.8087 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9574, allocations: 0 / 0.8087 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.9575, allocations: 19.98 kB / 0.8087 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.9578, allocations: 4.516 kB / 0.8087 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.959, allocations: 428.9 kB / 0.8091 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.9593, allocations: 0.6809 MB / 0.8098 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.755e-05/0.9594, allocations: 4 kB / 0.8098 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.9595, allocations: 15.42 kB / 0.8098 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/0.9595, allocations: 0 / 0.8098 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.982, allocations: 1.021 MB / 0.8108 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003848/0.9824, allocations: 189.9 kB / 0.811 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/3.336, allocations: 9.125 kB / 0.811 GB, free: 11.2 MB / 0.6355 GB