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.IntegerReplicator.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.IntegerReplicator,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01015/0.01015, allocations: 89.02 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.00115/0.00115, allocations: 173.1 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.084/2.084, 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.358/2.358, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006318/0.0006319, allocations: 13.06 kB / 0.6243 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2279, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.001774/0.2297, allocations: 1.073 MB / 0.7291 GB, free: 9.062 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004101/0.2302, allocations: 136.5 kB / 0.7293 GB, free: 8.926 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.2302, allocations: 4 kB / 0.7293 GB, free: 8.922 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 7.726e-05/0.2303, allocations: 0 / 0.7293 GB, free: 8.922 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.254e-05/0.2304, allocations: 3.984 kB / 0.7293 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.2305, allocations: 23.86 kB / 0.7293 GB, free: 8.895 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.702e-05/0.2306, allocations: 19.97 kB / 0.7293 GB, free: 8.875 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.763e-05/0.2307, allocations: 8 kB / 0.7293 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.282e-05/0.2308, allocations: 11.98 kB / 0.7293 GB, free: 8.855 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.208e-05/0.2309, allocations: 15.92 kB / 0.7293 GB, free: 8.84 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.2309, allocations: 0 / 0.7293 GB, free: 8.84 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.491e-05/0.2309, allocations: 4 kB / 0.7293 GB, free: 8.836 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.516e-05/0.231, allocations: 7.922 kB / 0.7293 GB, free: 8.828 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.231, allocations: 33.7 kB / 0.7294 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 7.362e-05/0.2311, allocations: 23.94 kB / 0.7294 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.2311, allocations: 0 / 0.7294 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2311, allocations: 4 kB / 0.7294 GB, free: 8.762 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2311, allocations: 4 kB / 0.7294 GB, free: 8.758 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005347/0.2317, allocations: 339.6 kB / 0.7297 GB, free: 8.379 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.2317, allocations: 12.03 kB / 0.7297 GB, free: 8.367 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.2318, allocations: 34.56 kB / 0.7298 GB, free: 8.324 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.2318, allocations: 3.906 kB / 0.7298 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.232, allocations: 175 kB / 0.7299 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.232, allocations: 8 kB / 0.73 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.2321, allocations: 4 kB / 0.73 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.2324, allocations: 73.59 kB / 0.73 GB, free: 8.02 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2324, allocations: 0 / 0.73 GB, free: 8.02 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2324, allocations: 3.938 kB / 0.73 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2324, allocations: 0 / 0.73 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.2328, allocations: 59.95 kB / 0.7301 GB, free: 7.957 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.2332, allocations: 284.7 kB / 0.7304 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.2335, allocations: 42.56 kB / 0.7304 GB, free: 7.578 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.2335, allocations: 8.047 kB / 0.7304 GB, free: 7.57 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.2335, allocations: 34.56 kB / 0.7304 GB, free: 7.527 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.2335, allocations: 0 / 0.7304 GB, free: 7.527 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0006152/0.2342, allocations: 113.5 kB / 0.7306 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.2342, allocations: 51.41 kB / 0.7306 GB, free: 7.348 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.23e-05/0.2343, allocations: 109.8 kB / 0.7307 GB, free: 7.23 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2344, allocations: 25.83 kB / 0.7307 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.2344, allocations: 88.05 kB / 0.7308 GB, free: 7.109 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.2345, allocations: 11.84 kB / 0.7308 GB, free: 7.098 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.2345, allocations: 4 kB / 0.7308 GB, free: 7.094 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.2346, allocations: 310.8 kB / 0.7311 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.2348, allocations: 31.91 kB / 0.7312 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.2349, allocations: 19.98 kB / 0.7312 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.2351, allocations: 23.98 kB / 0.7312 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2351, allocations: 0 / 0.7312 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003714/0.2355, allocations: 85.7 kB / 0.7313 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.2355, allocations: 4 kB / 0.7313 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2356, allocations: 0 / 0.7313 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2356, allocations: 3.938 kB / 0.7313 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.2357, allocations: 19.94 kB / 0.7313 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2358, allocations: 4 kB / 0.7313 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.655e-05/0.2359, allocations: 8.031 kB / 0.7313 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.2359, allocations: 3.938 kB / 0.7313 GB, free: 6.574 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: 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.0001444/0.236, allocations: 113.8 kB / 0.7314 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.2361, allocations: 0 / 0.7314 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.2361, allocations: 15.08 kB / 0.7314 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2361, allocations: 0 / 0.7314 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.2362, allocations: 3.953 kB / 0.7314 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2362, allocations: 0 / 0.7314 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.2364, allocations: 161.7 kB / 0.7316 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2364, allocations: 4 kB / 0.7316 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.2365, allocations: 11.98 kB / 0.7316 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2365, allocations: 0 / 0.7316 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.2366, allocations: 4 kB / 0.7316 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2366, allocations: 0 / 0.7316 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2366, allocations: 0 / 0.7316 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004277/0.237, allocations: 187.3 kB / 0.7318 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.2371, allocations: 81.34 kB / 0.7319 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.2371, allocations: 4 kB / 0.7319 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2373, allocations: 12 kB / 0.7319 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.2373, allocations: 8.016 kB / 0.7319 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.2374, allocations: 4 kB / 0.7319 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.482e-05/0.2374, allocations: 79.28 kB / 0.732 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2374, allocations: 4 kB / 0.732 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002982/0.2377, allocations: 7.953 kB / 0.732 GB, free: 5.793 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: 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.0007445/0.2385, allocations: 0.7086 MB / 0.7327 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003718/0.2389, allocations: 55.92 kB / 0.7327 GB, free: 5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2389, allocations: 0 / 0.7327 GB, free: 5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.2391, allocations: 27.98 kB / 0.7328 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.2393, allocations: 7.922 kB / 0.7328 GB, free: 4.965 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.2405, allocations: 446.4 kB / 0.7332 GB, free: 4.484 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.2408, allocations: 0.6809 MB / 0.7339 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.8e-05/0.2409, allocations: 7.984 kB / 0.7339 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.241, allocations: 7.438 kB / 0.7339 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of SimCode: time 7.31e-07/0.241, allocations: 0 / 0.7339 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.2596, allocations: 1.216 MB / 0.7351 GB, free: 2.652 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003355/0.26, allocations: 209.7 kB / 0.7353 GB, free: 2.406 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/2.567, allocations: 0 / 0.7353 GB, free: 2.406 MB / 0.5573 GB