Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.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.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",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.01646/0.01647, allocations: 88.14 kB / 15.04 MB, free: 5.582 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.0019/0.001901, allocations: 174.7 kB / 15.92 MB, free: 5.555 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.023/2.023, 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.329/2.329, allocations: 252.8 MB / 0.511 GB, free: 8.324 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004921, allocations: 10.97 kB / 0.6243 GB, free: 28.46 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2235, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.038/1.262, allocations: 262.9 MB / 0.9848 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0466/1.308, allocations: 21.17 MB / 1.006 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003922/1.312, allocations: 71.5 kB / 1.006 GB, free: 6.773 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.006654/1.319, allocations: 1.303 MB / 1.007 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01702/1.336, allocations: 3.8 MB / 1.011 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01439/1.351, allocations: 3.237 MB / 1.014 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00984/1.361, allocations: 3.444 MB / 1.017 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00458/1.365, allocations: 1.622 MB / 1.019 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008348/1.374, allocations: 2.231 MB / 1.021 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003477/1.377, allocations: 1.167 MB / 1.022 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0008986/1.378, allocations: 92 kB / 1.022 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007388/1.385, allocations: 1.802 MB / 1.024 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001786/1.387, allocations: 0.6777 MB / 1.025 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001588/1.389, allocations: 0.5199 MB / 1.025 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0077/1.397, allocations: 3.117 MB / 1.028 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.397, allocations: 0 / 1.028 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.667e-06/1.397, allocations: 0 / 1.028 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001371/1.397, allocations: 0 / 1.028 GB, free: 15.69 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.00828/1.405, allocations: 2.496 MB / 1.03 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/1.405, allocations: 11.97 kB / 1.031 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001066/1.406, allocations: 202.6 kB / 1.031 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009832/1.416, allocations: 0.8594 MB / 1.032 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00656/1.423, allocations: 1.801 MB / 1.033 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008205/1.424, allocations: 186.6 kB / 1.033 GB, free: 9.988 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006412/1.424, allocations: 144 kB / 1.034 GB, free: 9.848 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006564/1.431, allocations: 1.694 MB / 1.035 GB, free: 8.098 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.562e-05/1.431, allocations: 4 kB / 1.035 GB, free: 8.094 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002734/1.431, allocations: 56 kB / 1.035 GB, free: 8.039 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.848e-05/1.431, allocations: 46.62 kB / 1.035 GB, free: 7.992 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00717/1.439, allocations: 1.486 MB / 1.037 GB, free: 6.5 MB / 0.7605 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.01878/1.458, allocations: 7.803 MB / 1.044 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004435/1.462, allocations: 1.115 MB / 1.046 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/1.462, allocations: 20.86 kB / 1.046 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/1.462, allocations: 43.22 kB / 1.046 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001616/1.464, allocations: 195.1 kB / 1.046 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=77): time 4.238e-06/1.464, allocations: 0 / 1.046 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=77): time 0.007716/1.472, allocations: 1.499 MB / 1.047 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/1.472, allocations: 60.06 kB / 1.047 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003891/1.476, allocations: 1.785 MB / 1.049 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002891/1.476, allocations: 49.69 kB / 1.049 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001176/1.477, allocations: 0.98 MB / 1.05 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000451/1.478, allocations: 272.1 kB / 1.05 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.815e-05/1.478, allocations: 23.94 kB / 1.05 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.478, allocations: 345.9 kB / 1.051 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002705/1.481, allocations: 462 kB / 1.051 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003405/1.484, allocations: 0.878 MB / 1.052 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/1.487, allocations: 0.5494 MB / 1.052 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/1.487, allocations: 8 kB / 1.053 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.006409/1.493, allocations: 1.464 MB / 1.054 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.00163/1.495, allocations: 3.966 MB / 1.058 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/1.495, allocations: 8 kB / 1.058 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.411e-05/1.495, allocations: 16 kB / 1.058 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002945/1.498, allocations: 307.5 kB / 1.058 GB, free: 15.49 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005379/1.499, allocations: 0.6094 MB / 1.059 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00322/1.502, allocations: 175 kB / 1.059 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/1.502, allocations: 59.97 kB / 1.059 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/1.502, allocations: 4 kB / 1.059 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004128/1.506, allocations: 1.152 MB / 1.06 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/1.506, allocations: 8 kB / 1.06 GB, free: 13.47 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/1.506, allocations: 19.95 kB / 1.06 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/1.508, allocations: 263.9 kB / 1.06 GB, free: 13.19 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.974e-05/1.508, allocations: 23.92 kB / 1.06 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/1.511, allocations: 156.9 kB / 1.061 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/1.511, allocations: 51.98 kB / 1.061 GB, free: 12.96 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (125): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001582/1.513, allocations: 0.5904 MB / 1.061 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005621/1.514, allocations: 193.6 kB / 1.061 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005512/1.519, allocations: 1.177 MB / 1.062 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/1.519, allocations: 8 kB / 1.062 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.519, allocations: 0 / 1.062 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004707/1.524, allocations: 1.008 MB / 1.063 GB, free: 9.938 MB / 0.7917 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.01091/1.535, allocations: 2.964 MB / 1.066 GB, free: 6.863 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/1.535, allocations: 12.03 kB / 1.066 GB, free: 6.852 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00236/1.537, allocations: 231.7 kB / 1.067 GB, free: 6.625 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/1.537, allocations: 7.984 kB / 1.067 GB, free: 6.617 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/1.538, allocations: 19.98 kB / 1.067 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005213/1.538, allocations: 0.6016 MB / 1.067 GB, free: 5.973 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.538, allocations: 0 / 1.067 GB, free: 5.973 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007943/1.546, allocations: 1.873 MB / 1.069 GB, free: 4.035 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/1.548, allocations: 362.5 kB / 1.069 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007764/1.549, allocations: 20 kB / 1.069 GB, free: 3.641 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003365/1.552, allocations: 178 kB / 1.07 GB, free: 3.469 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003196/1.553, allocations: 44.59 kB / 1.07 GB, free: 3.426 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002034/1.553, allocations: 31.97 kB / 1.07 GB, free: 3.395 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003822/1.557, allocations: 1.208 MB / 1.071 GB, free: 2.168 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5.61e-07/1.557, allocations: 3.938 kB / 1.071 GB, free: 2.164 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004754/1.561, allocations: 0.9664 MB / 1.072 GB, free: 1.195 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01027/1.572, allocations: 2.989 MB / 1.075 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.008268/1.58, allocations: 1.715 MB / 1.076 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.729e-06/1.58, allocations: 0 / 1.076 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00268/1.583, allocations: 0.5119 MB / 1.077 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008665/1.592, allocations: 1.026 MB / 1.078 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/1.611, allocations: 11.8 MB / 1.089 GB, free: 14.84 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002379/1.613, allocations: 1.613 MB / 1.091 GB, free: 13.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00405/1.617, allocations: 0.4888 MB / 1.091 GB, free: 12.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002436/1.62, allocations: 0.8585 MB / 1.092 GB, free: 11.84 MB / 0.823 GB Notification: Performance of SimCode: time 1.773e-06/1.62, allocations: 0 / 1.092 GB, free: 11.84 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.161/1.781, allocations: 54.42 MB / 1.145 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004369/1.781, allocations: 269 kB / 1.146 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.898/6.679, allocations: 0 / 1.146 GB, free: 5.773 MB / 0.8698 GB