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.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") Notification: Performance of loadModel(ModelicaTest): time 2.141/2.141, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.368e-05/3.396e-05, allocations: 4 kB / 304.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3255, allocations: 54.85 MB / 359.8 MB, free: 2.703 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.916/6.242, allocations: 2.596 GB / 2.947 GB, free: 5.516 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/6.242, allocations: 89.56 kB / 2.948 GB, free: 5.465 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.671/7.913, allocations: 399.1 MB / 3.337 GB, free: 2.688 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.282e-06/7.914, allocations: 0 / 3.337 GB, free: 2.688 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.811e-05/7.914, allocations: 16 kB / 3.337 GB, free: 2.672 MB / 490.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.005046/7.919, allocations: 1.533 MB / 3.339 GB, free: 1.098 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/7.919, allocations: 8.031 kB / 3.339 GB, free: 1.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002884/7.922, allocations: 302.5 kB / 3.339 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009859/7.923, allocations: 476.3 kB / 3.34 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/7.923, allocations: 33 kB / 3.34 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.57e-05/7.923, allocations: 36 kB / 3.34 GB, free: 236 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.288/8.211, allocations: 0.6774 MB / 3.34 GB, free: 52.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/8.211, allocations: 2.062 kB / 3.34 GB, free: 52.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.66e-05/8.211, allocations: 22.11 kB / 3.34 GB, free: 52.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/8.211, allocations: 10.66 kB / 3.34 GB, free: 52.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/8.213, allocations: 0.5523 MB / 3.341 GB, free: 52.23 MB / 490.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.004068/8.217, allocations: 2.86 MB / 3.344 GB, free: 50.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/8.219, allocations: 450.1 kB / 3.344 GB, free: 50.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/8.219, allocations: 145.8 kB / 3.344 GB, free: 50.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2556/8.475, allocations: 96.34 MB / 3.438 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/8.475, allocations: 41.16 kB / 3.438 GB, free: 31.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 3.909e-06/8.475, allocations: 0 / 3.438 GB, free: 31.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.00269/8.477, allocations: 0.6802 MB / 3.439 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/8.477, allocations: 118.2 kB / 3.439 GB, free: 31.42 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004274/8.478, allocations: 296.7 kB / 3.439 GB, free: 31.31 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/8.478, allocations: 30.77 kB / 3.439 GB, free: 31.28 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/8.478, allocations: 264.5 kB / 3.44 GB, free: 31.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.068e-05/8.478, allocations: 103.8 kB / 3.44 GB, free: 31.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/8.478, allocations: 7.656 kB / 3.44 GB, free: 31.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001865/8.478, allocations: 355.9 kB / 3.44 GB, free: 30.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/8.479, allocations: 102.8 kB / 3.44 GB, free: 30.78 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/8.479, allocations: 256.6 kB / 3.44 GB, free: 30.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/8.479, allocations: 134.8 kB / 3.441 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.709e-06/8.479, allocations: 3.938 kB / 3.441 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001012/8.48, allocations: 429.9 kB / 3.441 GB, free: 30.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008669/8.481, allocations: 1.752 MB / 3.443 GB, free: 28.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/8.481, allocations: 4.438 kB / 3.443 GB, free: 28.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001989/8.483, allocations: 207.3 kB / 3.443 GB, free: 28.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/8.484, allocations: 101.8 kB / 3.443 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000668/8.485, allocations: 0.5817 MB / 3.444 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005435/8.485, allocations: 62.25 kB / 3.444 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.244e-05/8.485, allocations: 26.66 kB / 3.444 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/8.485, allocations: 2.562 kB / 3.444 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007258/8.486, allocations: 335.7 kB / 3.444 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.653e-06/8.486, allocations: 3.594 kB / 3.444 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/8.486, allocations: 12.64 kB / 3.444 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/8.486, allocations: 113.2 kB / 3.444 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/8.487, allocations: 8.812 kB / 3.444 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/8.487, allocations: 58.17 kB / 3.444 GB, free: 28.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/8.487, allocations: 21.53 kB / 3.444 GB, free: 28.13 MB / 0.5105 GB 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.0001809/8.487, allocations: 131.4 kB / 3.444 GB, free: 28.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/8.487, allocations: 40.94 kB / 3.444 GB, free: 28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/8.49, allocations: 1.985 MB / 3.446 GB, free: 27.78 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.119e-05/8.49, allocations: 30.45 kB / 3.446 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/8.49, allocations: 0 / 3.446 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.797e-06/8.49, allocations: 3.891 kB / 3.446 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/8.491, allocations: 1.002 MB / 3.447 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.759e-06/8.491, allocations: 0 / 3.447 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/8.492, allocations: 69.75 kB / 3.447 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/8.494, allocations: 0.6988 MB / 3.448 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/8.494, allocations: 11.62 kB / 3.448 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009865/8.495, allocations: 0.9891 MB / 3.449 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.754e-06/8.495, allocations: 7.016 kB / 3.449 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/8.496, allocations: 1.238 MB / 3.45 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/8.497, allocations: 246.9 kB / 3.45 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.5e-05/8.497, allocations: 12.28 kB / 3.451 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/8.497, allocations: 35.17 kB / 3.451 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.81e-05/8.497, allocations: 28.42 kB / 3.451 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/8.497, allocations: 13.25 kB / 3.451 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004353/8.498, allocations: 305.3 kB / 3.451 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.72e-07/8.498, allocations: 0 / 3.451 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004749/8.503, allocations: 1.203 MB / 3.452 GB, free: 26.46 MB / 0.5105 GB 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.007933/8.511, allocations: 1.612 MB / 3.454 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001528/8.512, allocations: 0.701 MB / 3.454 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.42e-06/8.512, allocations: 7.266 kB / 3.454 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000634/8.513, allocations: 456.8 kB / 3.455 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/8.514, allocations: 197.6 kB / 3.455 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6584/9.173, allocations: 152.9 MB / 3.604 GB, free: 80.13 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/9.173, allocations: 1 MB / 3.605 GB, free: 79.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001285/9.175, allocations: 0.5453 MB / 3.606 GB, free: 79.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/9.175, allocations: 41.95 kB / 3.606 GB, free: 79.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.778e-06/9.175, allocations: 0 / 3.606 GB, free: 79.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.0655/9.24, allocations: 37.99 MB / 3.643 GB, free: 77.39 MB / 0.5105 GB