Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestSuddenExpansion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.449/2.449, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.645e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4058, allocations: 58.83 MB / 382.3 MB, free: 10.35 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.434/8.84, allocations: 2.76 GB / 3.134 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/8.841, allocations: 85.36 kB / 3.134 GB, free: 128.1 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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.633/11.47, allocations: 0.4976 GB / 3.631 GB, free: 50.17 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.043e-06/11.47, allocations: 0 / 3.631 GB, free: 50.17 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001236/11.47, allocations: 36.12 kB / 3.631 GB, free: 50.16 MB / 0.5105 GB 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.01074/11.48, allocations: 2.185 MB / 3.634 GB, free: 49.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/11.48, allocations: 11 kB / 3.634 GB, free: 49.02 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00048/11.49, allocations: 156.5 kB / 3.634 GB, free: 48.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006356/11.49, allocations: 0.6198 MB / 3.634 GB, free: 48.78 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/11.49, allocations: 0.9026 MB / 3.635 GB, free: 48.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.507e-05/11.49, allocations: 75.06 kB / 3.635 GB, free: 48.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/11.49, allocations: 94.56 kB / 3.635 GB, free: 48.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005225/11.5, allocations: 1.74 MB / 3.637 GB, free: 47.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.118e-05/11.5, allocations: 2.938 kB / 3.637 GB, free: 47.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/11.5, allocations: 45.5 kB / 3.637 GB, free: 47.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/11.5, allocations: 30.72 kB / 3.637 GB, free: 47.29 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004737/11.5, allocations: 1.475 MB / 3.639 GB, free: 46.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/11.52, allocations: 8.338 MB / 3.647 GB, free: 40.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004185/11.52, allocations: 1.785 MB / 3.648 GB, free: 38.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009216/11.52, allocations: 376.7 kB / 3.649 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6119/12.14, allocations: 63.19 MB / 3.711 GB, free: 69.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.808e-05/12.14, allocations: 45.19 kB / 3.711 GB, free: 69.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 3.657e-06/12.14, allocations: 0 / 3.711 GB, free: 69.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69): time 0.007339/12.14, allocations: 1.641 MB / 3.712 GB, free: 69.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/12.14, allocations: 191.1 kB / 3.712 GB, free: 68.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/12.15, allocations: 0.9231 MB / 3.713 GB, free: 68.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002187/12.15, allocations: 36.52 kB / 3.713 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/12.15, allocations: 0.5719 MB / 3.714 GB, free: 68.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000331/12.15, allocations: 247.5 kB / 3.714 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-05/12.15, allocations: 20.38 kB / 3.714 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/12.15, allocations: 348.2 kB / 3.714 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008206/12.15, allocations: 293.2 kB / 3.715 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/12.15, allocations: 0.7034 MB / 3.715 GB, free: 67.65 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/12.15, allocations: 409.2 kB / 3.716 GB, free: 67.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/12.15, allocations: 4.156 kB / 3.716 GB, free: 67.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00326/12.15, allocations: 1.198 MB / 3.717 GB, free: 67.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/12.15, allocations: 11.03 kB / 3.717 GB, free: 67.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/12.15, allocations: 13.86 kB / 3.717 GB, free: 67.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0119/12.17, allocations: 0.8331 MB / 3.718 GB, free: 67.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/12.17, allocations: 286.5 kB / 3.718 GB, free: 67.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/12.17, allocations: 1.54 MB / 3.72 GB, free: 66.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/12.17, allocations: 162.5 kB / 3.72 GB, free: 66.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/12.17, allocations: 60.05 kB / 3.72 GB, free: 66.36 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (116): * Single equations (assignments): 114 * 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.0003093/12.17, allocations: 191.5 kB / 3.72 GB, free: 66.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/12.17, allocations: 119.5 kB / 3.72 GB, free: 66.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007219/12.18, allocations: 4.468 MB / 3.724 GB, free: 65.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.247e-05/12.18, allocations: 40.84 kB / 3.724 GB, free: 65.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/12.18, allocations: 0 / 3.724 GB, free: 65.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.47e-05/12.18, allocations: 3.422 kB / 3.724 GB, free: 65.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00818/12.19, allocations: 4.983 MB / 3.729 GB, free: 64.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/12.19, allocations: 0 / 3.729 GB, free: 64.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/12.19, allocations: 170.6 kB / 3.73 GB, free: 64.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01275/12.2, allocations: 1.917 MB / 3.731 GB, free: 64.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/12.2, allocations: 21.69 kB / 3.731 GB, free: 64.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/12.2, allocations: 1.94 MB / 3.733 GB, free: 63.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/12.2, allocations: 4.312 kB / 3.733 GB, free: 63.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003146/12.21, allocations: 2.009 MB / 3.735 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006815/12.21, allocations: 352.7 kB / 3.736 GB, free: 62.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002621/12.21, allocations: 16.16 kB / 3.736 GB, free: 62.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/12.21, allocations: 64.53 kB / 3.736 GB, free: 62.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/12.21, allocations: 50 kB / 3.736 GB, free: 62.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.92e-05/12.21, allocations: 25.94 kB / 3.736 GB, free: 62.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001607/12.21, allocations: 0.8914 MB / 3.737 GB, free: 62.81 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.51e-07/12.21, allocations: 0 / 3.737 GB, free: 62.81 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006461/12.22, allocations: 1.332 MB / 3.738 GB, free: 62.75 MB / 0.5261 GB 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 (73): * Single equations (assignments): 63 * 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.01375/12.23, allocations: 4.302 MB / 3.742 GB, free: 61.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004455/12.24, allocations: 1.223 MB / 3.743 GB, free: 61.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/12.24, allocations: 2.688 kB / 3.743 GB, free: 61.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003102/12.24, allocations: 0.8923 MB / 3.744 GB, free: 61.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006244/12.25, allocations: 0.6818 MB / 3.745 GB, free: 61.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009428/12.26, allocations: 2.927 MB / 3.748 GB, free: 60.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008453/12.26, allocations: 1.34 MB / 3.749 GB, free: 60.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00207/12.26, allocations: 0.6019 MB / 3.75 GB, free: 60.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/12.26, allocations: 0.6292 MB / 3.75 GB, free: 60.14 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/12.26, allocations: 0 / 3.75 GB, free: 60.14 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.175/12.43, allocations: 72.65 MB / 3.821 GB, free: 57.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003043/12.44, allocations: 239.6 kB / 3.821 GB, free: 56.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.794/18.23, allocations: 0 / 3.821 GB, free: 56.78 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion_res.mat does not exist to compare? outputFormat=mat