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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.094/4.094, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.477e-05/4.495e-05, allocations: 4.094 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2118, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2267/0.4386, allocations: 124.2 MB / 0.756 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.4389, allocations: 67.95 kB / 0.756 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002349/0.4413, allocations: 0.649 MB / 0.7567 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4413, allocations: 0 / 0.7567 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.4413, allocations: 0 / 0.7567 GB, free: 4.848 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.0004504/0.4418, allocations: 342.5 kB / 0.757 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.4419, allocations: 8.031 kB / 0.757 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.4419, allocations: 34.56 kB / 0.757 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.442, allocations: 0 / 0.757 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.4421, allocations: 178.9 kB / 0.7572 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.4422, allocations: 0 / 0.7572 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.4422, allocations: 4 kB / 0.7572 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.4423, allocations: 49.62 kB / 0.7573 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.4424, allocations: 0 / 0.7573 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.4424, allocations: 4 kB / 0.7573 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4424, allocations: 0 / 0.7573 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.774e-05/0.4425, allocations: 12 kB / 0.7573 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.443, allocations: 280.9 kB / 0.7575 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.519e-05/0.443, allocations: 22.52 kB / 0.7576 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.4431, allocations: 4.859 kB / 0.7576 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.4431, allocations: 0 / 0.7576 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.4432, allocations: 42.56 kB / 0.7576 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.382e-06/0.4432, allocations: 0 / 0.7576 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.4433, allocations: 41.64 kB / 0.7577 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.4434, allocations: 59.34 kB / 0.7577 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.189e-05/0.4435, allocations: 97 kB / 0.7578 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.4435, allocations: 25.7 kB / 0.7578 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.4436, allocations: 92.03 kB / 0.7579 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.4436, allocations: 4 kB / 0.7579 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.4436, allocations: 0 / 0.7579 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4437, allocations: 310.8 kB / 0.7582 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.4438, allocations: 8.031 kB / 0.7582 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.736e-05/0.4438, allocations: 7.938 kB / 0.7582 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.355e-05/0.4438, allocations: 4 kB / 0.7582 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4438, allocations: 0 / 0.7582 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.36e-05/0.4439, allocations: 41.69 kB / 0.7583 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.444, allocations: 4 kB / 0.7583 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.444, allocations: 0 / 0.7583 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.444, allocations: 0 / 0.7583 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.4441, allocations: 12.09 kB / 0.7583 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.4441, allocations: 7.891 kB / 0.7583 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.638e-05/0.4442, allocations: 15.89 kB / 0.7583 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.4443, allocations: 0 / 0.7583 GB, free: 2.949 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.02e-05/0.4443, allocations: 104.9 kB / 0.7584 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.4444, allocations: 4 kB / 0.7584 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.4444, allocations: 7.125 kB / 0.7584 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4444, allocations: 3.984 kB / 0.7584 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4444, allocations: 4 kB / 0.7584 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.4445, allocations: 3.953 kB / 0.7584 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.4446, allocations: 157.7 kB / 0.7586 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4447, allocations: 3.984 kB / 0.7586 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.199e-05/0.4448, allocations: 11.98 kB / 0.7586 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4448, allocations: 0 / 0.7586 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.4448, allocations: 0 / 0.7586 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4448, allocations: 0 / 0.7586 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4448, allocations: 0 / 0.7586 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.4449, allocations: 143.4 kB / 0.7587 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.445, allocations: 77.11 kB / 0.7588 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.445, allocations: 7.938 kB / 0.7588 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.4452, allocations: 7.984 kB / 0.7588 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.4452, allocations: 0 / 0.7588 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.4452, allocations: 4 kB / 0.7588 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.189e-05/0.4453, allocations: 87.56 kB / 0.7589 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4453, allocations: 0 / 0.7589 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002563/0.4456, allocations: 4 kB / 0.7589 GB, free: 2.242 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.0004422/0.446, allocations: 0.6714 MB / 0.7596 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.592e-05/0.4461, allocations: 15.97 kB / 0.7596 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4461, allocations: 0 / 0.7596 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.162e-05/0.4462, allocations: 8 kB / 0.7596 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.4464, allocations: 6.234 kB / 0.7596 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.4468, allocations: 94.56 kB / 0.7597 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.4471, allocations: 0.6809 MB / 0.7604 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.147e-05/0.4471, allocations: 3.984 kB / 0.7604 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.4472, allocations: 15.56 kB / 0.7604 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/0.4472, allocations: 0 / 0.7604 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.4661, allocations: 1.01 MB / 0.7614 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003506/0.4665, allocations: 169.2 kB / 0.7615 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/2.723, allocations: 0 / 0.7615 GB, free: 15.5 MB / 0.6511 GB