Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestSuddenExpansion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.346/2.346, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.596e-05, allocations: 4 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.38, allocations: 54.86 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.465/7.845, allocations: 2.593 GB / 2.939 GB, free: 2.504 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/7.846, allocations: 86.52 kB / 2.939 GB, free: 2.457 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.734/10.58, allocations: 494.7 MB / 3.422 GB, free: 52.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.094e-06/10.58, allocations: 2.953 kB / 3.422 GB, free: 52.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001073/10.58, allocations: 29.19 kB / 3.422 GB, free: 52.82 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.0105/10.59, allocations: 2.185 MB / 3.425 GB, free: 51.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/10.59, allocations: 10.47 kB / 3.425 GB, free: 51.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006238/10.6, allocations: 0.6155 MB / 3.425 GB, free: 51.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/10.6, allocations: 0.9341 MB / 3.426 GB, free: 51.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.241e-05/10.6, allocations: 37.31 kB / 3.426 GB, free: 51.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/10.6, allocations: 55.25 kB / 3.426 GB, free: 51.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002368/10.6, allocations: 0.9706 MB / 3.427 GB, free: 51.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/10.6, allocations: 1.171 MB / 3.428 GB, free: 50.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.851e-05/10.6, allocations: 7.219 kB / 3.428 GB, free: 50.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/10.6, allocations: 6.875 kB / 3.428 GB, free: 50.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/10.6, allocations: 28.12 kB / 3.428 GB, free: 50.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.391/12, allocations: 263.8 MB / 3.686 GB, free: 18.14 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/12, allocations: 497.1 kB / 3.686 GB, free: 17.86 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/12, allocations: 246.2 kB / 3.687 GB, free: 17.72 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5216/12.52, allocations: 47.34 MB / 3.733 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/12.52, allocations: 43.72 kB / 3.733 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=41): time 4.077e-06/12.52, allocations: 0 / 3.733 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=41): time 0.006675/12.53, allocations: 1.438 MB / 3.734 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/12.53, allocations: 187.7 kB / 3.735 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/12.53, allocations: 0.8685 MB / 3.735 GB, free: 102 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.695e-05/12.53, allocations: 28.95 kB / 3.735 GB, free: 102 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005415/12.53, allocations: 0.689 MB / 3.736 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/12.53, allocations: 156.5 kB / 3.736 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.09e-05/12.53, allocations: 0 / 3.736 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001034/12.53, allocations: 351.3 kB / 3.737 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006024/12.53, allocations: 278.1 kB / 3.737 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008841/12.53, allocations: 0.7479 MB / 3.738 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003948/12.53, allocations: 0.6949 MB / 3.738 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/12.53, allocations: 5.781 kB / 3.738 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.005677/12.54, allocations: 1.448 MB / 3.74 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/12.54, allocations: 11.5 kB / 3.74 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/12.54, allocations: 17.97 kB / 3.74 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/12.54, allocations: 184.7 kB / 3.74 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/12.54, allocations: 311.8 kB / 3.74 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/12.55, allocations: 1.653 MB / 3.742 GB, free: 99.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/12.55, allocations: 158.8 kB / 3.742 GB, free: 99.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/12.55, allocations: 69.11 kB / 3.742 GB, free: 99.43 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.0002618/12.55, allocations: 164.2 kB / 3.742 GB, free: 99.32 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003999/12.55, allocations: 0.8642 MB / 3.743 GB, free: 99.22 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/12.55, allocations: 113.9 kB / 3.743 GB, free: 99.16 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005569/12.56, allocations: 2.91 MB / 3.746 GB, free: 98.97 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-05/12.56, allocations: 20.86 kB / 3.746 GB, free: 98.97 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/12.56, allocations: 0 / 3.746 GB, free: 98.97 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/12.56, allocations: 6.609 kB / 3.746 GB, free: 98.97 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/12.56, allocations: 1.285 MB / 3.747 GB, free: 98.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/12.56, allocations: 0 / 3.747 GB, free: 98.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/12.56, allocations: 127 kB / 3.747 GB, free: 98.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003172/12.56, allocations: 2.175 MB / 3.749 GB, free: 98.72 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.914e-05/12.56, allocations: 7.891 kB / 3.749 GB, free: 98.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003421/12.57, allocations: 2.975 MB / 3.752 GB, free: 97.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/12.57, allocations: 1.25 kB / 3.752 GB, free: 97.58 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003876/12.57, allocations: 2.103 MB / 3.754 GB, free: 97.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005622/12.57, allocations: 287.4 kB / 3.755 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/12.57, allocations: 4.781 kB / 3.755 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007483/12.57, allocations: 24.66 kB / 3.755 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.216e-05/12.57, allocations: 28.53 kB / 3.755 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/12.57, allocations: 17.5 kB / 3.755 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001347/12.58, allocations: 0.7794 MB / 3.756 GB, free: 96.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.413e-06/12.58, allocations: 3.656 kB / 3.756 GB, free: 96.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006521/12.58, allocations: 1.275 MB / 3.757 GB, free: 96.86 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.01425/12.6, allocations: 3.813 MB / 3.76 GB, free: 95.82 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003662/12.6, allocations: 0.8807 MB / 3.761 GB, free: 95.81 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/12.6, allocations: 7.344 kB / 3.761 GB, free: 95.81 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002186/12.6, allocations: 466 kB / 3.762 GB, free: 95.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003953/12.61, allocations: 426.7 kB / 3.762 GB, free: 95.79 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008761/12.61, allocations: 2.084 MB / 3.764 GB, free: 95.24 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007638/12.62, allocations: 1.191 MB / 3.765 GB, free: 94.52 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002662/12.62, allocations: 0.9458 MB / 3.766 GB, free: 94.47 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/12.62, allocations: 0.5214 MB / 3.767 GB, free: 94.47 MB / 0.5417 GB Notification: Performance of SimCode: time 1.563e-06/12.62, allocations: 2.625 kB / 3.767 GB, free: 94.47 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1791/12.8, allocations: 53.41 MB / 3.819 GB, free: 91.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/12.8, allocations: 187.5 kB / 3.819 GB, free: 90.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.617/17.42, allocations: 0 / 3.819 GB, free: 90.86 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion_res.mat does not exist to compare? outputFormat=mat