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.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadModel(ModelicaTest): time 1.85/1.85, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.025e-05/5.081e-05, allocations: 4 kB / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 48.69 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.221/1.328, allocations: 463.1 MB / 0.7665 GB, free: 66.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/1.328, allocations: 79.58 kB / 0.7665 GB, free: 66.27 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 .... [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/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 0.9242/2.252, allocations: 196.1 MB / 0.9581 GB, free: 41.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.23e-06/2.252, allocations: 0 / 0.9581 GB, free: 41.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.853e-05/2.252, allocations: 15.98 kB / 0.9581 GB, free: 41.22 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.00234/2.254, allocations: 1.024 MB / 0.9591 GB, free: 40.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/2.255, allocations: 8.031 kB / 0.9591 GB, free: 40.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/2.256, allocations: 171 kB / 0.9592 GB, free: 39.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/2.258, allocations: 0.5678 MB / 0.9598 GB, free: 39.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/2.258, allocations: 33 kB / 0.9598 GB, free: 39.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-05/2.258, allocations: 36 kB / 0.9599 GB, free: 39.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/2.259, allocations: 0.5861 MB / 0.9604 GB, free: 38.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/2.259, allocations: 0 / 0.9604 GB, free: 38.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/2.259, allocations: 23.94 kB / 0.9605 GB, free: 38.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/2.259, allocations: 12 kB / 0.9605 GB, free: 38.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008773/2.26, allocations: 457.5 kB / 0.9609 GB, free: 38.18 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.003498/2.264, allocations: 2.604 MB / 0.9634 GB, free: 35.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/2.264, allocations: 255.5 kB / 0.9637 GB, free: 35.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/2.264, allocations: 164.8 kB / 0.9639 GB, free: 34.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003222/2.265, allocations: 236.8 kB / 0.9641 GB, free: 34.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004207/2.265, allocations: 261.7 kB / 0.9643 GB, free: 34.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 3.994e-06/2.265, allocations: 0 / 0.9643 GB, free: 34.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001016/2.266, allocations: 461.5 kB / 0.9648 GB, free: 33.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/2.266, allocations: 166.2 kB / 0.9649 GB, free: 33.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006773/2.267, allocations: 484.8 kB / 0.9654 GB, free: 33.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/2.267, allocations: 29.7 kB / 0.9654 GB, free: 33.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/2.267, allocations: 347.1 kB / 0.9657 GB, free: 32.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/2.268, allocations: 114.4 kB / 0.9659 GB, free: 32.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/2.268, allocations: 8 kB / 0.9659 GB, free: 32.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/2.268, allocations: 374.7 kB / 0.9662 GB, free: 32.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/2.268, allocations: 149.1 kB / 0.9664 GB, free: 32.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/2.268, allocations: 377.6 kB / 0.9667 GB, free: 31.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/2.269, allocations: 242.5 kB / 0.967 GB, free: 31.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.967e-06/2.269, allocations: 4 kB / 0.967 GB, free: 31.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001305/2.27, allocations: 0.6229 MB / 0.9676 GB, free: 30.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005487/2.271, allocations: 2.733 MB / 0.9702 GB, free: 27.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/2.271, allocations: 15.95 kB / 0.9702 GB, free: 27.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/2.271, allocations: 12 kB / 0.9703 GB, free: 27.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006731/2.278, allocations: 0.6125 MB / 0.9709 GB, free: 27.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005262/2.278, allocations: 0.6562 MB / 0.9715 GB, free: 26.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007561/2.279, allocations: 75.5 kB / 0.9716 GB, free: 26.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/2.279, allocations: 59.97 kB / 0.9716 GB, free: 26.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/2.279, allocations: 4 kB / 0.9716 GB, free: 26.52 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001099/2.28, allocations: 0.5284 MB / 0.9721 GB, free: 25.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/2.28, allocations: 8 kB / 0.9722 GB, free: 25.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/2.28, allocations: 12 kB / 0.9722 GB, free: 25.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/2.281, allocations: 132.6 kB / 0.9723 GB, free: 25.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/2.281, allocations: 23.88 kB / 0.9723 GB, free: 25.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/2.281, allocations: 51.67 kB / 0.9724 GB, free: 25.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-05/2.282, allocations: 52 kB / 0.9724 GB, free: 25.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * 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.0002146/2.282, allocations: 170.5 kB / 0.9726 GB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/2.282, allocations: 63.25 kB / 0.9726 GB, free: 25.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/2.284, allocations: 0.7553 MB / 0.9734 GB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/2.284, allocations: 8 kB / 0.9734 GB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/2.284, allocations: 3.953 kB / 0.9734 GB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.048e-06/2.284, allocations: 7.984 kB / 0.9734 GB, free: 24.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/2.287, allocations: 1.65 MB / 0.975 GB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-06/2.287, allocations: 7.938 kB / 0.975 GB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002061/2.289, allocations: 203.8 kB / 0.9752 GB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/2.289, allocations: 4 kB / 0.9752 GB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-05/2.289, allocations: 19.98 kB / 0.9752 GB, free: 22.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003655/2.289, allocations: 0.6368 MB / 0.9759 GB, free: 21.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.805e-06/2.289, allocations: 7.938 kB / 0.9759 GB, free: 21.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/2.29, allocations: 0.7272 MB / 0.9766 GB, free: 21.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/2.291, allocations: 140.2 kB / 0.9767 GB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/2.291, allocations: 23.92 kB / 0.9767 GB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/2.291, allocations: 23.98 kB / 0.9768 GB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-05/2.291, allocations: 35.91 kB / 0.9768 GB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.397e-05/2.291, allocations: 35.98 kB / 0.9768 GB, free: 20.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005285/2.292, allocations: 377.5 kB / 0.9772 GB, free: 20.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.125e-06/2.292, allocations: 0 / 0.9772 GB, free: 20.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002366/2.294, allocations: 0.6123 MB / 0.9778 GB, free: 19.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,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.002618/2.297, allocations: 1.226 MB / 0.979 GB, free: 18.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01215/2.309, allocations: 1.581 MB / 0.9805 GB, free: 17.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.359e-06/2.309, allocations: 0 / 0.9805 GB, free: 17.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003208/2.312, allocations: 468.9 kB / 0.981 GB, free: 16.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/2.314, allocations: 240.8 kB / 0.9812 GB, free: 16.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007789/2.322, allocations: 2.294 MB / 0.9834 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/2.322, allocations: 0.8922 MB / 0.9843 GB, free: 13.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003777/2.326, allocations: 300.4 kB / 0.9846 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006226/2.327, allocations: 95.31 kB / 0.9847 GB, free: 12.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.557e-06/2.327, allocations: 0 / 0.9847 GB, free: 12.7 MB / 426.7 MB Notification: Performance of Templates: time 0.3364/2.663, allocations: 27.2 MB / 1.011 GB, free: 77.61 MB / 426.7 MB