Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Fittings_TestSuddenExpansion",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.819/2.819, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.703e-05, allocations: 0 / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3925, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.279/9.672, allocations: 2.593 GB / 2.939 GB, free: 119.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/9.672, allocations: 86.7 kB / 2.939 GB, free: 119.4 MB / 490.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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 .... [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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 .... [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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 .... [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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 3.083/12.76, allocations: 495.5 MB / 3.423 GB, free: 42.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.084e-06/12.76, allocations: 0 / 3.423 GB, free: 42.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001216/12.76, allocations: 29.41 kB / 3.423 GB, free: 42.31 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.01209/12.77, allocations: 2.181 MB / 3.425 GB, free: 41.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/12.77, allocations: 7.188 kB / 3.425 GB, free: 41.15 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004366/12.77, allocations: 118.1 kB / 3.426 GB, free: 41.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008094/12.78, allocations: 0.6143 MB / 3.426 GB, free: 40.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00325/12.78, allocations: 0.9458 MB / 3.427 GB, free: 40.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.97e-05/12.78, allocations: 38.88 kB / 3.427 GB, free: 40.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/12.78, allocations: 57.06 kB / 3.427 GB, free: 40.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003036/12.78, allocations: 0.9665 MB / 3.428 GB, free: 40.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/12.79, allocations: 1.174 MB / 3.429 GB, free: 39.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.846e-05/12.79, allocations: 3.938 kB / 3.429 GB, free: 39.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/12.79, allocations: 7.812 kB / 3.429 GB, free: 39.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/12.79, allocations: 24.91 kB / 3.429 GB, free: 39.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.234/15.02, allocations: 264.1 MB / 3.687 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/15.02, allocations: 490.9 kB / 3.688 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005998/15.02, allocations: 244.4 kB / 3.688 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1989/15.22, allocations: 47.3 MB / 3.734 GB, free: 80.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/15.22, allocations: 37.97 kB / 3.734 GB, free: 80.67 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=41): time 5.35e-06/15.22, allocations: 0 / 3.734 GB, free: 80.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=41): time 0.008459/15.23, allocations: 1.437 MB / 3.736 GB, free: 80.59 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/15.23, allocations: 185.9 kB / 3.736 GB, free: 80.37 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/15.23, allocations: 0.8719 MB / 3.737 GB, free: 80.21 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/15.23, allocations: 28.8 kB / 3.737 GB, free: 80.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007159/15.23, allocations: 0.6956 MB / 3.737 GB, free: 79.89 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/15.23, allocations: 150.1 kB / 3.737 GB, free: 79.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.02e-05/15.23, allocations: 2.188 kB / 3.737 GB, free: 79.82 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001192/15.23, allocations: 349.6 kB / 3.738 GB, free: 79.51 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007782/15.23, allocations: 281.9 kB / 3.738 GB, free: 79.51 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/15.24, allocations: 0.7482 MB / 3.739 GB, free: 78.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005124/15.24, allocations: 0.6917 MB / 3.739 GB, free: 78.88 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-05/15.24, allocations: 5.812 kB / 3.739 GB, free: 78.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007812/15.25, allocations: 1.444 MB / 3.741 GB, free: 78.75 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/15.25, allocations: 13.12 kB / 3.741 GB, free: 78.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/15.25, allocations: 14.41 kB / 3.741 GB, free: 78.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008012/15.25, allocations: 193 kB / 3.741 GB, free: 78.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002947/15.25, allocations: 309.1 kB / 3.741 GB, free: 78.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/15.25, allocations: 1.648 MB / 3.743 GB, free: 77.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/15.26, allocations: 163.4 kB / 3.743 GB, free: 77.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/15.26, allocations: 68.17 kB / 3.743 GB, free: 77.58 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 20 (rightAdapter.state_b.phase,rightAdapter.state_a.phase,rightAdapter.state_a_nondes.phase,rightAdapter.state_b_des.phase,leftAdapter.state_b.phase,leftAdapter.state_a.phase,leftAdapter.state_a_nondes.phase,leftAdapter.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 (130): * Single equations (assignments): 128 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003201/15.26, allocations: 158.9 kB / 3.743 GB, free: 77.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000326/15.26, allocations: 109.1 kB / 3.743 GB, free: 77.41 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007056/15.27, allocations: 2.906 MB / 3.746 GB, free: 77.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.582e-05/15.27, allocations: 19.97 kB / 3.746 GB, free: 77.21 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/15.27, allocations: 0 / 3.746 GB, free: 77.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/15.27, allocations: 6.531 kB / 3.746 GB, free: 77.21 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/15.27, allocations: 1.29 MB / 3.748 GB, free: 77.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/15.27, allocations: 0 / 3.748 GB, free: 77.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001822/15.27, allocations: 124 kB / 3.748 GB, free: 77.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00424/15.27, allocations: 2.175 MB / 3.75 GB, free: 76.95 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/15.27, allocations: 7.359 kB / 3.75 GB, free: 76.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00438/15.28, allocations: 2.979 MB / 3.753 GB, free: 75.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/15.28, allocations: 0 / 3.753 GB, free: 75.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00507/15.28, allocations: 2.1 MB / 3.755 GB, free: 75.41 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007903/15.28, allocations: 301.5 kB / 3.755 GB, free: 75.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003632/15.29, allocations: 2.406 kB / 3.755 GB, free: 75.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000981/15.29, allocations: 20.2 kB / 3.755 GB, free: 75.23 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/15.29, allocations: 29.67 kB / 3.755 GB, free: 75.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/15.29, allocations: 13.69 kB / 3.755 GB, free: 75.23 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001715/15.29, allocations: 0.7897 MB / 3.756 GB, free: 75.12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.01e-07/15.29, allocations: 0 / 3.756 GB, free: 75.12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007224/15.3, allocations: 1.271 MB / 3.757 GB, free: 75.06 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01649/15.31, allocations: 3.824 MB / 3.761 GB, free: 73.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004469/15.32, allocations: 0.8934 MB / 3.762 GB, free: 73.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/15.32, allocations: 0 / 3.762 GB, free: 73.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002777/15.32, allocations: 464.5 kB / 3.762 GB, free: 73.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004909/15.32, allocations: 430.7 kB / 3.763 GB, free: 73.87 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009775/15.33, allocations: 2.069 MB / 3.765 GB, free: 73.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008479/15.34, allocations: 1.19 MB / 3.766 GB, free: 72.59 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003067/15.34, allocations: 0.9497 MB / 3.767 GB, free: 72.54 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/15.34, allocations: 0.5221 MB / 3.767 GB, free: 72.53 MB / 0.5417 GB Notification: Performance of SimCode: time 1.533e-06/15.34, allocations: 0 / 3.767 GB, free: 72.53 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1993/15.54, allocations: 54.9 MB / 3.821 GB, free: 59.72 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002622/15.54, allocations: 196 kB / 3.821 GB, free: 59.46 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.153/21.69, allocations: 5.688 kB / 3.821 GB, free: 59.46 MB / 0.5417 GB