Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.m_flow|volumeFlowRate.V_flow|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") Notification: Performance of loadModel(ModelicaTest): time 1.82/1.82, allocations: 209.3 MB / 221.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.33e-05/3.346e-05, allocations: 8 kB / 273.1 MB, free: 3.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08704/0.08709, allocations: 48.69 MB / 321.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.224/6.311, allocations: 2.485 GB / 2.799 GB, free: 78.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/6.311, allocations: 81.7 kB / 2.8 GB, free: 78.11 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 1.562/7.873, allocations: 389.3 MB / 3.18 GB, free: 17.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.537e-06/7.873, allocations: 3.938 kB / 3.18 GB, free: 17.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.499e-05/7.873, allocations: 12 kB / 3.18 GB, free: 17.28 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.004738/7.878, allocations: 1.495 MB / 3.181 GB, free: 15.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/7.878, allocations: 8.031 kB / 3.181 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00283/7.881, allocations: 276.9 kB / 3.182 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/7.882, allocations: 468.8 kB / 3.182 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/7.882, allocations: 41.12 kB / 3.182 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/7.882, allocations: 36 kB / 3.182 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/7.884, allocations: 0.6805 MB / 3.183 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/7.884, allocations: 0.5156 kB / 3.183 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.36e-05/7.884, allocations: 20 kB / 3.183 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/7.884, allocations: 8.344 kB / 3.183 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/7.885, allocations: 0.5674 MB / 3.183 GB, free: 13.59 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.003399/7.889, allocations: 2.858 MB / 3.186 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/7.89, allocations: 450.5 kB / 3.187 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/7.891, allocations: 144.8 kB / 3.187 GB, free: 9.934 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5118/8.403, allocations: 96.24 MB / 3.281 GB, free: 16.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/8.403, allocations: 37.31 kB / 3.281 GB, free: 16.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 3.19e-06/8.403, allocations: 0 / 3.281 GB, free: 16.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=30): time 0.002616/8.405, allocations: 0.684 MB / 3.281 GB, free: 16.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/8.405, allocations: 107 kB / 3.281 GB, free: 16.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/8.406, allocations: 307.9 kB / 3.282 GB, free: 16.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/8.406, allocations: 29.64 kB / 3.282 GB, free: 16.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/8.406, allocations: 263.1 kB / 3.282 GB, free: 16.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.801e-05/8.406, allocations: 102.8 kB / 3.282 GB, free: 16.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/8.406, allocations: 11.59 kB / 3.282 GB, free: 16.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.528e-05/8.406, allocations: 356.3 kB / 3.282 GB, free: 16.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/8.406, allocations: 106.9 kB / 3.283 GB, free: 16.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/8.407, allocations: 251.5 kB / 3.283 GB, free: 15.94 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/8.407, allocations: 140.5 kB / 3.283 GB, free: 15.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.107e-06/8.407, allocations: 0 / 3.283 GB, free: 15.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009463/8.408, allocations: 438.5 kB / 3.283 GB, free: 15.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009192/8.409, allocations: 1.743 MB / 3.285 GB, free: 30.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/8.409, allocations: 4.469 kB / 3.285 GB, free: 30.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/8.411, allocations: 206.5 kB / 3.285 GB, free: 30.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/8.411, allocations: 93.52 kB / 3.285 GB, free: 30.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006132/8.412, allocations: 0.5837 MB / 3.286 GB, free: 29.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/8.413, allocations: 68.11 kB / 3.286 GB, free: 29.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/8.413, allocations: 22.89 kB / 3.286 GB, free: 29.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/8.413, allocations: 3.938 kB / 3.286 GB, free: 29.5 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007441/8.413, allocations: 343.1 kB / 3.286 GB, free: 29.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.934e-06/8.414, allocations: 7.266 kB / 3.286 GB, free: 29.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/8.414, allocations: 7.719 kB / 3.286 GB, free: 29.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/8.414, allocations: 122.6 kB / 3.286 GB, free: 29.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/8.414, allocations: 10.12 kB / 3.286 GB, free: 29.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/8.415, allocations: 49.12 kB / 3.287 GB, free: 29.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/8.415, allocations: 23.5 kB / 3.287 GB, free: 29.47 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001701/8.415, allocations: 136 kB / 3.287 GB, free: 29.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.94e-05/8.415, allocations: 43.22 kB / 3.287 GB, free: 29.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/8.417, allocations: 1.986 MB / 3.289 GB, free: 29.12 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-05/8.417, allocations: 27.28 kB / 3.289 GB, free: 29.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.968e-06/8.417, allocations: 0 / 3.289 GB, free: 29.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.726e-06/8.417, allocations: 0 / 3.289 GB, free: 29.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/8.419, allocations: 0.9868 MB / 3.29 GB, free: 28.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/8.419, allocations: 0 / 3.29 GB, free: 28.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/8.419, allocations: 67.67 kB / 3.29 GB, free: 28.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/8.421, allocations: 0.7082 MB / 3.29 GB, free: 28.85 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/8.421, allocations: 13.83 kB / 3.29 GB, free: 28.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000973/8.422, allocations: 0.9947 MB / 3.291 GB, free: 28.31 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.68e-06/8.422, allocations: 0 / 3.291 GB, free: 28.31 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/8.423, allocations: 1.242 MB / 3.293 GB, free: 28.05 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003289/8.424, allocations: 249.8 kB / 3.293 GB, free: 27.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.263e-05/8.424, allocations: 7.375 kB / 3.293 GB, free: 27.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/8.424, allocations: 36.23 kB / 3.293 GB, free: 27.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/8.425, allocations: 31.86 kB / 3.293 GB, free: 27.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/8.425, allocations: 16.92 kB / 3.293 GB, free: 27.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004455/8.425, allocations: 296.7 kB / 3.293 GB, free: 27.81 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.325e-06/8.425, allocations: 3.562 kB / 3.293 GB, free: 27.81 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004388/8.429, allocations: 1.204 MB / 3.294 GB, free: 27.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006477/8.436, allocations: 1.609 MB / 3.296 GB, free: 27.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00144/8.437, allocations: 0.692 MB / 3.297 GB, free: 27.55 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.242e-06/8.437, allocations: 3.219 kB / 3.297 GB, free: 27.55 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006079/8.438, allocations: 460.3 kB / 3.297 GB, free: 27.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/8.439, allocations: 210.8 kB / 3.297 GB, free: 27.53 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.635/9.075, allocations: 150.4 MB / 3.444 GB, free: 84.05 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/9.075, allocations: 1 MB / 3.445 GB, free: 83.35 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001282/9.076, allocations: 0.5326 MB / 3.446 GB, free: 83.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/9.076, allocations: 46.23 kB / 3.446 GB, free: 83.33 MB / 474.7 MB Notification: Performance of SimCode: time 2.314e-06/9.076, allocations: 0 / 3.446 GB, free: 83.33 MB / 474.7 MB Notification: Performance of Templates: time 0.06624/9.143, allocations: 37.83 MB / 3.483 GB, free: 81.39 MB / 474.7 MB