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: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009294/0.009298, allocations: 110.3 kB / 15.06 MB, free: 5.562 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.001139/0.001139, allocations: 182.2 kB / 15.95 MB, free: 5.523 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 1.975/1.975, 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.207/2.207, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004727, allocations: 15.98 kB / 0.5869 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.5405, allocations: 98.71 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2353/0.7759, allocations: 164.5 MB / 0.844 GB, free: 9.531 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01733/0.7933, allocations: 8.274 MB / 0.852 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.7953, allocations: 39.62 kB / 0.8521 GB, free: 1.207 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003067/0.7985, allocations: 0.7897 MB / 0.8528 GB, free: 424 kB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00664/0.8051, allocations: 1.655 MB / 0.8545 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009721/0.8149, allocations: 2.672 MB / 0.8571 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003843/0.8188, allocations: 1.601 MB / 0.8586 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.8211, allocations: 1.05 MB / 0.8597 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/0.8239, allocations: 1.02 MB / 0.8607 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.8257, allocations: 0.7822 MB / 0.8614 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003848/0.8261, allocations: 75.94 kB / 0.8615 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.829, allocations: 0.8112 MB / 0.8623 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007427/0.8297, allocations: 386.7 kB / 0.8627 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000522/0.8303, allocations: 265 kB / 0.8629 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003445/0.8337, allocations: 1.753 MB / 0.8646 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.417e-06/0.8338, allocations: 0 / 0.8646 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.389e-06/0.8338, allocations: 0 / 0.8646 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.881e-05/0.8338, allocations: 0 / 0.8646 GB, free: 4.328 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.005512/0.8394, allocations: 1.71 MB / 0.8663 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.8394, allocations: 8.031 kB / 0.8663 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.8412, allocations: 254 kB / 0.8665 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/0.8437, allocations: 1.002 MB / 0.8675 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003039/0.8441, allocations: 73.62 kB / 0.8676 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.8443, allocations: 79.86 kB / 0.8677 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.8467, allocations: 0.9127 MB / 0.8686 GB, free: 168 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.8468, allocations: 0 / 0.8686 GB, free: 168 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.8469, allocations: 28 kB / 0.8686 GB, free: 140 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.8469, allocations: 16 kB / 0.8686 GB, free: 124 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/0.8496, allocations: 0.8484 MB / 0.8694 GB, free: 15.27 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.008333/0.858, allocations: 3.278 MB / 0.8726 GB, free: 11.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.8604, allocations: 0.8297 MB / 0.8734 GB, free: 10.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.904e-05/0.8606, allocations: 24.39 kB / 0.8735 GB, free: 10.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.8606, allocations: 43 kB / 0.8735 GB, free: 10.9 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001536/0.8622, allocations: 239.3 kB / 0.8737 GB, free: 10.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 5.518e-06/0.8622, allocations: 0 / 0.8737 GB, free: 10.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.004536/0.8667, allocations: 1.33 MB / 0.875 GB, free: 9.324 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.8669, allocations: 222 kB / 0.8752 GB, free: 9.059 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002895/0.8698, allocations: 1.314 MB / 0.8765 GB, free: 7.727 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002137/0.8701, allocations: 49.64 kB / 0.8766 GB, free: 7.672 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006388/0.8707, allocations: 0.5187 MB / 0.8771 GB, free: 7.152 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.871, allocations: 185.3 kB / 0.8773 GB, free: 6.969 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.8711, allocations: 11.94 kB / 0.8773 GB, free: 6.957 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.8713, allocations: 330 kB / 0.8776 GB, free: 6.629 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.8725, allocations: 417 kB / 0.878 GB, free: 6.223 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.8741, allocations: 0.6354 MB / 0.8786 GB, free: 5.508 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.8756, allocations: 470.8 kB / 0.879 GB, free: 5.047 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.455e-06/0.8757, allocations: 4 kB / 0.8791 GB, free: 5.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003514/0.8792, allocations: 1.1 MB / 0.8801 GB, free: 3.938 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.02e-05/0.8793, allocations: 98.92 kB / 0.8802 GB, free: 3.836 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.882e-05/0.8794, allocations: 4 kB / 0.8802 GB, free: 3.832 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.8794, allocations: 4 kB / 0.8802 GB, free: 3.828 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.8807, allocations: 183.7 kB / 0.8804 GB, free: 3.648 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.8807, allocations: 0 / 0.8804 GB, free: 3.648 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.8825, allocations: 99.7 kB / 0.8805 GB, free: 3.551 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/0.8827, allocations: 39.95 kB / 0.8805 GB, free: 3.512 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.8827, allocations: 4 kB / 0.8805 GB, free: 3.508 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00293/0.8857, allocations: 0.9557 MB / 0.8815 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.8857, allocations: 4 kB / 0.8815 GB, free: 2.547 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.8858, allocations: 3.953 kB / 0.8815 GB, free: 2.543 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.887, allocations: 175.7 kB / 0.8816 GB, free: 2.371 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.887, allocations: 4 kB / 0.8817 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.8888, allocations: 99.75 kB / 0.8817 GB, free: 2.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.889, allocations: 39.94 kB / 0.8818 GB, free: 2.23 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.0008062/0.8898, allocations: 377 kB / 0.8821 GB, free: 1.852 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/0.8902, allocations: 122.5 kB / 0.8823 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003168/0.8934, allocations: 1.05 MB / 0.8833 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.8934, allocations: 11.98 kB / 0.8833 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.8935, allocations: 0 / 0.8833 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.8935, allocations: 0 / 0.8833 GB, free: 0.6562 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.006027/0.8995, allocations: 2.353 MB / 0.8856 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.8996, allocations: 4 kB / 0.8856 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.9006, allocations: 140.1 kB / 0.8857 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.601e-05/0.9006, allocations: 4 kB / 0.8857 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.003e-05/0.9007, allocations: 20 kB / 0.8858 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.36e-05/0.9008, allocations: 11.92 kB / 0.8858 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.218e-06/0.9008, allocations: 3.953 kB / 0.8858 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004606/0.9054, allocations: 1.684 MB / 0.8874 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009669/0.9064, allocations: 307.4 kB / 0.8877 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002678/0.9067, allocations: 19.98 kB / 0.8877 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.9081, allocations: 79.77 kB / 0.8878 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.9083, allocations: 48.38 kB / 0.8879 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.132e-05/0.9084, allocations: 27.94 kB / 0.8879 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002053/0.9105, allocations: 0.9192 MB / 0.8888 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.64e-07/0.9105, allocations: 0 / 0.8888 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002171/0.9127, allocations: 0.5227 MB / 0.8893 GB, free: 10.29 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.0007759/0.9135, allocations: 268.3 kB / 0.8895 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004269/0.9178, allocations: 1.524 MB / 0.891 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.9178, allocations: 0 / 0.891 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.9191, allocations: 442.6 kB / 0.8915 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003659/0.9228, allocations: 0.5587 MB / 0.892 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005259/0.9281, allocations: 2.439 MB / 0.8944 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.9292, allocations: 1.168 MB / 0.8955 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002208/0.9314, allocations: 349 kB / 0.8959 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006567/0.9321, allocations: 119.4 kB / 0.896 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of SimCode: time 2.043e-06/0.9321, allocations: 4 kB / 0.896 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of Templates: time 0.5022/1.434, allocations: 24.45 MB / 0.9199 GB, free: 213.7 MB / 0.7292 GB