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.629/2.629, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.494e-05/3.503e-05, allocations: 7.312 kB / 249.8 MB, free: 5.27 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1283, allocations: 44.51 MB / 294.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.77/10.9, allocations: 2.584 GB / 2.871 GB, free: 9.297 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/10.9, allocations: 80.7 kB / 2.871 GB, free: 9.258 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.46/14.36, allocations: 496.4 MB / 3.356 GB, free: 500 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.644e-06/14.36, allocations: 0 / 3.356 GB, free: 500 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000188/14.36, allocations: 35.69 kB / 3.356 GB, free: 468 kB / 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.01568/14.37, allocations: 2.196 MB / 3.358 GB, free: 14.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.094e-05/14.37, allocations: 8.031 kB / 3.358 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007075/14.37, allocations: 117.5 kB / 3.358 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/14.39, allocations: 0.7137 MB / 3.359 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004442/14.39, allocations: 0.9424 MB / 3.36 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/14.39, allocations: 42.02 kB / 3.36 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004782/14.39, allocations: 59.95 kB / 3.36 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005061/14.4, allocations: 1.066 MB / 3.361 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00522/14.4, allocations: 1.236 MB / 3.362 GB, free: 9.871 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.859e-05/14.4, allocations: 3.938 kB / 3.362 GB, free: 9.867 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002749/14.4, allocations: 4 kB / 3.362 GB, free: 9.863 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.256e-05/14.4, allocations: 28 kB / 3.362 GB, free: 9.836 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.232/16.63, allocations: 264.1 MB / 3.62 GB, free: 64.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/16.63, allocations: 0.5291 MB / 3.621 GB, free: 64.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007827/16.64, allocations: 280.2 kB / 3.621 GB, free: 64.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2307/16.87, allocations: 47.3 MB / 3.667 GB, free: 36.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/16.87, allocations: 45 kB / 3.667 GB, free: 36.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=49): time 3.977e-06/16.87, allocations: 0 / 3.667 GB, free: 36.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.01003/16.88, allocations: 1.508 MB / 3.669 GB, free: 36.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/16.88, allocations: 186.4 kB / 3.669 GB, free: 36.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/16.88, allocations: 0.8683 MB / 3.67 GB, free: 36.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/16.88, allocations: 25.7 kB / 3.67 GB, free: 36.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007426/16.88, allocations: 0.696 MB / 3.671 GB, free: 35.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/16.88, allocations: 183.6 kB / 3.671 GB, free: 35.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/16.88, allocations: 0 / 3.671 GB, free: 35.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/16.88, allocations: 350.3 kB / 3.671 GB, free: 35.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/16.88, allocations: 313.9 kB / 3.671 GB, free: 35.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/16.88, allocations: 0.7915 MB / 3.672 GB, free: 34.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00584/16.89, allocations: 0.7211 MB / 3.673 GB, free: 34.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.071e-05/16.89, allocations: 3.906 kB / 3.673 GB, free: 34.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00866/16.9, allocations: 1.524 MB / 3.674 GB, free: 34.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/16.9, allocations: 11.16 kB / 3.674 GB, free: 34.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-05/16.9, allocations: 20.55 kB / 3.674 GB, free: 34.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008832/16.9, allocations: 182.1 kB / 3.675 GB, free: 34.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003674/16.9, allocations: 331.7 kB / 3.675 GB, free: 34.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/16.9, allocations: 1.645 MB / 3.676 GB, free: 33.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/16.91, allocations: 160.7 kB / 3.677 GB, free: 33.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002196/16.91, allocations: 80.06 kB / 3.677 GB, free: 33.46 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.000361/16.91, allocations: 156.1 kB / 3.677 GB, free: 33.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003284/16.91, allocations: 119.3 kB / 3.677 GB, free: 33.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008201/16.92, allocations: 3.008 MB / 3.68 GB, free: 33.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.783e-05/16.92, allocations: 20.91 kB / 3.68 GB, free: 33.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/16.92, allocations: 0 / 3.68 GB, free: 33.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/16.92, allocations: 3.609 kB / 3.68 GB, free: 33.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/16.92, allocations: 1.336 MB / 3.681 GB, free: 32.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/16.92, allocations: 7.656 kB / 3.681 GB, free: 32.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002348/16.92, allocations: 135.3 kB / 3.681 GB, free: 32.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004866/16.93, allocations: 2.137 MB / 3.683 GB, free: 32.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001779/16.93, allocations: 7.031 kB / 3.683 GB, free: 32.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004997/16.93, allocations: 2.994 MB / 3.686 GB, free: 31.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/16.93, allocations: 0 / 3.686 GB, free: 31.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005922/16.94, allocations: 2.179 MB / 3.689 GB, free: 30.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008366/16.94, allocations: 294.7 kB / 3.689 GB, free: 30.72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004077/16.94, allocations: 3.609 kB / 3.689 GB, free: 30.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/16.94, allocations: 26.47 kB / 3.689 GB, free: 30.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/16.94, allocations: 34.89 kB / 3.689 GB, free: 30.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-05/16.94, allocations: 23.73 kB / 3.689 GB, free: 30.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001916/16.94, allocations: 0.7819 MB / 3.69 GB, free: 30.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.02e-07/16.94, allocations: 0 / 3.69 GB, free: 30.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008/16.95, allocations: 1.284 MB / 3.691 GB, free: 29.14 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.01954/16.97, allocations: 3.881 MB / 3.695 GB, free: 26.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005564/16.98, allocations: 0.9743 MB / 3.696 GB, free: 25.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/16.98, allocations: 0 / 3.696 GB, free: 25.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003526/16.98, allocations: 0.5013 MB / 3.696 GB, free: 25.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005524/16.99, allocations: 427 kB / 3.697 GB, free: 25.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/17, allocations: 2.15 MB / 3.699 GB, free: 23.63 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009609/17, allocations: 1.195 MB / 3.7 GB, free: 22.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003721/17, allocations: 0.9692 MB / 3.701 GB, free: 22.03 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/17, allocations: 0.539 MB / 3.701 GB, free: 21.94 MB / 490.7 MB Notification: Performance of SimCode: time 2.033e-06/17, allocations: 1.125 kB / 3.701 GB, free: 21.94 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6685/17.67, allocations: 56.39 MB / 3.756 GB, free: 96.78 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003267/17.67, allocations: 187.4 kB / 3.757 GB, free: 96.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.123/24.79, allocations: 3.406 kB / 3.757 GB, free: 96.59 MB / 490.7 MB