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 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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008782/0.008782, allocations: 110.2 kB / 15.06 MB, free: 6.043 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.001103/0.001103, allocations: 185 kB / 15.95 MB, free: 5.961 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.228/2.228, allocations: 194.6 MB / 211.3 MB, free: 11.11 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.47/2.47, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004645, allocations: 12 kB / 0.5869 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.61/0.6105, allocations: 98.71 MB / 0.6833 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.00131/0.6118, allocations: 1.055 MB / 0.6844 GB, free: 16.06 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003347/0.6122, allocations: 142.8 kB / 0.6845 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.6122, allocations: 1.531 kB / 0.6845 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 6.517e-05/0.6123, allocations: 0.8906 kB / 0.6845 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 2.713e-05/0.6123, allocations: 11.98 kB / 0.6845 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.6125, allocations: 12.92 kB / 0.6845 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.688e-05/0.6126, allocations: 20.44 kB / 0.6846 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.705e-05/0.6126, allocations: 13.5 kB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.577e-05/0.6127, allocations: 8.078 kB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.6128, allocations: 15.86 kB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.6128, allocations: 1.125 kB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/0.6128, allocations: 1.531 kB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.992e-05/0.6129, allocations: 14.12 kB / 0.6846 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.6129, allocations: 31.83 kB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 6.88e-05/0.613, allocations: 33.09 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.616e-06/0.613, allocations: 0 / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.144e-06/0.613, allocations: 0 / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.915e-06/0.613, allocations: 0 / 0.6847 GB, free: 15.87 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000372/0.6134, allocations: 337.3 kB / 0.685 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.6134, allocations: 9.031 kB / 0.685 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.6135, allocations: 10.66 kB / 0.685 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.6136, allocations: 178.4 kB / 0.6852 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.6137, allocations: 1.219 kB / 0.6852 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.6137, allocations: 1.625 kB / 0.6852 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.6139, allocations: 67.22 kB / 0.6853 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.942e-06/0.6139, allocations: 1.156 kB / 0.6853 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.6139, allocations: 7.938 kB / 0.6853 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.614, allocations: 5.344 kB / 0.6853 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.6142, allocations: 49.31 kB / 0.6853 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.6146, allocations: 281.7 kB / 0.6856 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.6148, allocations: 52.56 kB / 0.6856 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.6148, allocations: 0.8906 kB / 0.6856 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.6148, allocations: 35.95 kB / 0.6857 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.111e-06/0.6148, allocations: 0 / 0.6857 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000446/0.6153, allocations: 106.7 kB / 0.6858 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.6153, allocations: 53.84 kB / 0.6858 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.663e-05/0.6154, allocations: 113.8 kB / 0.6859 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.6154, allocations: 30.73 kB / 0.686 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.47e-05/0.6155, allocations: 90.66 kB / 0.686 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.6155, allocations: 9.344 kB / 0.6861 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-06/0.6155, allocations: 0 / 0.6861 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.6156, allocations: 318.3 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.6157, allocations: 23.11 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.6158, allocations: 25.83 kB / 0.6864 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.616, allocations: 24.16 kB / 0.6864 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.616, allocations: 0 / 0.6864 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002707/0.6163, allocations: 80.84 kB / 0.6865 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.6163, allocations: 4.969 kB / 0.6865 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.6163, allocations: 0.5156 kB / 0.6865 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.6163, allocations: 1.406 kB / 0.6865 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.6165, allocations: 11.27 kB / 0.6865 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.491e-06/0.6165, allocations: 8.953 kB / 0.6865 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.6166, allocations: 8.047 kB / 0.6865 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.58e-06/0.6166, allocations: 1.891 kB / 0.6865 GB, free: 14.15 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked 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 0.0001012/0.6167, allocations: 117.9 kB / 0.6866 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.6167, allocations: 1.734 kB / 0.6867 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.6168, allocations: 5.188 kB / 0.6867 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.77e-06/0.6168, allocations: 0 / 0.6867 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.621e-06/0.6168, allocations: 4.609 kB / 0.6867 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.942e-06/0.6168, allocations: 5.109 kB / 0.6867 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.617, allocations: 166.3 kB / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-06/0.617, allocations: 0 / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.941e-05/0.6171, allocations: 12.42 kB / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.285e-06/0.6171, allocations: 0 / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.6171, allocations: 0.5625 kB / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.784e-06/0.6172, allocations: 5.344 kB / 0.6868 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.069e-06/0.6172, allocations: 0.5625 kB / 0.6868 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.6175, allocations: 183.9 kB / 0.687 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.6175, allocations: 77.72 kB / 0.6871 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.6175, allocations: 1.656 kB / 0.6871 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.6177, allocations: 12.23 kB / 0.6871 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.6177, allocations: 13.52 kB / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.6177, allocations: 5.281 kB / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.343e-05/0.6178, allocations: 84.69 kB / 0.6872 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.08e-07/0.6178, allocations: 0 / 0.6872 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002931/0.6181, allocations: 9.344 kB / 0.6872 GB, free: 13.48 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked 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 9.731e-05/0.6182, allocations: 111.8 kB / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000273/0.6185, allocations: 48.06 kB / 0.6874 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.518e-06/0.6185, allocations: 0 / 0.6874 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.6187, allocations: 33.22 kB / 0.6874 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.6189, allocations: 4.359 kB / 0.6874 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.6192, allocations: 127.1 kB / 0.6875 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.6194, allocations: 0.6821 MB / 0.6882 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.645e-05/0.6194, allocations: 8.172 kB / 0.6882 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.6195, allocations: 10.98 kB / 0.6882 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.235e-06/0.6195, allocations: 0 / 0.6882 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.002924/0.6224, allocations: 0.4888 MB / 0.6887 GB, free: 12.48 MB / 0.5261 GB