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.01077/0.01078, allocations: 108.6 kB / 15.06 MB, free: 6.035 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.001232/0.001231, allocations: 184.4 kB / 15.95 MB, free: 5.965 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.942/1.942, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.238/2.238, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006474/0.0006475, allocations: 19.94 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6647/0.6654, allocations: 98.71 MB / 0.6834 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001486/0.667, allocations: 1.03 MB / 0.6844 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003067/0.6673, allocations: 116.5 kB / 0.6846 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/0.6673, allocations: 1.344 kB / 0.6846 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 7.031e-05/0.6674, allocations: 0 / 0.6846 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 2.979e-05/0.6675, allocations: 6.797 kB / 0.6846 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 9.578e-05/0.6676, allocations: 5.969 kB / 0.6846 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.723e-05/0.6676, allocations: 15.28 kB / 0.6846 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.6678, allocations: 3.781 kB / 0.6846 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.901e-05/0.6678, allocations: 9.484 kB / 0.6846 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.436e-05/0.6679, allocations: 13.38 kB / 0.6846 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.6679, allocations: 5.344 kB / 0.6846 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-06/0.6679, allocations: 1.281 kB / 0.6846 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.668, allocations: 10.08 kB / 0.6846 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.668, allocations: 26.67 kB / 0.6847 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 6.655e-05/0.6681, allocations: 16.62 kB / 0.6847 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.6681, allocations: 0 / 0.6847 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6681, allocations: 0 / 0.6847 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.6681, allocations: 0 / 0.6847 GB, free: 15.96 MB / 0.5261 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.0004323/0.6685, allocations: 343.8 kB / 0.685 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.6686, allocations: 13.3 kB / 0.685 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.6686, allocations: 32.55 kB / 0.685 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.6687, allocations: 13.41 kB / 0.6851 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.6688, allocations: 173.7 kB / 0.6852 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.6688, allocations: 9.281 kB / 0.6852 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.6689, allocations: 1.25 kB / 0.6852 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.6691, allocations: 64.58 kB / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.6691, allocations: 0 / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.6691, allocations: 1.812 kB / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.6692, allocations: 0 / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.6694, allocations: 49.31 kB / 0.6853 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.6699, allocations: 283.5 kB / 0.6856 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.6701, allocations: 37.72 kB / 0.6856 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.6701, allocations: 4 kB / 0.6856 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.6701, allocations: 32.45 kB / 0.6857 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 2.545e-06/0.6701, allocations: 0 / 0.6857 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0005004/0.6706, allocations: 99.55 kB / 0.6858 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.6707, allocations: 52.25 kB / 0.6858 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/0.6707, allocations: 101.9 kB / 0.6859 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.6708, allocations: 27.2 kB / 0.6859 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.6708, allocations: 87.12 kB / 0.686 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.6708, allocations: 4.516 kB / 0.686 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.6709, allocations: 0 / 0.686 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.6709, allocations: 316.9 kB / 0.6863 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.6711, allocations: 19.39 kB / 0.6864 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.6712, allocations: 21.44 kB / 0.6864 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.6714, allocations: 22.55 kB / 0.6864 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6714, allocations: 1.344 kB / 0.6864 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003168/0.6717, allocations: 74.5 kB / 0.6865 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.6717, allocations: 9.5 kB / 0.6865 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.6717, allocations: 0 / 0.6865 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.6718, allocations: 0 / 0.6865 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.6719, allocations: 9.844 kB / 0.6865 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.6719, allocations: 5.016 kB / 0.6865 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.6e-05/0.672, allocations: 9.438 kB / 0.6865 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.672, allocations: 0 / 0.6865 GB, free: 14.23 MB / 0.5261 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 6.127e-05/0.6721, allocations: 117.2 kB / 0.6866 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.6721, allocations: 1.375 kB / 0.6866 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.6721, allocations: 4.703 kB / 0.6866 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.6721, allocations: 6.438 kB / 0.6866 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6722, allocations: 0 / 0.6866 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.6722, allocations: 3.953 kB / 0.6866 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.6723, allocations: 158.1 kB / 0.6868 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6723, allocations: 0 / 0.6868 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.805e-05/0.6724, allocations: 9.438 kB / 0.6868 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.6725, allocations: 5.719 kB / 0.6868 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.6725, allocations: 7.938 kB / 0.6868 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.6725, allocations: 0.9688 kB / 0.6868 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6725, allocations: 4.828 kB / 0.6868 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.6728, allocations: 178.3 kB / 0.687 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.6729, allocations: 77.11 kB / 0.6871 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.6729, allocations: 6.047 kB / 0.6871 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.673, allocations: 8.5 kB / 0.6871 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.6731, allocations: 2.391 kB / 0.6871 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.6731, allocations: 0 / 0.6871 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.008e-05/0.6731, allocations: 84.34 kB / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6731, allocations: 5.062 kB / 0.6872 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002695/0.6734, allocations: 3.5 kB / 0.6872 GB, free: 13.57 MB / 0.5261 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.0004965/0.6739, allocations: 0.7042 MB / 0.6878 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003042/0.6742, allocations: 41.75 kB / 0.6879 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6743, allocations: 4.094 kB / 0.6879 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.6744, allocations: 24.86 kB / 0.6879 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.6747, allocations: 2.172 kB / 0.6879 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009773/0.6756, allocations: 423.6 kB / 0.6883 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.6758, allocations: 0.6859 MB / 0.689 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.92e-05/0.6759, allocations: 3.484 kB / 0.689 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.6759, allocations: 13.56 kB / 0.689 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of SimCode: time 6.31e-07/0.6759, allocations: 0 / 0.689 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.6948, allocations: 1.011 MB / 0.69 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/0.6951, allocations: 196.7 kB / 0.6902 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/2.852, allocations: 0 / 0.6902 GB, free: 11.4 MB / 0.5261 GB