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_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.406/2.406, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.979e-05/4.016e-05, allocations: 0 / 323.4 MB, free: 4.305 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3256, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.112/1.438, allocations: 475.1 MB / 0.8372 GB, free: 86.31 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/1.438, allocations: 81.7 kB / 0.8373 GB, free: 86.27 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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.8721/2.31, allocations: 197.1 MB / 1.03 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.727e-06/2.31, allocations: 0 / 1.03 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.512e-05/2.31, allocations: 19.98 kB / 1.03 GB, free: 107.1 MB / 0.5105 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.002152/2.312, allocations: 1.027 MB / 1.031 GB, free: 106 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/2.312, allocations: 8.031 kB / 1.031 GB, free: 106 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/2.314, allocations: 171 kB / 1.031 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/2.315, allocations: 0.5523 MB / 1.032 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/2.315, allocations: 32.94 kB / 1.032 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.321e-05/2.315, allocations: 44 kB / 1.032 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/2.316, allocations: 0.5978 MB / 1.032 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.872e-05/2.316, allocations: 0 / 1.032 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.693e-05/2.317, allocations: 27.94 kB / 1.032 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/2.317, allocations: 12 kB / 1.032 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009067/2.317, allocations: 469.6 kB / 1.033 GB, free: 104 MB / 0.5105 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.003471/2.321, allocations: 2.665 MB / 1.035 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006069/2.322, allocations: 273.3 kB / 1.036 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/2.322, allocations: 181.1 kB / 1.036 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003212/2.322, allocations: 236.5 kB / 1.036 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005098/2.323, allocations: 343.3 kB / 1.036 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 3.872e-06/2.323, allocations: 4 kB / 1.036 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001071/2.324, allocations: 0.4907 MB / 1.037 GB, free: 99.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/2.324, allocations: 290.7 kB / 1.037 GB, free: 99.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007886/2.325, allocations: 0.554 MB / 1.038 GB, free: 98.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/2.325, allocations: 33.7 kB / 1.038 GB, free: 98.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/2.325, allocations: 335.4 kB / 1.038 GB, free: 98.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/2.325, allocations: 118.4 kB / 1.038 GB, free: 98.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/2.325, allocations: 4 kB / 1.038 GB, free: 98.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001041/2.325, allocations: 374.8 kB / 1.038 GB, free: 97.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/2.326, allocations: 165.1 kB / 1.039 GB, free: 97.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/2.326, allocations: 375.3 kB / 1.039 GB, free: 97.15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004422/2.327, allocations: 246.2 kB / 1.039 GB, free: 96.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.896e-06/2.327, allocations: 0 / 1.039 GB, free: 96.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00132/2.328, allocations: 0.6405 MB / 1.04 GB, free: 96.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003912/2.329, allocations: 2.044 MB / 1.042 GB, free: 94.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/2.329, allocations: 4 kB / 1.042 GB, free: 94.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/2.329, allocations: 8 kB / 1.042 GB, free: 94.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006896/2.335, allocations: 0.6009 MB / 1.042 GB, free: 93.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005044/2.336, allocations: 0.6562 MB / 1.043 GB, free: 92.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008248/2.337, allocations: 79.34 kB / 1.043 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/2.337, allocations: 55.92 kB / 1.043 GB, free: 92.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/2.337, allocations: 4 kB / 1.043 GB, free: 92.62 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00115/2.338, allocations: 0.5328 MB / 1.044 GB, free: 92.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.069e-06/2.338, allocations: 4.766 kB / 1.044 GB, free: 92.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/2.338, allocations: 8 kB / 1.044 GB, free: 92.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/2.339, allocations: 131.8 kB / 1.044 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/2.339, allocations: 19.91 kB / 1.044 GB, free: 91.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/2.339, allocations: 67.42 kB / 1.044 GB, free: 91.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.353e-05/2.34, allocations: 51.98 kB / 1.044 GB, free: 91.8 MB / 0.5105 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.0002032/2.34, allocations: 181.6 kB / 1.044 GB, free: 91.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/2.34, allocations: 63.25 kB / 1.044 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/2.342, allocations: 0.8193 MB / 1.045 GB, free: 90.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.933e-06/2.342, allocations: 4 kB / 1.045 GB, free: 90.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/2.342, allocations: 7.953 kB / 1.045 GB, free: 90.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.17e-06/2.342, allocations: 3.984 kB / 1.045 GB, free: 90.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/2.344, allocations: 1.618 MB / 1.047 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/2.345, allocations: 0 / 1.047 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002119/2.347, allocations: 219.9 kB / 1.047 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/2.347, allocations: 4 kB / 1.047 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/2.347, allocations: 16 kB / 1.047 GB, free: 88.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003526/2.347, allocations: 0.6446 MB / 1.047 GB, free: 88.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.683e-06/2.347, allocations: 0 / 1.047 GB, free: 88.01 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/2.348, allocations: 0.7598 MB / 1.048 GB, free: 87.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/2.348, allocations: 156.1 kB / 1.048 GB, free: 86.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/2.349, allocations: 12 kB / 1.048 GB, free: 86.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005615/2.349, allocations: 31.92 kB / 1.048 GB, free: 86.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-05/2.349, allocations: 35.95 kB / 1.048 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.601e-05/2.349, allocations: 35.98 kB / 1.048 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006377/2.35, allocations: 447.1 kB / 1.049 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.33e-07/2.35, allocations: 3.938 kB / 1.049 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002174/2.352, allocations: 0.6242 MB / 1.049 GB, free: 85.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.002268/2.355, allocations: 1.231 MB / 1.051 GB, free: 84.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01254/2.367, allocations: 1.619 MB / 1.052 GB, free: 82.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.4e-06/2.367, allocations: 1.562 kB / 1.052 GB, free: 82.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003265/2.37, allocations: 483.4 kB / 1.053 GB, free: 82.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/2.372, allocations: 313.4 kB / 1.053 GB, free: 82.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/2.374, allocations: 0.7304 MB / 1.054 GB, free: 81.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/2.374, allocations: 0.9005 MB / 1.055 GB, free: 80.46 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002049/2.376, allocations: 312.6 kB / 1.055 GB, free: 80.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/2.377, allocations: 91.39 kB / 1.055 GB, free: 80.06 MB / 0.5105 GB Notification: Performance of SimCode: time 1.803e-06/2.377, allocations: 0 / 1.055 GB, free: 80.06 MB / 0.5105 GB Notification: Performance of Templates: time 0.05456/2.431, allocations: 29.67 MB / 1.084 GB, free: 50.4 MB / 0.5105 GB