Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.0103/0.0103, allocations: 90.67 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001172/0.001172, allocations: 173.7 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.049/2.049, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.254/2.254, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006766/0.0006769, allocations: 12.97 kB / 0.6243 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2104, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001835/0.2123, allocations: 1.056 MB / 0.7291 GB, free: 9.074 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003578/0.2127, allocations: 106.2 kB / 0.7292 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.2128, allocations: 0 / 0.7292 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 7.755e-05/0.2129, allocations: 0 / 0.7292 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 2.831e-05/0.2129, allocations: 0 / 0.7292 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001009/0.213, allocations: 7.984 kB / 0.7292 GB, free: 8.961 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.252e-05/0.2131, allocations: 19.92 kB / 0.7292 GB, free: 8.941 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.142e-05/0.2132, allocations: 3.984 kB / 0.7292 GB, free: 8.938 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.296e-05/0.2133, allocations: 12 kB / 0.7292 GB, free: 8.926 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.566e-05/0.2133, allocations: 11.92 kB / 0.7293 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.2134, allocations: 0 / 0.7293 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.2134, allocations: 0 / 0.7293 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.54e-05/0.2134, allocations: 11.98 kB / 0.7293 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.2135, allocations: 29.7 kB / 0.7293 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 6.635e-05/0.2136, allocations: 19.95 kB / 0.7293 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2136, allocations: 0 / 0.7293 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.727e-06/0.2136, allocations: 0 / 0.7293 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2136, allocations: 3.938 kB / 0.7293 GB, free: 8.844 MB / 0.5573 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.0005013/0.2141, allocations: 339.6 kB / 0.7296 GB, free: 8.465 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2142, allocations: 12.03 kB / 0.7297 GB, free: 8.453 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.2142, allocations: 38.5 kB / 0.7297 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.2142, allocations: 3.906 kB / 0.7297 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.2144, allocations: 175 kB / 0.7299 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2144, allocations: 4 kB / 0.7299 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.2145, allocations: 0 / 0.7299 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.2147, allocations: 65.67 kB / 0.7299 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2147, allocations: 0 / 0.7299 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2148, allocations: 0 / 0.7299 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2148, allocations: 0 / 0.7299 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.2151, allocations: 47.97 kB / 0.73 GB, free: 8.07 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.2156, allocations: 284.8 kB / 0.7302 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.2158, allocations: 42.56 kB / 0.7303 GB, free: 7.691 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.2158, allocations: 0 / 0.7303 GB, free: 7.691 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.2159, allocations: 30.56 kB / 0.7303 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.462e-06/0.2159, allocations: 0 / 0.7303 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.000535/0.2164, allocations: 105.5 kB / 0.7304 GB, free: 7.543 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.2165, allocations: 51.41 kB / 0.7305 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.2166, allocations: 101.8 kB / 0.7306 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.2166, allocations: 25.7 kB / 0.7306 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.2167, allocations: 88.27 kB / 0.7307 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.2167, allocations: 7.906 kB / 0.7307 GB, free: 7.242 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.2167, allocations: 0 / 0.7307 GB, free: 7.242 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2169, allocations: 310.8 kB / 0.731 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.217, allocations: 23.98 kB / 0.731 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.2172, allocations: 23.97 kB / 0.731 GB, free: 6.883 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.2173, allocations: 19.98 kB / 0.731 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2173, allocations: 0 / 0.731 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003347/0.2177, allocations: 77.66 kB / 0.7311 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2177, allocations: 7.938 kB / 0.7311 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2177, allocations: 4.25 kB / 0.7311 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2177, allocations: 0 / 0.7311 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.2179, allocations: 8 kB / 0.7311 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.2179, allocations: 11.94 kB / 0.7311 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.85e-05/0.218, allocations: 4 kB / 0.7312 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.218, allocations: 4.031 kB / 0.7312 GB, free: 6.742 MB / 0.5573 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 8.929e-05/0.2181, allocations: 113.8 kB / 0.7313 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.2181, allocations: 3.984 kB / 0.7313 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.2182, allocations: 7.078 kB / 0.7313 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2182, allocations: 4 kB / 0.7313 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2182, allocations: 0 / 0.7313 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2182, allocations: 3.953 kB / 0.7313 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.2184, allocations: 157.6 kB / 0.7314 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2184, allocations: 0 / 0.7314 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.071e-05/0.2185, allocations: 15.98 kB / 0.7314 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2186, allocations: 3.938 kB / 0.7315 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2186, allocations: 4 kB / 0.7315 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2186, allocations: 0 / 0.7315 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2186, allocations: 4 kB / 0.7315 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.219, allocations: 171.4 kB / 0.7316 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.2191, allocations: 85.02 kB / 0.7317 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.2191, allocations: 0 / 0.7317 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.2192, allocations: 11.97 kB / 0.7317 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.2193, allocations: 0 / 0.7317 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.2193, allocations: 4 kB / 0.7317 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.22e-05/0.2194, allocations: 91.3 kB / 0.7318 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2194, allocations: 0 / 0.7318 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002918/0.2197, allocations: 4 kB / 0.7318 GB, free: 5.977 MB / 0.5573 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.0006948/0.2204, allocations: 0.7046 MB / 0.7325 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.2207, allocations: 44 kB / 0.7325 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2208, allocations: 0 / 0.7325 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.2209, allocations: 27.97 kB / 0.7326 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.2212, allocations: 4 kB / 0.7326 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.2223, allocations: 414.8 kB / 0.733 GB, free: 4.719 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.2226, allocations: 0.6848 MB / 0.7336 GB, free: 4.008 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.253e-05/0.2227, allocations: 4 kB / 0.7336 GB, free: 4.004 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.783e-05/0.2228, allocations: 11.44 kB / 0.7336 GB, free: 3.992 MB / 0.5573 GB Notification: Performance of SimCode: time 9.42e-07/0.2228, allocations: 0 / 0.7336 GB, free: 3.992 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.2425, allocations: 1.022 MB / 0.7346 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003082/0.2429, allocations: 193.3 kB / 0.7348 GB, free: 2.844 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/2.666, allocations: 0 / 0.7348 GB, free: 2.844 MB / 0.5573 GB