Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",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.009732/0.009736, allocations: 85.25 kB / 15.04 MB, free: 6.062 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.001163/0.001163, allocations: 171.4 kB / 15.92 MB, free: 6 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.302/2.302, 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.579/2.579, allocations: 252.8 MB / 0.511 GB, free: 8.328 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006485/0.0006487, allocations: 12.72 kB / 0.6243 GB, free: 28.45 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2294, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 1.135/1.364, allocations: 165 MB / 0.8892 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02539/1.39, allocations: 8.477 MB / 0.8975 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003223/1.393, allocations: 39.81 kB / 0.8975 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005048/1.398, allocations: 0.7885 MB / 0.8983 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/1.409, allocations: 1.773 MB / 0.9 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01597/1.425, allocations: 2.804 MB / 0.9028 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006546/1.432, allocations: 1.699 MB / 0.9044 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003707/1.435, allocations: 1.164 MB / 0.9056 GB, free: 4.402 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004719/1.44, allocations: 1.104 MB / 0.9066 GB, free: 4.398 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003162/1.443, allocations: 0.8452 MB / 0.9075 GB, free: 4.398 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001129/1.445, allocations: 78.53 kB / 0.9075 GB, free: 4.398 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005044/1.45, allocations: 0.826 MB / 0.9083 GB, free: 4.398 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001604/1.451, allocations: 421.1 kB / 0.9087 GB, free: 4.398 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/1.453, allocations: 292 kB / 0.909 GB, free: 4.363 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005797/1.459, allocations: 1.932 MB / 0.9109 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/1.459, allocations: 1.875 kB / 0.9109 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.146e-06/1.459, allocations: 0 / 0.9109 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.008e-05/1.459, allocations: 0 / 0.9109 GB, free: 3.902 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.01168/1.47, allocations: 1.874 MB / 0.9127 GB, free: 18.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/1.47, allocations: 11.94 kB / 0.9127 GB, free: 18.73 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006053/1.471, allocations: 111.2 kB / 0.9129 GB, free: 18.67 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/1.474, allocations: 227.5 kB / 0.9131 GB, free: 18.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005817/1.479, allocations: 1.276 MB / 0.9143 GB, free: 18.03 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004489/1.48, allocations: 72.7 kB / 0.9144 GB, free: 18.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004694/1.48, allocations: 79.92 kB / 0.9145 GB, free: 18.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003932/1.484, allocations: 0.9242 MB / 0.9154 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/1.485, allocations: 7.938 kB / 0.9154 GB, free: 17.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/1.485, allocations: 22.78 kB / 0.9154 GB, free: 17.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/1.485, allocations: 16.59 kB / 0.9154 GB, free: 17.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004065/1.489, allocations: 0.8488 MB / 0.9162 GB, free: 17.57 MB / 0.6823 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.01387/1.503, allocations: 3.497 MB / 0.9197 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003374/1.506, allocations: 0.802 MB / 0.9204 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/1.506, allocations: 17.61 kB / 0.9205 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/1.506, allocations: 43 kB / 0.9205 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003006/1.51, allocations: 239 kB / 0.9207 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 1.129e-05/1.51, allocations: 0 / 0.9207 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.00731/1.517, allocations: 1.346 MB / 0.922 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/1.517, allocations: 211.8 kB / 0.9222 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006432/1.524, allocations: 1.667 MB / 0.9239 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004225/1.524, allocations: 43.17 kB / 0.9239 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/1.525, allocations: 0.5551 MB / 0.9244 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004332/1.526, allocations: 179.8 kB / 0.9246 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/1.526, allocations: 8.906 kB / 0.9246 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001793/1.526, allocations: 328 kB / 0.9249 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/1.528, allocations: 391.5 kB / 0.9253 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002583/1.53, allocations: 0.6941 MB / 0.926 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/1.533, allocations: 462.5 kB / 0.9264 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/1.533, allocations: 3.953 kB / 0.9264 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.005528/1.538, allocations: 1.054 MB / 0.9275 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/1.538, allocations: 101.8 kB / 0.9276 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.602e-05/1.538, allocations: 2.281 kB / 0.9276 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/1.538, allocations: 4.375 kB / 0.9276 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/1.541, allocations: 162.9 kB / 0.9277 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.379e-05/1.541, allocations: 2.375 kB / 0.9277 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004607/1.545, allocations: 169.3 kB / 0.9279 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004056/1.546, allocations: 28.19 kB / 0.9279 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.546, allocations: 5.156 kB / 0.9279 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004358/1.55, allocations: 0.8983 MB / 0.9288 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/1.55, allocations: 7.266 kB / 0.9288 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/1.55, allocations: 2.094 kB / 0.9288 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/1.552, allocations: 155.8 kB / 0.929 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/1.553, allocations: 2.5 kB / 0.929 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004522/1.557, allocations: 168.9 kB / 0.9291 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003401/1.557, allocations: 33.94 kB / 0.9292 GB, free: 12.52 MB / 0.6823 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.001524/1.559, allocations: 381.3 kB / 0.9295 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009429/1.56, allocations: 137.7 kB / 0.9296 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005333/1.565, allocations: 1.055 MB / 0.9307 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/1.565, allocations: 9.844 kB / 0.9307 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/1.565, allocations: 3.984 kB / 0.9307 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/1.565, allocations: 0 / 0.9307 GB, free: 11.96 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.01001/1.575, allocations: 2.494 MB / 0.9331 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/1.576, allocations: 2.906 kB / 0.9331 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/1.577, allocations: 132.8 kB / 0.9333 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.126e-05/1.578, allocations: 4.906 kB / 0.9333 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001672/1.578, allocations: 20.33 kB / 0.9333 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/1.578, allocations: 4.844 kB / 0.9333 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/1.578, allocations: 6.766 kB / 0.9333 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006766/1.585, allocations: 1.701 MB / 0.935 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0019/1.587, allocations: 347.3 kB / 0.9353 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009515/1.588, allocations: 23.08 kB / 0.9353 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003878/1.591, allocations: 97.27 kB / 0.9354 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000425/1.592, allocations: 51.16 kB / 0.9354 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/1.592, allocations: 27 kB / 0.9355 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004912/1.597, allocations: 1.188 MB / 0.9366 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.31e-07/1.597, allocations: 2.188 kB / 0.9366 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004863/1.602, allocations: 0.5423 MB / 0.9372 GB, free: 9.609 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * 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 (63): * Single equations (assignments): 63 * 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.008653/1.611, allocations: 3.012 MB / 0.9401 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006379/1.617, allocations: 1.444 MB / 0.9415 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/1.617, allocations: 0 / 0.9415 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001958/1.619, allocations: 439.2 kB / 0.9419 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007458/1.627, allocations: 0.5863 MB / 0.9425 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/1.638, allocations: 3.158 MB / 0.9456 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001448/1.639, allocations: 1.191 MB / 0.9468 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004127/1.644, allocations: 383.7 kB / 0.9471 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002264/1.646, allocations: 0.5325 MB / 0.9476 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of SimCode: time 1.784e-06/1.646, allocations: 3.938 kB / 0.9476 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1482/1.794, allocations: 38.37 MB / 0.9851 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003146/1.795, allocations: 245.8 kB / 0.9854 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.385/6.18, allocations: 0 / 0.9854 GB, free: 14.91 MB / 0.7292 GB