Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.01148/0.01148, allocations: 106.4 kB / 15.06 MB, free: 6.031 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.001228/0.001228, allocations: 180.5 kB / 15.95 MB, free: 5.957 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.037/2.037, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.347/2.347, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000526/0.0005261, allocations: 12 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7522/0.7528, allocations: 98.72 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.36/1.113, allocations: 198.7 MB / 0.8774 GB, free: 7.25 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03363/1.147, allocations: 14.77 MB / 0.8919 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002961/1.15, allocations: 67.5 kB / 0.8919 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004959/1.155, allocations: 1.073 MB / 0.893 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01643/1.171, allocations: 3.489 MB / 0.8964 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.008618/1.18, allocations: 1.809 MB / 0.8981 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00895/1.189, allocations: 3.173 MB / 0.9012 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003913/1.193, allocations: 1.331 MB / 0.9025 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006793/1.2, allocations: 1.869 MB / 0.9044 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003742/1.203, allocations: 1.14 MB / 0.9055 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0008707/1.204, allocations: 99.88 kB / 0.9056 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006252/1.211, allocations: 1.244 MB / 0.9068 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001884/1.212, allocations: 0.6427 MB / 0.9074 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/1.214, allocations: 448.6 kB / 0.9079 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006221/1.22, allocations: 2.353 MB / 0.9101 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/1.22, allocations: 0 / 0.9101 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.228e-06/1.22, allocations: 0 / 0.9101 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001173/1.221, allocations: 0 / 0.9101 GB, free: 5.656 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.007523/1.228, allocations: 2.117 MB / 0.9122 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/1.228, allocations: 12.03 kB / 0.9122 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009795/1.229, allocations: 215.3 kB / 0.9124 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005189/1.234, allocations: 0.5048 MB / 0.9129 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004693/1.239, allocations: 1.251 MB / 0.9141 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003368/1.239, allocations: 182.3 kB / 0.9143 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005687/1.24, allocations: 152 kB / 0.9145 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6571/1.897, allocations: 1.72 MB / 0.9161 GB, free: 216 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.332e-05/1.897, allocations: 6.422 kB / 0.9162 GB, free: 216 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/1.898, allocations: 61.06 kB / 0.9162 GB, free: 216 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001616/1.898, allocations: 61.14 kB / 0.9163 GB, free: 216 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006331/1.904, allocations: 1.421 MB / 0.9177 GB, free: 215.7 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01854/1.923, allocations: 7.645 MB / 0.9251 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003294/1.926, allocations: 0.9807 MB / 0.9261 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007817/1.927, allocations: 159.5 kB / 0.9262 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.353e-05/1.927, allocations: 45.88 kB / 0.9263 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=105): time 4.718e-06/1.927, allocations: 0.625 kB / 0.9263 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=111): time 0.01436/1.942, allocations: 3.28 MB / 0.9295 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/1.942, allocations: 63.67 kB / 0.9295 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0028/1.944, allocations: 1.241 MB / 0.9308 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003828/1.945, allocations: 55.11 kB / 0.9308 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008393/1.946, allocations: 0.801 MB / 0.9316 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005636/1.946, allocations: 397.6 kB / 0.932 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.296e-05/1.946, allocations: 25.59 kB / 0.932 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.947, allocations: 353.6 kB / 0.9323 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/1.948, allocations: 455.3 kB / 0.9328 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/1.95, allocations: 0.8068 MB / 0.9336 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/1.952, allocations: 0.5717 MB / 0.9341 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/1.952, allocations: 3.219 kB / 0.9341 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004607/1.956, allocations: 1.425 MB / 0.9355 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007589/1.957, allocations: 3.134 MB / 0.9386 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/1.957, allocations: 8.547 kB / 0.9386 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.179e-05/1.957, allocations: 15.08 kB / 0.9386 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/1.96, allocations: 290.2 kB / 0.9389 GB, free: 201.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.499e-05/1.96, allocations: 24.98 kB / 0.9389 GB, free: 201.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003313/1.963, allocations: 166.4 kB / 0.939 GB, free: 201.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/1.964, allocations: 54.58 kB / 0.9391 GB, free: 201.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.964, allocations: 9.688 kB / 0.9391 GB, free: 201.5 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0044/1.968, allocations: 1.245 MB / 0.9403 GB, free: 201 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/1.968, allocations: 7.469 kB / 0.9403 GB, free: 201 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.431e-05/1.968, allocations: 19.22 kB / 0.9403 GB, free: 201 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002529/1.971, allocations: 290 kB / 0.9406 GB, free: 201 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.473e-05/1.971, allocations: 17.62 kB / 0.9406 GB, free: 201 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/1.974, allocations: 167.5 kB / 0.9408 GB, free: 201 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003159/1.975, allocations: 54.31 kB / 0.9409 GB, free: 200.9 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.0016/1.976, allocations: 0.5219 MB / 0.9414 GB, free: 200.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006666/1.977, allocations: 168.4 kB / 0.9415 GB, free: 200.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004196/1.981, allocations: 1.232 MB / 0.9427 GB, free: 200 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.446e-05/1.981, allocations: 12.59 kB / 0.9427 GB, free: 200 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.981, allocations: 1.125 kB / 0.9427 GB, free: 200 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003364/1.985, allocations: 1.144 MB / 0.9439 GB, free: 199.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009638/1.994, allocations: 2.889 MB / 0.9467 GB, free: 197.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/1.994, allocations: 2.25 kB / 0.9467 GB, free: 197.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002746/1.997, allocations: 273.6 kB / 0.9469 GB, free: 197.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.48e-05/1.997, allocations: 8.906 kB / 0.9469 GB, free: 197.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002187/1.997, allocations: 30.27 kB / 0.947 GB, free: 197.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.358e-05/1.997, allocations: 6.344 kB / 0.947 GB, free: 197.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.997, allocations: 2.594 kB / 0.947 GB, free: 197.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006054/2.003, allocations: 2.018 MB / 0.949 GB, free: 196.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/2.005, allocations: 352.2 kB / 0.9493 GB, free: 196 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006092/2.006, allocations: 24.31 kB / 0.9493 GB, free: 196 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003212/2.009, allocations: 158.1 kB / 0.9495 GB, free: 196 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003678/2.01, allocations: 74.02 kB / 0.9495 GB, free: 195.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/2.01, allocations: 48.22 kB / 0.9496 GB, free: 195.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00209/2.012, allocations: 0.8276 MB / 0.9504 GB, free: 195.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.012e-06/2.012, allocations: 0 / 0.9504 GB, free: 195.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004774/2.017, allocations: 0.7909 MB / 0.9512 GB, free: 195.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 111 * 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.007537/2.024, allocations: 3.198 MB / 0.9543 GB, free: 193.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006456/2.031, allocations: 1.799 MB / 0.956 GB, free: 192.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.805e-05/2.031, allocations: 5 kB / 0.9561 GB, free: 192.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/2.033, allocations: 0.5491 MB / 0.9566 GB, free: 192.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008805/2.042, allocations: 0.9543 MB / 0.9575 GB, free: 191.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02922/2.071, allocations: 15.75 MB / 0.9729 GB, free: 178.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/2.072, allocations: 1.496 MB / 0.9744 GB, free: 176.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003813/2.076, allocations: 0.5564 MB / 0.9749 GB, free: 176.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/2.078, allocations: 0.7023 MB / 0.9756 GB, free: 175.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.413e-06/2.078, allocations: 0 / 0.9756 GB, free: 175.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1551/2.233, allocations: 45.46 MB / 1.02 GB, free: 130.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000278/2.233, allocations: 228.3 kB / 1.02 GB, free: 130.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.521/6.754, allocations: 3.938 kB / 1.02 GB, free: 130.6 MB / 0.7292 GB