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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.133/4.133, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.485e-05/2.487e-05, allocations: 6.969 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2132, allocations: 98.74 MB / 0.6289 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2265/0.4397, allocations: 123.5 MB / 0.7495 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.44, allocations: 71.95 kB / 0.7496 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002295/0.4423, allocations: 0.6487 MB / 0.7502 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4424, allocations: 0 / 0.7502 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.577e-06/0.4424, allocations: 0 / 0.7502 GB, free: 12.78 MB / 0.6355 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.0004293/0.4428, allocations: 338.5 kB / 0.7505 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.4429, allocations: 12.03 kB / 0.7505 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.443, allocations: 7.891 kB / 0.7505 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.4431, allocations: 174.9 kB / 0.7507 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4432, allocations: 0 / 0.7507 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.4432, allocations: 4 kB / 0.7507 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.95e-05/0.4433, allocations: 12 kB / 0.7507 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.594e-05/0.4434, allocations: 41.69 kB / 0.7508 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4434, allocations: 0 / 0.7508 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.4434, allocations: 0 / 0.7508 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4435, allocations: 0 / 0.7508 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.444, allocations: 261.4 kB / 0.751 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.563e-05/0.4441, allocations: 18.58 kB / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.4441, allocations: 4.859 kB / 0.751 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.4441, allocations: 12.06 kB / 0.7511 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.4442, allocations: 38.55 kB / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.954e-06/0.4442, allocations: 0 / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001654/0.4444, allocations: 37.59 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.4444, allocations: 59.34 kB / 0.7512 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.172e-05/0.4445, allocations: 93 kB / 0.7513 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.4445, allocations: 25.7 kB / 0.7513 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.4446, allocations: 96.06 kB / 0.7514 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.4446, allocations: 4 kB / 0.7514 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.4446, allocations: 3.938 kB / 0.7514 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4448, allocations: 310.8 kB / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.4448, allocations: 0 / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/0.4448, allocations: 8 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.382e-05/0.4449, allocations: 4 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4449, allocations: 0 / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.208e-05/0.445, allocations: 41.78 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.445, allocations: 8 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.445, allocations: 0 / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.445, allocations: 0 / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.4452, allocations: 8 kB / 0.7518 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.4452, allocations: 7.922 kB / 0.7518 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.575e-05/0.4453, allocations: 11.86 kB / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.4454, allocations: 4 kB / 0.7518 GB, free: 10.96 MB / 0.6355 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 () * 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 7.977e-05/0.4455, allocations: 105 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.33e-05/0.4456, allocations: 37.69 kB / 0.7519 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.4456, allocations: 4 kB / 0.7519 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.4456, allocations: 3.75 kB / 0.7519 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.4456, allocations: 3.953 kB / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4457, allocations: 4 kB / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.4457, allocations: 0 / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.4459, allocations: 134.2 kB / 0.7521 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4459, allocations: 3.984 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.446, allocations: 12.03 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.446, allocations: 0 / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.446, allocations: 0 / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.446, allocations: 0 / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.446, allocations: 0 / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.4462, allocations: 139.4 kB / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.4462, allocations: 81.02 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.4463, allocations: 11.97 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.4464, allocations: 7.984 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.4464, allocations: 3.984 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.4465, allocations: 4 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.4465, allocations: 83.53 kB / 0.7524 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4465, allocations: 4 kB / 0.7524 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002975/0.4468, allocations: 3.953 kB / 0.7524 GB, free: 10.25 MB / 0.6355 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 () * 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.0004123/0.4473, allocations: 0.6656 MB / 0.753 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.758e-05/0.4474, allocations: 15.94 kB / 0.7531 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4474, allocations: 0 / 0.7531 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.5e-05/0.4474, allocations: 0 / 0.7531 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.4477, allocations: 12.08 kB / 0.7531 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.4481, allocations: 94.69 kB / 0.7532 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.4484, allocations: 0.6807 MB / 0.7538 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.136e-05/0.4484, allocations: 3.984 kB / 0.7538 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.4485, allocations: 15.44 kB / 0.7538 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of SimCode: time 1.162e-06/0.4485, allocations: 0 / 0.7538 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.48, allocations: 0.7046 MB / 0.7545 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/0.4804, allocations: 154.8 kB / 0.7547 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/2.882, allocations: 0 / 0.7547 GB, free: 7.781 MB / 0.6355 GB