Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.464/2.464, allocations: 270 MB / 283.6 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.715e-05/3.728e-05, allocations: 4 kB / 348.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3321, allocations: 61.88 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.159/1.491, allocations: 477.1 MB / 0.8666 GB, free: 53.79 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/1.491, allocations: 83.33 kB / 0.8667 GB, free: 53.75 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:306:3-308: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 .... [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:306:3-308: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 0.9106/2.402, allocations: 190.1 MB / 1.052 GB, free: 82.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.226e-06/2.402, allocations: 0 / 1.052 GB, free: 82.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.212e-05/2.402, allocations: 19.94 kB / 1.052 GB, free: 82.84 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003616/2.405, allocations: 0.9872 MB / 1.053 GB, free: 81.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/2.405, allocations: 8.031 kB / 1.053 GB, free: 81.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003994/2.409, allocations: 174.9 kB / 1.053 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/2.412, allocations: 0.5483 MB / 1.054 GB, free: 81.03 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.948e-05/2.412, allocations: 33 kB / 1.054 GB, free: 81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/2.413, allocations: 40 kB / 1.054 GB, free: 80.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/2.415, allocations: 0.6017 MB / 1.055 GB, free: 80.31 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/2.415, allocations: 3.938 kB / 1.055 GB, free: 80.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.952e-05/2.415, allocations: 27.94 kB / 1.055 GB, free: 80.28 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/2.415, allocations: 8 kB / 1.055 GB, free: 80.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009101/2.416, allocations: 477.6 kB / 1.055 GB, free: 79.81 MB / 0.5261 GB 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.003814/2.42, allocations: 2.666 MB / 1.058 GB, free: 76.96 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006343/2.421, allocations: 279 kB / 1.058 GB, free: 76.68 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/2.421, allocations: 173.1 kB / 1.058 GB, free: 76.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003231/2.421, allocations: 356.3 kB / 1.059 GB, free: 76.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005375/2.422, allocations: 350.5 kB / 1.059 GB, free: 75.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 4.347e-06/2.422, allocations: 0 / 1.059 GB, free: 75.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.001149/2.423, allocations: 0.4943 MB / 1.059 GB, free: 75.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/2.423, allocations: 290.7 kB / 1.06 GB, free: 74.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007733/2.424, allocations: 0.5541 MB / 1.06 GB, free: 74.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.577e-05/2.424, allocations: 33.7 kB / 1.06 GB, free: 74.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/2.424, allocations: 331.4 kB / 1.061 GB, free: 73.92 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/2.424, allocations: 122.3 kB / 1.061 GB, free: 73.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/2.424, allocations: 4 kB / 1.061 GB, free: 73.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001076/2.425, allocations: 374.8 kB / 1.061 GB, free: 73.42 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/2.425, allocations: 161.1 kB / 1.061 GB, free: 73.26 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/2.426, allocations: 383.3 kB / 1.062 GB, free: 72.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007323/2.426, allocations: 237.6 kB / 1.062 GB, free: 72.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.277e-06/2.426, allocations: 0 / 1.062 GB, free: 72.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002453/2.429, allocations: 0.6474 MB / 1.062 GB, free: 71.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005158/2.429, allocations: 2.045 MB / 1.064 GB, free: 69.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/2.429, allocations: 4 kB / 1.064 GB, free: 69.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.35e-05/2.429, allocations: 8 kB / 1.064 GB, free: 69.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/2.44, allocations: 0.6009 MB / 1.065 GB, free: 69.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005168/2.44, allocations: 0.6601 MB / 1.066 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008386/2.441, allocations: 71.52 kB / 1.066 GB, free: 68.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/2.441, allocations: 55.98 kB / 1.066 GB, free: 68.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/2.441, allocations: 2.812 kB / 1.066 GB, free: 68.26 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001174/2.443, allocations: 0.5294 MB / 1.066 GB, free: 67.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/2.443, allocations: 8 kB / 1.066 GB, free: 67.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/2.443, allocations: 11.95 kB / 1.066 GB, free: 67.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/2.443, allocations: 127.8 kB / 1.066 GB, free: 67.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/2.443, allocations: 15.92 kB / 1.066 GB, free: 67.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007209/2.444, allocations: 71.95 kB / 1.066 GB, free: 67.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/2.444, allocations: 51.98 kB / 1.067 GB, free: 67.45 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * 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.0002514/2.444, allocations: 175 kB / 1.067 GB, free: 67.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/2.444, allocations: 63.25 kB / 1.067 GB, free: 67.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/2.447, allocations: 1.191 MB / 1.068 GB, free: 65.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.789e-06/2.447, allocations: 7.953 kB / 1.068 GB, free: 65.97 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.86e-06/2.447, allocations: 0 / 1.068 GB, free: 65.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.418e-06/2.447, allocations: 3.984 kB / 1.068 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/2.45, allocations: 2.286 MB / 1.07 GB, free: 63.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.241e-06/2.45, allocations: 0 / 1.07 GB, free: 63.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002082/2.452, allocations: 212.1 kB / 1.07 GB, free: 63.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/2.452, allocations: 4 kB / 1.07 GB, free: 63.15 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.006e-05/2.452, allocations: 27.98 kB / 1.07 GB, free: 63.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003982/2.453, allocations: 0.6522 MB / 1.071 GB, free: 62.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.282e-06/2.453, allocations: 4 kB / 1.071 GB, free: 62.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/2.454, allocations: 0.8425 MB / 1.072 GB, free: 61.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/2.454, allocations: 144.3 kB / 1.072 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/2.455, allocations: 12 kB / 1.072 GB, free: 61.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00057/2.455, allocations: 31.97 kB / 1.072 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/2.455, allocations: 43.86 kB / 1.072 GB, free: 61.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.719e-05/2.455, allocations: 39.98 kB / 1.072 GB, free: 61.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006457/2.456, allocations: 443.2 kB / 1.073 GB, free: 60.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.54e-07/2.456, allocations: 8 kB / 1.073 GB, free: 60.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002222/2.458, allocations: 0.5735 MB / 1.073 GB, free: 60.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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.002227/2.461, allocations: 1.112 MB / 1.074 GB, free: 59.08 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01208/2.473, allocations: 1.628 MB / 1.076 GB, free: 57.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.573e-06/2.473, allocations: 4.188 kB / 1.076 GB, free: 57.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003181/2.476, allocations: 467.6 kB / 1.076 GB, free: 56.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/2.478, allocations: 306.6 kB / 1.077 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/2.479, allocations: 0.7453 MB / 1.077 GB, free: 55.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/2.48, allocations: 0.9082 MB / 1.078 GB, free: 54.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00288/2.483, allocations: 1.024 MB / 1.079 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000437/2.483, allocations: 107.4 kB / 1.079 GB, free: 53.78 MB / 0.5261 GB Notification: Performance of SimCode: time 1.724e-06/2.483, allocations: 0 / 1.079 GB, free: 53.78 MB / 0.5261 GB Notification: Performance of Templates: time 0.05219/2.535, allocations: 28.82 MB / 1.107 GB, free: 25.1 MB / 0.5261 GB