Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestSuddenExpansion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.907/1.907, allocations: 209.4 MB / 216.5 MB, free: 6.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.307e-05/2.317e-05, allocations: 4 kB / 267.6 MB, free: 4.953 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 48.71 MB / 316.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.366/7.474, allocations: 2.483 GB / 2.792 GB, free: 105.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/7.474, allocations: 82.81 kB / 2.792 GB, free: 105.5 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.557/10.03, allocations: 484 MB / 3.264 GB, free: 37.72 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.779e-06/10.03, allocations: 8.469 kB / 3.264 GB, free: 37.72 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001253/10.03, allocations: 31.12 kB / 3.264 GB, free: 37.72 MB / 442.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.01022/10.04, allocations: 2.083 MB / 3.266 GB, free: 36.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/10.04, allocations: 7.312 kB / 3.266 GB, free: 36.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006117/10.05, allocations: 0.581 MB / 3.267 GB, free: 36.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/10.05, allocations: 0.9499 MB / 3.268 GB, free: 36.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/10.05, allocations: 30.41 kB / 3.268 GB, free: 36.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/10.05, allocations: 53.72 kB / 3.268 GB, free: 36.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002491/10.05, allocations: 0.97 MB / 3.269 GB, free: 36.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/10.06, allocations: 1.167 MB / 3.27 GB, free: 36.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/10.06, allocations: 7.438 kB / 3.27 GB, free: 36.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/10.06, allocations: 11.61 kB / 3.27 GB, free: 36.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/10.06, allocations: 26.97 kB / 3.27 GB, free: 36.11 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.325/11.38, allocations: 263.6 MB / 3.528 GB, free: 23.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/11.38, allocations: 490.8 kB / 3.528 GB, free: 23.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004955/11.38, allocations: 245.9 kB / 3.528 GB, free: 23.24 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1609/11.54, allocations: 47.29 MB / 3.574 GB, free: 3.559 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/11.54, allocations: 41.36 kB / 3.574 GB, free: 3.516 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=41): time 3.367e-06/11.54, allocations: 0 / 3.574 GB, free: 3.516 MB / 0.4949 GB Notification: Performance of matching and sorting (n=41): time 0.006922/11.55, allocations: 1.438 MB / 3.576 GB, free: 2.762 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/11.55, allocations: 183.9 kB / 3.576 GB, free: 2.539 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/11.55, allocations: 0.8759 MB / 3.577 GB, free: 1.992 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 9.856e-05/11.55, allocations: 25.7 kB / 3.577 GB, free: 1.961 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005454/11.55, allocations: 0.6907 MB / 3.578 GB, free: 1.586 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/11.55, allocations: 158.9 kB / 3.578 GB, free: 1.492 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/11.55, allocations: 1.406 kB / 3.578 GB, free: 1.492 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001598/11.55, allocations: 349.6 kB / 3.578 GB, free: 1.176 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/11.55, allocations: 280.3 kB / 3.578 GB, free: 1.027 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009892/11.56, allocations: 0.751 MB / 3.579 GB, free: 236 kB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3353/11.89, allocations: 0.6889 MB / 3.58 GB, free: 101.5 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-05/11.89, allocations: 5.062 kB / 3.58 GB, free: 101.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006553/11.9, allocations: 1.444 MB / 3.581 GB, free: 101.4 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/11.9, allocations: 15.25 kB / 3.581 GB, free: 101.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-05/11.9, allocations: 17.09 kB / 3.581 GB, free: 101.4 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007874/11.9, allocations: 188 kB / 3.581 GB, free: 101.4 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00256/11.9, allocations: 310.4 kB / 3.582 GB, free: 101.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/11.9, allocations: 1.658 MB / 3.583 GB, free: 100.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/11.91, allocations: 156.7 kB / 3.583 GB, free: 100.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/11.91, allocations: 68.22 kB / 3.584 GB, free: 100.3 MB / 0.4949 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.0002835/11.91, allocations: 155.6 kB / 3.584 GB, free: 100.2 MB / 0.4949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004661/11.91, allocations: 0.8736 MB / 3.585 GB, free: 100.1 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/11.91, allocations: 106.8 kB / 3.585 GB, free: 100 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006569/11.92, allocations: 2.912 MB / 3.587 GB, free: 99.86 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.243e-05/11.92, allocations: 19.11 kB / 3.587 GB, free: 99.86 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/11.92, allocations: 7.328 kB / 3.587 GB, free: 99.86 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/11.92, allocations: 4.672 kB / 3.587 GB, free: 99.86 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002944/11.92, allocations: 1.289 MB / 3.589 GB, free: 99.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/11.92, allocations: 3.031 kB / 3.589 GB, free: 99.66 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/11.92, allocations: 118.8 kB / 3.589 GB, free: 99.66 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004346/11.93, allocations: 2.169 MB / 3.591 GB, free: 99.61 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/11.93, allocations: 10 kB / 3.591 GB, free: 99.61 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00442/11.93, allocations: 2.988 MB / 3.594 GB, free: 98.47 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/11.93, allocations: 6.672 kB / 3.594 GB, free: 98.46 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004681/11.94, allocations: 2.105 MB / 3.596 GB, free: 98.07 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007302/11.94, allocations: 285.3 kB / 3.596 GB, free: 97.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003348/11.94, allocations: 1.062 kB / 3.596 GB, free: 97.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007718/11.94, allocations: 24.53 kB / 3.596 GB, free: 97.9 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/11.94, allocations: 30.11 kB / 3.596 GB, free: 97.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/11.94, allocations: 12.97 kB / 3.596 GB, free: 97.9 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001694/11.94, allocations: 0.7854 MB / 3.597 GB, free: 97.79 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6.82e-07/11.94, allocations: 0 / 3.597 GB, free: 97.79 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006749/11.95, allocations: 1.265 MB / 3.598 GB, free: 97.75 MB / 0.4949 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.01577/11.96, allocations: 3.794 MB / 3.602 GB, free: 96.71 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.004114/11.97, allocations: 0.8955 MB / 3.603 GB, free: 96.7 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/11.97, allocations: 3.062 kB / 3.603 GB, free: 96.7 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002382/11.97, allocations: 466.9 kB / 3.603 GB, free: 96.7 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003878/11.97, allocations: 433.9 kB / 3.604 GB, free: 96.68 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008097/11.98, allocations: 2.075 MB / 3.606 GB, free: 96.14 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/11.98, allocations: 1.19 MB / 3.607 GB, free: 95.43 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.002476/11.98, allocations: 0.9521 MB / 3.608 GB, free: 95.41 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009415/11.98, allocations: 0.5194 MB / 3.608 GB, free: 95.4 MB / 0.4949 GB Notification: Performance of SimCode: time 1.292e-06/11.98, allocations: 3.281 kB / 3.608 GB, free: 95.4 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1406/12.13, allocations: 53.26 MB / 3.66 GB, free: 93 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/12.13, allocations: 195.3 kB / 3.661 GB, free: 92.8 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.683/16.81, allocations: 0 / 3.661 GB, free: 92.8 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion_res.mat does not exist to compare? outputFormat=mat