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.499/2.499, allocations: 235.1 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.587e-05, allocations: 7.984 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3641, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.864/8.228, allocations: 2.593 GB / 2.939 GB, free: 119 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/8.228, allocations: 82.33 kB / 2.939 GB, free: 119 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 2.444/10.67, allocations: 494.7 MB / 3.422 GB, free: 43.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.843e-06/10.67, allocations: 0 / 3.422 GB, free: 43.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001067/10.67, allocations: 30.72 kB / 3.423 GB, free: 43.08 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.01012/10.68, allocations: 2.183 MB / 3.425 GB, free: 41.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/10.68, allocations: 10.16 kB / 3.425 GB, free: 41.92 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006488/10.69, allocations: 0.6163 MB / 3.425 GB, free: 41.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/10.69, allocations: 0.9403 MB / 3.426 GB, free: 41.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/10.69, allocations: 31.22 kB / 3.426 GB, free: 41.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/10.69, allocations: 57.94 kB / 3.426 GB, free: 41.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002528/10.69, allocations: 0.9654 MB / 3.427 GB, free: 40.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/10.7, allocations: 1.175 MB / 3.428 GB, free: 40.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/10.7, allocations: 7 kB / 3.428 GB, free: 40.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/10.7, allocations: 3.688 kB / 3.428 GB, free: 40.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/10.7, allocations: 29.44 kB / 3.428 GB, free: 40.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.847/12.54, allocations: 263.8 MB / 3.686 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/12.55, allocations: 489 kB / 3.687 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/12.55, allocations: 240.5 kB / 3.687 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1576/12.7, allocations: 47.3 MB / 3.733 GB, free: 81.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/12.7, allocations: 36.59 kB / 3.733 GB, free: 80.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=41): time 4.338e-06/12.7, allocations: 0 / 3.733 GB, free: 80.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=41): time 0.006993/12.71, allocations: 1.434 MB / 3.734 GB, free: 80.91 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/12.71, allocations: 183.2 kB / 3.735 GB, free: 80.69 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/12.71, allocations: 0.879 MB / 3.735 GB, free: 80.52 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.89e-05/12.71, allocations: 29.36 kB / 3.735 GB, free: 80.49 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005518/12.71, allocations: 0.6876 MB / 3.736 GB, free: 80.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/12.71, allocations: 154.9 kB / 3.736 GB, free: 80.13 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/12.71, allocations: 0 / 3.736 GB, free: 80.13 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001056/12.71, allocations: 352.7 kB / 3.737 GB, free: 79.82 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000643/12.71, allocations: 275.4 kB / 3.737 GB, free: 79.82 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000957/12.72, allocations: 0.7508 MB / 3.738 GB, free: 79.21 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004119/12.72, allocations: 0.69 MB / 3.738 GB, free: 79.19 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/12.72, allocations: 7.406 kB / 3.738 GB, free: 79.19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00609/12.73, allocations: 1.449 MB / 3.74 GB, free: 79.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/12.73, allocations: 10.25 kB / 3.74 GB, free: 79.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/12.73, allocations: 15.78 kB / 3.74 GB, free: 79.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006571/12.73, allocations: 187.9 kB / 3.74 GB, free: 79.06 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/12.73, allocations: 311.5 kB / 3.74 GB, free: 79.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/12.73, allocations: 1.658 MB / 3.742 GB, free: 77.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/12.73, allocations: 155.9 kB / 3.742 GB, free: 77.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/12.73, allocations: 66.78 kB / 3.742 GB, free: 77.89 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.0002468/12.73, allocations: 164.3 kB / 3.742 GB, free: 77.78 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004283/12.74, allocations: 0.8617 MB / 3.743 GB, free: 77.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/12.74, allocations: 108.8 kB / 3.743 GB, free: 77.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005837/12.74, allocations: 2.917 MB / 3.746 GB, free: 77.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.921e-05/12.74, allocations: 12.8 kB / 3.746 GB, free: 77.41 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/12.74, allocations: 0 / 3.746 GB, free: 77.41 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/12.74, allocations: 11.5 kB / 3.746 GB, free: 77.41 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/12.75, allocations: 1.287 MB / 3.747 GB, free: 77.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/12.75, allocations: 0 / 3.747 GB, free: 77.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/12.75, allocations: 117.8 kB / 3.747 GB, free: 77.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003331/12.75, allocations: 2.184 MB / 3.749 GB, free: 77.16 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.07e-05/12.75, allocations: 6.609 kB / 3.749 GB, free: 77.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003567/12.76, allocations: 2.977 MB / 3.752 GB, free: 76.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/12.76, allocations: 6.312 kB / 3.752 GB, free: 76.01 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004135/12.76, allocations: 2.095 MB / 3.754 GB, free: 75.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006029/12.76, allocations: 286.6 kB / 3.755 GB, free: 75.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003303/12.76, allocations: 11.53 kB / 3.755 GB, free: 75.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007913/12.76, allocations: 11.58 kB / 3.755 GB, free: 75.44 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/12.76, allocations: 29.3 kB / 3.755 GB, free: 75.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/12.76, allocations: 15.28 kB / 3.755 GB, free: 75.44 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001406/12.76, allocations: 0.787 MB / 3.756 GB, free: 75.33 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.71e-07/12.76, allocations: 0 / 3.756 GB, free: 75.33 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006203/12.77, allocations: 1.275 MB / 3.757 GB, free: 75.27 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.01402/12.78, allocations: 3.828 MB / 3.761 GB, free: 74.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003871/12.79, allocations: 0.8929 MB / 3.761 GB, free: 74.12 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/12.79, allocations: 0 / 3.761 GB, free: 74.12 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002396/12.79, allocations: 464.5 kB / 3.762 GB, free: 74.11 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004076/12.79, allocations: 423.4 kB / 3.762 GB, free: 74.09 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007974/12.8, allocations: 2.086 MB / 3.764 GB, free: 73.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000725/12.8, allocations: 1.185 MB / 3.765 GB, free: 72.79 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002594/12.8, allocations: 0.9513 MB / 3.766 GB, free: 72.74 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009696/12.81, allocations: 0.5233 MB / 3.767 GB, free: 72.73 MB / 0.5417 GB Notification: Performance of SimCode: time 1.052e-06/12.81, allocations: 0 / 3.767 GB, free: 72.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1494/12.96, allocations: 53.42 MB / 3.819 GB, free: 60.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0001841/12.96, allocations: 208 kB / 3.819 GB, free: 60.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.843/17.8, allocations: 3.938 kB / 3.819 GB, free: 60.4 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion_res.mat does not exist to compare? outputFormat=mat