Running command: translateModel(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.858e-05, allocations: 0 / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09583/0.09588, allocations: 50.43 MB / 342.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.803/6.899, allocations: 2.756 GB / 3.09 GB, free: 117.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/6.899, allocations: 73.03 kB / 3.09 GB, free: 117.7 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 2.304/9.203, allocations: 0.5041 GB / 3.595 GB, free: 36.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.381e-06/9.203, allocations: 0 / 3.595 GB, free: 36.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001183/9.203, allocations: 32.81 kB / 3.595 GB, free: 36.7 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.009205/9.212, allocations: 2.195 MB / 3.597 GB, free: 35.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/9.213, allocations: 7.219 kB / 3.597 GB, free: 35.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007228/9.22, allocations: 0.7123 MB / 3.597 GB, free: 35.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/9.222, allocations: 0.9292 MB / 3.598 GB, free: 35.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.839e-05/9.222, allocations: 75.7 kB / 3.598 GB, free: 35.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/9.222, allocations: 98 kB / 3.598 GB, free: 35.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005037/9.228, allocations: 1.787 MB / 3.6 GB, free: 34.97 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-05/9.228, allocations: 5.906 kB / 3.6 GB, free: 34.97 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/9.228, allocations: 51 kB / 3.6 GB, free: 34.97 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/9.228, allocations: 29.31 kB / 3.6 GB, free: 34.97 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005302/9.233, allocations: 1.574 MB / 3.602 GB, free: 34.97 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/9.246, allocations: 8.532 MB / 3.61 GB, free: 29.34 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004013/9.25, allocations: 1.82 MB / 3.612 GB, free: 28.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009409/9.251, allocations: 426 kB / 3.612 GB, free: 28.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1482/9.399, allocations: 63.21 MB / 3.674 GB, free: 20.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.273e-05/9.399, allocations: 43.75 kB / 3.674 GB, free: 20.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=77): time 4.947e-06/9.399, allocations: 0 / 3.674 GB, free: 20.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=77): time 0.005911/9.405, allocations: 1.722 MB / 3.676 GB, free: 20.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/9.405, allocations: 196.8 kB / 3.676 GB, free: 20.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/9.407, allocations: 0.9306 MB / 3.677 GB, free: 20.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/9.407, allocations: 39.08 kB / 3.677 GB, free: 20.35 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/9.408, allocations: 0.5592 MB / 3.677 GB, free: 20.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/9.408, allocations: 272.3 kB / 3.678 GB, free: 19.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.701e-05/9.408, allocations: 21.66 kB / 3.678 GB, free: 19.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001894/9.408, allocations: 355.8 kB / 3.678 GB, free: 19.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007214/9.409, allocations: 333.1 kB / 3.678 GB, free: 19.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009639/9.41, allocations: 0.7417 MB / 3.679 GB, free: 19.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009251/9.411, allocations: 456.5 kB / 3.68 GB, free: 18.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.821e-06/9.411, allocations: 3.969 kB / 3.68 GB, free: 18.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002781/9.414, allocations: 1.203 MB / 3.681 GB, free: 18.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/9.414, allocations: 10.62 kB / 3.681 GB, free: 18.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/9.414, allocations: 14.34 kB / 3.681 GB, free: 18.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008763/9.422, allocations: 0.839 MB / 3.682 GB, free: 18.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/9.424, allocations: 303.8 kB / 3.682 GB, free: 18.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/9.426, allocations: 1.557 MB / 3.683 GB, free: 17.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/9.428, allocations: 159 kB / 3.684 GB, free: 17.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/9.428, allocations: 68.91 kB / 3.684 GB, free: 17.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 20 (rightAdaptor.state_b.phase,rightAdaptor.state_a.phase,rightAdaptor.state_a_nondes.phase,rightAdaptor.state_b_des.phase,leftAdaptor.state_b.phase,leftAdaptor.state_a.phase,leftAdaptor.state_a_nondes.phase,leftAdaptor.state_b_des.phase,suddenExpansion2.state_b.phase,suddenExpansion2.state_a.phase,suddenExpansion2.state_a_nondes.phase,suddenExpansion2.state_b_des.phase,rightBoundary2.medium.phase,leftBoundary2.medium.phase,suddenExpansion1.state_b.phase,suddenExpansion1.state_a.phase,suddenExpansion1.state_a_nondes.phase,suddenExpansion1.state_b_des.phase,rightBoundary1.medium.phase,leftBoundary1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003565/9.428, allocations: 187.9 kB / 3.684 GB, free: 17.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/9.429, allocations: 122.6 kB / 3.684 GB, free: 17.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006131/9.435, allocations: 4.553 MB / 3.688 GB, free: 17.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-05/9.435, allocations: 45.77 kB / 3.688 GB, free: 17.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.505e-06/9.435, allocations: 0 / 3.688 GB, free: 17.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/9.435, allocations: 3.797 kB / 3.688 GB, free: 17.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008099/9.443, allocations: 5.119 MB / 3.693 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/9.443, allocations: 0 / 3.693 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/9.445, allocations: 188.9 kB / 3.694 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008777/9.454, allocations: 1.92 MB / 3.695 GB, free: 15.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/9.454, allocations: 23.66 kB / 3.695 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/9.456, allocations: 1.935 MB / 3.697 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/9.456, allocations: 4.094 kB / 3.697 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003003/9.459, allocations: 2.093 MB / 3.699 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007508/9.46, allocations: 362.2 kB / 3.7 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/9.46, allocations: 16 kB / 3.7 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009956/9.461, allocations: 66.67 kB / 3.7 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/9.461, allocations: 53.47 kB / 3.7 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.183e-05/9.461, allocations: 36.36 kB / 3.7 GB, free: 10.94 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0015/9.463, allocations: 0.8896 MB / 3.701 GB, free: 10.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.046e-06/9.463, allocations: 0 / 3.701 GB, free: 10.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005307/9.468, allocations: 1.344 MB / 3.702 GB, free: 8.793 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.008251/9.476, allocations: 1.773 MB / 3.704 GB, free: 7.461 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003517/9.48, allocations: 1.311 MB / 3.705 GB, free: 6.273 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.543e-06/9.48, allocations: 0 / 3.705 GB, free: 6.273 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002519/9.482, allocations: 0.9797 MB / 3.706 GB, free: 5.383 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004003/9.486, allocations: 0.6742 MB / 3.707 GB, free: 4.895 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005484/9.492, allocations: 2.382 MB / 3.709 GB, free: 2.684 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/9.493, allocations: 1.346 MB / 3.71 GB, free: 1.543 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005099/9.494, allocations: 119.9 kB / 3.71 GB, free: 1.438 MB / 490.7 MB Notification: Performance of SimCode: time 1.873e-06/9.494, allocations: 0 / 3.71 GB, free: 1.438 MB / 490.7 MB Notification: Performance of Templates: time 0.3893/9.883, allocations: 54.01 MB / 3.763 GB, free: 62.81 MB / 490.7 MB