Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01134/0.01135, allocations: 107.5 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.001267/0.001266, allocations: 179.2 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.091/2.091, allocations: 194.5 MB / 211.2 MB, free: 11.07 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.628/2.628, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006986/0.0006989, allocations: 8 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8566/0.8573, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.3092/1.167, allocations: 164.5 MB / 0.8441 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02073/1.187, allocations: 8.28 MB / 0.8521 GB, free: 1.23 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/1.189, allocations: 35.62 kB / 0.8522 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003672/1.193, allocations: 0.7858 MB / 0.8529 GB, free: 416 kB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007294/1.201, allocations: 1.655 MB / 0.8546 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01127/1.212, allocations: 2.67 MB / 0.8572 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004399/1.216, allocations: 1.593 MB / 0.8587 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002497/1.219, allocations: 1.05 MB / 0.8597 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003548/1.222, allocations: 1.028 MB / 0.8608 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/1.225, allocations: 0.786 MB / 0.8615 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005193/1.225, allocations: 72 kB / 0.8616 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003348/1.229, allocations: 0.8151 MB / 0.8624 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008435/1.23, allocations: 382.8 kB / 0.8627 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000562/1.23, allocations: 265 kB / 0.863 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003561/1.234, allocations: 1.749 MB / 0.8647 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/1.234, allocations: 0 / 0.8647 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.964e-06/1.234, allocations: 0 / 0.8647 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.542e-05/1.234, allocations: 0 / 0.8647 GB, free: 4.332 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.007225/1.241, allocations: 1.71 MB / 0.8664 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/1.241, allocations: 12.02 kB / 0.8664 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003426/1.242, allocations: 110.5 kB / 0.8665 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/1.243, allocations: 258 kB / 0.8667 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002905/1.246, allocations: 0.998 MB / 0.8677 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004137/1.247, allocations: 61.62 kB / 0.8678 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002562/1.247, allocations: 79.95 kB / 0.8679 GB, free: 1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002909/1.25, allocations: 0.9127 MB / 0.8687 GB, free: 60 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/1.25, allocations: 0 / 0.8687 GB, free: 60 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/1.25, allocations: 28 kB / 0.8688 GB, free: 32 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/1.25, allocations: 16 kB / 0.8688 GB, free: 16 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003183/1.253, allocations: 0.8561 MB / 0.8696 GB, free: 15.16 MB / 0.698 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.01187/1.265, allocations: 3.278 MB / 0.8728 GB, free: 11.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00554/1.271, allocations: 0.8334 MB / 0.8736 GB, free: 10.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/1.271, allocations: 16.42 kB / 0.8737 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.556e-05/1.271, allocations: 42.98 kB / 0.8737 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003449/1.275, allocations: 240.2 kB / 0.8739 GB, free: 10.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 1.079e-05/1.275, allocations: 0 / 0.8739 GB, free: 10.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.006672/1.281, allocations: 1.341 MB / 0.8752 GB, free: 9.207 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/1.282, allocations: 218 kB / 0.8754 GB, free: 8.945 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003616/1.285, allocations: 1.318 MB / 0.8767 GB, free: 7.609 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003163/1.286, allocations: 41.7 kB / 0.8768 GB, free: 7.562 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007358/1.286, allocations: 0.5265 MB / 0.8773 GB, free: 7.035 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003279/1.287, allocations: 177.3 kB / 0.8774 GB, free: 6.859 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.064e-05/1.287, allocations: 12 kB / 0.8775 GB, free: 6.848 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.287, allocations: 334 kB / 0.8778 GB, free: 6.516 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/1.289, allocations: 413 kB / 0.8782 GB, free: 6.113 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/1.291, allocations: 0.6346 MB / 0.8788 GB, free: 5.398 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/1.293, allocations: 478.9 kB / 0.8792 GB, free: 4.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/1.293, allocations: 3.953 kB / 0.8793 GB, free: 4.926 MB / 0.698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004602/1.298, allocations: 1.097 MB / 0.8803 GB, free: 3.824 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.597e-05/1.298, allocations: 101 kB / 0.8804 GB, free: 3.719 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/1.298, allocations: 3.984 kB / 0.8804 GB, free: 3.715 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/1.298, allocations: 4 kB / 0.8804 GB, free: 3.711 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/1.3, allocations: 171.7 kB / 0.8806 GB, free: 3.543 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/1.3, allocations: 4 kB / 0.8806 GB, free: 3.539 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/1.302, allocations: 103.8 kB / 0.8807 GB, free: 3.438 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003403/1.303, allocations: 35.97 kB / 0.8807 GB, free: 3.402 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.303, allocations: 4 kB / 0.8807 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003782/1.307, allocations: 0.9517 MB / 0.8817 GB, free: 2.445 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/1.307, allocations: 7.953 kB / 0.8817 GB, free: 2.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/1.307, allocations: 8 kB / 0.8817 GB, free: 2.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/1.309, allocations: 167.8 kB / 0.8818 GB, free: 2.266 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/1.309, allocations: 4 kB / 0.8818 GB, free: 2.262 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/1.311, allocations: 99.73 kB / 0.8819 GB, free: 2.164 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/1.311, allocations: 43.95 kB / 0.882 GB, free: 2.121 MB / 0.698 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 (69): * Single equations (assignments): 65 * 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.000885/1.312, allocations: 381 kB / 0.8823 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000549/1.313, allocations: 122.5 kB / 0.8825 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004221/1.317, allocations: 1.062 MB / 0.8835 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.317, allocations: 8 kB / 0.8835 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.317, allocations: 0 / 0.8835 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/1.317, allocations: 3.984 kB / 0.8835 GB, free: 0.5312 MB / 0.698 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.007587/1.325, allocations: 2.341 MB / 0.8858 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.325, allocations: 8.203 kB / 0.8858 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/1.326, allocations: 139.9 kB / 0.8859 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/1.326, allocations: 4 kB / 0.8859 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-05/1.326, allocations: 23.92 kB / 0.886 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/1.326, allocations: 7.953 kB / 0.886 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.326, allocations: 4 kB / 0.886 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006708/1.333, allocations: 1.684 MB / 0.8876 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/1.334, allocations: 307.4 kB / 0.8879 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003108/1.335, allocations: 20 kB / 0.8879 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002291/1.337, allocations: 79.77 kB / 0.888 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/1.337, allocations: 52.36 kB / 0.8881 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-05/1.337, allocations: 27.97 kB / 0.8881 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002313/1.34, allocations: 0.9153 MB / 0.889 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/1.34, allocations: 4 kB / 0.889 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002655/1.342, allocations: 0.5188 MB / 0.8895 GB, free: 10.17 MB / 0.7136 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.006564/1.349, allocations: 2.99 MB / 0.8924 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005203/1.354, allocations: 1.524 MB / 0.8939 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.354, allocations: 0 / 0.8939 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00157/1.356, allocations: 442.7 kB / 0.8943 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005195/1.361, allocations: 0.5636 MB / 0.8949 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007805/1.369, allocations: 3.053 MB / 0.8978 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/1.37, allocations: 1.172 MB / 0.899 GB, free: 220 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002634/1.372, allocations: 352.9 kB / 0.8993 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/1.374, allocations: 0.5031 MB / 0.8998 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of SimCode: time 3.136e-06/1.374, allocations: 0 / 0.8998 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6468/2.021, allocations: 35.26 MB / 0.9343 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002697/2.021, allocations: 235.3 kB / 0.9345 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.252/6.273, allocations: 7.938 kB / 0.9345 GB, free: 206.5 MB / 0.7292 GB