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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",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.01103/0.01103, allocations: 108.6 kB / 15.06 MB, free: 5.555 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.001196/0.001196, allocations: 179.8 kB / 15.95 MB, free: 5.52 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.904/1.904, allocations: 194.5 MB / 211.2 MB, free: 10.95 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.248/2.248, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004706, allocations: 12 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6454/0.6459, allocations: 98.72 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.001625/0.6476, allocations: 1.053 MB / 0.6845 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0006662/0.6483, allocations: 136.8 kB / 0.6846 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.6484, allocations: 0 / 0.6846 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.6485, allocations: 5.562 kB / 0.6846 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.565e-05/0.6486, allocations: 0.7969 kB / 0.6846 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.6488, allocations: 20.16 kB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.6489, allocations: 20.52 kB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.6491, allocations: 10.34 kB / 0.6847 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.659e-05/0.6492, allocations: 14.98 kB / 0.6847 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.999e-05/0.6493, allocations: 21.27 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.6493, allocations: 1.375 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.166e-05/0.6494, allocations: 0.9375 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.879e-05/0.6495, allocations: 5.328 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.6495, allocations: 32.36 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.6497, allocations: 25 kB / 0.6848 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6497, allocations: 4 kB / 0.6848 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.355e-06/0.6497, allocations: 3.938 kB / 0.6848 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.6497, allocations: 0 / 0.6848 GB, free: 15.85 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.0006762/0.6504, allocations: 344.5 kB / 0.6851 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/0.6505, allocations: 10.25 kB / 0.6851 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.465e-05/0.6506, allocations: 41 kB / 0.6851 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.6507, allocations: 1.156 kB / 0.6851 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.6521, allocations: 179 kB / 0.6853 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.6522, allocations: 2.609 kB / 0.6853 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.6522, allocations: 5.25 kB / 0.6853 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.6527, allocations: 63.28 kB / 0.6854 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.6527, allocations: 0 / 0.6854 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.6528, allocations: 4 kB / 0.6854 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.6528, allocations: 1.062 kB / 0.6854 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005325/0.6533, allocations: 58.88 kB / 0.6854 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006996/0.6541, allocations: 277.2 kB / 0.6857 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.6545, allocations: 48.69 kB / 0.6858 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.6545, allocations: 3.938 kB / 0.6858 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.6546, allocations: 32.5 kB / 0.6858 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 4.007e-06/0.6546, allocations: 0 / 0.6858 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000901/0.6555, allocations: 111.2 kB / 0.6859 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.6556, allocations: 52.25 kB / 0.6859 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.6557, allocations: 111.2 kB / 0.686 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.6558, allocations: 26.31 kB / 0.6861 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.6559, allocations: 87.5 kB / 0.6862 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.6559, allocations: 4.516 kB / 0.6862 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.656, allocations: 5.375 kB / 0.6862 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.6561, allocations: 312.1 kB / 0.6865 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.6565, allocations: 28.41 kB / 0.6865 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.6569, allocations: 24.69 kB / 0.6865 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.6572, allocations: 24.27 kB / 0.6865 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6572, allocations: 1.438 kB / 0.6865 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005853/0.6578, allocations: 80.52 kB / 0.6866 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.6579, allocations: 5.062 kB / 0.6866 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.6579, allocations: 0 / 0.6866 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.658, allocations: 0 / 0.6866 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.6582, allocations: 21.14 kB / 0.6866 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.6582, allocations: 0 / 0.6866 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.6584, allocations: 13.42 kB / 0.6867 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.6584, allocations: 5.375 kB / 0.6867 GB, free: 14.09 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.0001593/0.6586, allocations: 109.7 kB / 0.6868 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/0.6587, allocations: 1.406 kB / 0.6868 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.6587, allocations: 9.453 kB / 0.6868 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.6588, allocations: 0.5625 kB / 0.6868 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.6588, allocations: 7.891 kB / 0.6868 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6588, allocations: 6.375 kB / 0.6868 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.6591, allocations: 164.6 kB / 0.6869 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6591, allocations: 0 / 0.6869 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006261/0.6598, allocations: 12.45 kB / 0.687 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.567e-05/0.6599, allocations: 7.922 kB / 0.687 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.66, allocations: 2.406 kB / 0.687 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.66, allocations: 4 kB / 0.687 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.66, allocations: 4.781 kB / 0.687 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009975/0.661, allocations: 183.1 kB / 0.6871 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.6611, allocations: 78.84 kB / 0.6872 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.6611, allocations: 2.094 kB / 0.6872 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.6613, allocations: 11.88 kB / 0.6872 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.6614, allocations: 9.094 kB / 0.6872 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.6614, allocations: 1.703 kB / 0.6872 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.557e-05/0.6615, allocations: 80.67 kB / 0.6873 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.723e-06/0.6615, allocations: 0 / 0.6873 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002958/0.6618, allocations: 20.86 kB / 0.6873 GB, free: 13.41 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 0.0006258/0.6624, allocations: 0.7083 MB / 0.688 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003613/0.6628, allocations: 51.12 kB / 0.6881 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6628, allocations: 1.156 kB / 0.6881 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.663, allocations: 31.39 kB / 0.6881 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.6633, allocations: 7.109 kB / 0.6881 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.6648, allocations: 432.1 kB / 0.6885 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.6651, allocations: 0.682 MB / 0.6892 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.418e-05/0.6652, allocations: 9.062 kB / 0.6892 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.848e-05/0.6653, allocations: 14.38 kB / 0.6892 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of SimCode: time 1.462e-06/0.6653, allocations: 4 kB / 0.6892 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.6858, allocations: 1.217 MB / 0.6904 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002779/0.6862, allocations: 201 kB / 0.6906 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/2.973, allocations: 5.328 kB / 0.6906 GB, free: 11.23 MB / 0.5261 GB