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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009389/0.009394, allocations: 108.8 kB / 15.06 MB, free: 5.562 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.001156/0.001156, allocations: 184 kB / 15.95 MB, free: 5.523 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 2.12/2.12, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.225/2.225, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006083/0.0006085, allocations: 8 kB / 0.5869 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6149/0.6156, allocations: 98.72 MB / 0.6833 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.002076/0.6177, allocations: 1.042 MB / 0.6844 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004284/0.6182, allocations: 108.5 kB / 0.6845 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.456e-05/0.6183, allocations: 0 / 0.6845 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 8.48e-05/0.6184, allocations: 1.125 kB / 0.6845 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.092e-05/0.6184, allocations: 5.453 kB / 0.6845 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.6186, allocations: 7.375 kB / 0.6845 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.406e-05/0.6187, allocations: 15.33 kB / 0.6845 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.6188, allocations: 8.594 kB / 0.6845 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.821e-05/0.6188, allocations: 12.03 kB / 0.6845 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.47e-05/0.6189, allocations: 13.77 kB / 0.6845 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.619, allocations: 2.25 kB / 0.6845 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.619, allocations: 1 kB / 0.6845 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.6191, allocations: 4.141 kB / 0.6845 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.6191, allocations: 27.89 kB / 0.6846 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 8.099e-05/0.6192, allocations: 20.84 kB / 0.6846 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.655e-06/0.6192, allocations: 0 / 0.6846 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.689e-06/0.6192, allocations: 1.219 kB / 0.6846 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.896e-06/0.6193, allocations: 0 / 0.6846 GB, free: 15.98 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.0004917/0.6198, allocations: 342.7 kB / 0.6849 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.6198, allocations: 8.969 kB / 0.6849 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.6199, allocations: 6.125 kB / 0.6849 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.6201, allocations: 176 kB / 0.6851 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.6201, allocations: 1.031 kB / 0.6851 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.6201, allocations: 3.328 kB / 0.6851 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.6205, allocations: 67.59 kB / 0.6852 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.6205, allocations: 1.562 kB / 0.6852 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.6205, allocations: 0 / 0.6852 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.598e-06/0.6206, allocations: 0 / 0.6852 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.6209, allocations: 48.39 kB / 0.6852 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.6216, allocations: 280.5 kB / 0.6855 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.6218, allocations: 41.86 kB / 0.6855 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.6219, allocations: 0.7969 kB / 0.6855 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.6219, allocations: 31.59 kB / 0.6855 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 3.796e-06/0.6219, allocations: 1.375 kB / 0.6855 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0006957/0.6226, allocations: 98.05 kB / 0.6856 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.6227, allocations: 57.48 kB / 0.6857 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.6228, allocations: 105.6 kB / 0.6858 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.6228, allocations: 27.17 kB / 0.6858 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.6229, allocations: 86.83 kB / 0.6859 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.6229, allocations: 9.25 kB / 0.6859 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-06/0.623, allocations: 4 kB / 0.6859 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.766e-05/0.6231, allocations: 312.7 kB / 0.6862 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.6233, allocations: 17.58 kB / 0.6862 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.6235, allocations: 22.81 kB / 0.6863 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.6237, allocations: 23.19 kB / 0.6863 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.6237, allocations: 0.5625 kB / 0.6863 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000444/0.6241, allocations: 77.3 kB / 0.6863 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.6242, allocations: 5.516 kB / 0.6864 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/0.6242, allocations: 1.25 kB / 0.6864 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.6242, allocations: 0 / 0.6864 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.6244, allocations: 9.828 kB / 0.6864 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.6244, allocations: 5.297 kB / 0.6864 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.6246, allocations: 8.703 kB / 0.6864 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.761e-06/0.6246, allocations: 0 / 0.6864 GB, free: 14.29 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 9.123e-05/0.6247, allocations: 117.7 kB / 0.6865 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.969e-05/0.6248, allocations: 1.125 kB / 0.6865 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.6248, allocations: 4.922 kB / 0.6865 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.257e-06/0.6248, allocations: 0.7969 kB / 0.6865 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.31e-06/0.6249, allocations: 0 / 0.6865 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.575e-06/0.6249, allocations: 9.172 kB / 0.6865 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.6252, allocations: 161.2 kB / 0.6867 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.328e-06/0.6252, allocations: 1.281 kB / 0.6867 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.6253, allocations: 13.11 kB / 0.6867 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.838e-06/0.6254, allocations: 1.797 kB / 0.6867 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.6254, allocations: 0 / 0.6867 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.781e-06/0.6254, allocations: 0 / 0.6867 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.6254, allocations: 1.344 kB / 0.6867 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000471/0.6259, allocations: 178.6 kB / 0.6868 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.626, allocations: 81.67 kB / 0.6869 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.626, allocations: 5.203 kB / 0.6869 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.6262, allocations: 8.672 kB / 0.6869 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.6263, allocations: 2.297 kB / 0.6869 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.6263, allocations: 0.6562 kB / 0.6869 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.023e-05/0.6264, allocations: 88.44 kB / 0.687 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.99e-07/0.6264, allocations: 0 / 0.687 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005838/0.627, allocations: 3.562 kB / 0.687 GB, free: 13.63 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.0001403/0.6272, allocations: 99.41 kB / 0.6871 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004045/0.6276, allocations: 47 kB / 0.6872 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.279e-06/0.6277, allocations: 0 / 0.6872 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.6279, allocations: 23 kB / 0.6872 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.6283, allocations: 12.22 kB / 0.6872 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.6287, allocations: 120.7 kB / 0.6873 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.6289, allocations: 0.6819 MB / 0.688 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.611e-05/0.629, allocations: 2.672 kB / 0.688 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.629, allocations: 8.625 kB / 0.688 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.759e-06/0.629, allocations: 3.938 kB / 0.688 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.003857/0.6329, allocations: 341 kB / 0.6883 GB, free: 12.64 MB / 0.5261 GB