Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Fluid_Examples_Explanatory_MomentumBalanceFittings",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.38/2.38, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.046e-05, allocations: 2.75 kB / 249.8 MB, free: 5.227 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1149, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.934/9.049, allocations: 2.584 GB / 2.871 GB, free: 20.49 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003633/9.05, allocations: 77.34 kB / 2.871 GB, free: 20.45 MB / 410.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.057/12.11, allocations: 495.7 MB / 3.355 GB, free: 10.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/12.11, allocations: 0 / 3.355 GB, free: 10.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000116/12.11, allocations: 28 kB / 3.355 GB, free: 10.66 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.01163/12.12, allocations: 2.193 MB / 3.358 GB, free: 8.434 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/12.12, allocations: 11.97 kB / 3.358 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008751/12.13, allocations: 0.7123 MB / 3.358 GB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003157/12.13, allocations: 0.9424 MB / 3.359 GB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.469e-05/12.13, allocations: 40 kB / 3.359 GB, free: 6.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002551/12.13, allocations: 58.34 kB / 3.359 GB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003047/12.13, allocations: 1.066 MB / 3.36 GB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002906/12.14, allocations: 1.236 MB / 3.362 GB, free: 4.199 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/12.14, allocations: 4 kB / 3.362 GB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/12.14, allocations: 4 kB / 3.362 GB, free: 4.191 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/12.14, allocations: 28 kB / 3.362 GB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.079/14.22, allocations: 264.1 MB / 3.619 GB, free: 70.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/14.22, allocations: 0.5366 MB / 3.62 GB, free: 70.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006682/14.22, allocations: 273.4 kB / 3.62 GB, free: 70.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.19/14.41, allocations: 47.3 MB / 3.666 GB, free: 41.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.966e-05/14.41, allocations: 42.52 kB / 3.666 GB, free: 41.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=49): time 5.23e-06/14.41, allocations: 0 / 3.666 GB, free: 41.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.008731/14.42, allocations: 1.499 MB / 3.668 GB, free: 41.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/14.42, allocations: 194 kB / 3.668 GB, free: 41.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/14.42, allocations: 0.8671 MB / 3.669 GB, free: 41.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001384/14.42, allocations: 25.7 kB / 3.669 GB, free: 41.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006383/14.42, allocations: 0.7009 MB / 3.67 GB, free: 41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/14.42, allocations: 176.8 kB / 3.67 GB, free: 40.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.609e-05/14.42, allocations: 0 / 3.67 GB, free: 40.92 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/14.42, allocations: 352 kB / 3.67 GB, free: 40.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008802/14.42, allocations: 315.4 kB / 3.67 GB, free: 40.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/14.42, allocations: 0.7868 MB / 3.671 GB, free: 40 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00518/14.43, allocations: 0.7242 MB / 3.672 GB, free: 39.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-05/14.43, allocations: 4.781 kB / 3.672 GB, free: 39.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007788/14.44, allocations: 1.536 MB / 3.673 GB, free: 39.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/14.44, allocations: 14.44 kB / 3.673 GB, free: 39.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/14.44, allocations: 16.16 kB / 3.674 GB, free: 39.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008064/14.44, allocations: 187.2 kB / 3.674 GB, free: 39.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003392/14.44, allocations: 327.2 kB / 3.674 GB, free: 39.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/14.44, allocations: 1.647 MB / 3.676 GB, free: 38.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/14.45, allocations: 166.8 kB / 3.676 GB, free: 38.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/14.45, allocations: 70.44 kB / 3.676 GB, free: 38.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 20 (rightAdaptor.state_b.phase,rightAdaptor.state_a.phase,rightAdaptor.state_a_nondes.phase,rightAdaptor.state_b_des.phase,leftAdaptor.state_b.phase,leftAdaptor.state_a.phase,leftAdaptor.state_a_nondes.phase,leftAdaptor.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 (138): * Single equations (assignments): 136 * 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.0003346/14.45, allocations: 153.8 kB / 3.676 GB, free: 38.57 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005585/14.45, allocations: 0.9466 MB / 3.677 GB, free: 38.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/14.45, allocations: 109 kB / 3.677 GB, free: 38.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007358/14.46, allocations: 3.016 MB / 3.68 GB, free: 38.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.346e-05/14.46, allocations: 14.3 kB / 3.68 GB, free: 38.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/14.46, allocations: 4 kB / 3.68 GB, free: 38.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-05/14.46, allocations: 3.797 kB / 3.68 GB, free: 38.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/14.46, allocations: 1.342 MB / 3.681 GB, free: 37.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/14.46, allocations: 3.562 kB / 3.681 GB, free: 37.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002135/14.47, allocations: 138.5 kB / 3.681 GB, free: 37.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004008/14.47, allocations: 2.138 MB / 3.684 GB, free: 37.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/14.47, allocations: 11.09 kB / 3.684 GB, free: 37.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004323/14.47, allocations: 2.992 MB / 3.686 GB, free: 36.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.168e-06/14.47, allocations: 0 / 3.686 GB, free: 36.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005306/14.48, allocations: 2.178 MB / 3.689 GB, free: 36.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008027/14.48, allocations: 295.9 kB / 3.689 GB, free: 36.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004341/14.48, allocations: 0 / 3.689 GB, free: 36.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/14.48, allocations: 23.55 kB / 3.689 GB, free: 36.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/14.48, allocations: 32.73 kB / 3.689 GB, free: 36.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-05/14.48, allocations: 18.73 kB / 3.689 GB, free: 36.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001809/14.48, allocations: 0.7823 MB / 3.69 GB, free: 36.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.596e-05/14.48, allocations: 0 / 3.69 GB, free: 36.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00766/14.49, allocations: 1.283 MB / 3.691 GB, free: 36.04 MB / 490.7 MB 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 (39): * Single equations (assignments): 37 * 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.0177/14.51, allocations: 3.887 MB / 3.695 GB, free: 34.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004936/14.51, allocations: 0.9778 MB / 3.696 GB, free: 34.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/14.51, allocations: 4 kB / 3.696 GB, free: 34.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00306/14.52, allocations: 0.4996 MB / 3.696 GB, free: 33.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004833/14.52, allocations: 427 kB / 3.697 GB, free: 33.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009921/14.53, allocations: 2.149 MB / 3.699 GB, free: 32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008652/14.53, allocations: 1.203 MB / 3.7 GB, free: 30.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003414/14.54, allocations: 0.9667 MB / 3.701 GB, free: 30.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/14.54, allocations: 0.5401 MB / 3.701 GB, free: 30.31 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/14.54, allocations: 0 / 3.701 GB, free: 30.31 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6098/15.15, allocations: 55.56 MB / 3.756 GB, free: 95.79 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002163/15.15, allocations: 190.6 kB / 3.756 GB, free: 95.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.177/21.32, allocations: 2.125 kB / 3.756 GB, free: 95.59 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings_res.mat does not exist to compare? outputFormat=mat