Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.414/2.414, allocations: 270 MB / 282.6 MB, free: 1.828 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.367e-05, allocations: 4 kB / 347 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4158, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.818/9.234, allocations: 2.823 GB / 3.223 GB, free: 81.12 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/9.234, allocations: 74.59 kB / 3.223 GB, free: 81.09 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 4.213/13.45, allocations: 0.7563 GB / 3.979 GB, free: 43.92 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.124e-06/13.45, allocations: 3.906 kB / 3.979 GB, free: 43.92 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001838/13.45, allocations: 38.73 kB / 3.979 GB, free: 43.91 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.01675/13.46, allocations: 2.722 MB / 3.982 GB, free: 42.62 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/13.46, allocations: 14.86 kB / 3.982 GB, free: 42.62 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006922/13.46, allocations: 167.7 kB / 3.982 GB, free: 42.58 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006924/13.47, allocations: 0.6022 MB / 3.982 GB, free: 42.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003901/13.48, allocations: 1.073 MB / 3.983 GB, free: 42.18 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/13.48, allocations: 92.64 kB / 3.984 GB, free: 42.17 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004144/13.48, allocations: 101.2 kB / 3.984 GB, free: 42.17 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00787/13.48, allocations: 2.245 MB / 3.986 GB, free: 41.83 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.703e-05/13.48, allocations: 4.875 kB / 3.986 GB, free: 41.83 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003123/13.48, allocations: 50.3 kB / 3.986 GB, free: 41.83 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002009/13.48, allocations: 84.59 kB / 3.986 GB, free: 41.82 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00861/13.49, allocations: 2.244 MB / 3.988 GB, free: 41.82 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.021/13.51, allocations: 9.203 MB / 3.997 GB, free: 36.79 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006352/13.52, allocations: 1.732 MB / 3.999 GB, free: 36.77 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/13.52, allocations: 0.6835 MB / 4 GB, free: 36.76 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07815/13.6, allocations: 24.53 MB / 4.023 GB, free: 21.66 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/13.6, allocations: 47.16 kB / 4.024 GB, free: 21.62 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002018/13.6, allocations: 216.1 kB / 4.024 GB, free: 21.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=109): time 4.518e-06/13.6, allocations: 0 / 4.024 GB, free: 21.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109): time 0.01287/13.62, allocations: 2.606 MB / 4.026 GB, free: 21.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/13.62, allocations: 216.7 kB / 4.026 GB, free: 21.15 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/13.62, allocations: 0.8239 MB / 4.027 GB, free: 20.99 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003711/13.62, allocations: 50.36 kB / 4.027 GB, free: 20.95 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/13.62, allocations: 0.5511 MB / 4.028 GB, free: 20.64 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004944/13.62, allocations: 372.7 kB / 4.028 GB, free: 20.41 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/13.62, allocations: 27.03 kB / 4.028 GB, free: 20.41 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001154/13.62, allocations: 360.5 kB / 4.029 GB, free: 20.09 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/13.62, allocations: 0.5465 MB / 4.029 GB, free: 20.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/13.62, allocations: 0.9065 MB / 4.03 GB, free: 19.68 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/13.62, allocations: 0.6678 MB / 4.031 GB, free: 19.65 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/13.62, allocations: 3.75 kB / 4.031 GB, free: 19.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004697/13.63, allocations: 1.757 MB / 4.032 GB, free: 19.56 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00203/13.63, allocations: 3.752 MB / 4.036 GB, free: 31.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-05/13.63, allocations: 8.438 kB / 4.036 GB, free: 31.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0546/13.69, allocations: 2.99 MB / 4.039 GB, free: 31.49 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/13.69, allocations: 281.2 kB / 4.039 GB, free: 31.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004244/13.69, allocations: 1.387 MB / 4.041 GB, free: 30.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/13.7, allocations: 152.5 kB / 4.041 GB, free: 30.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/13.7, allocations: 69.89 kB / 4.041 GB, free: 30.93 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/13.7, allocations: 3.938 kB / 4.041 GB, free: 30.93 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005668/13.7, allocations: 1.557 MB / 4.042 GB, free: 30.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/13.7, allocations: 14.75 kB / 4.042 GB, free: 30.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/13.7, allocations: 200 kB / 4.043 GB, free: 30.87 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003062/13.71, allocations: 345 kB / 4.043 GB, free: 30.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/13.71, allocations: 0.7402 MB / 4.044 GB, free: 30.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/13.71, allocations: 140.4 kB / 4.044 GB, free: 30.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002217/13.71, allocations: 65.14 kB / 4.044 GB, free: 30.33 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * 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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0005836/13.71, allocations: 184.3 kB / 4.044 GB, free: 30.22 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004392/13.71, allocations: 136.7 kB / 4.044 GB, free: 30.15 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/13.72, allocations: 5.486 MB / 4.049 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.377e-05/13.72, allocations: 63.44 kB / 4.05 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/13.72, allocations: 6.453 kB / 4.05 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-05/13.72, allocations: 11.22 kB / 4.05 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/13.74, allocations: 7.522 MB / 4.057 GB, free: 28.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/13.74, allocations: 3.25 kB / 4.057 GB, free: 28.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/13.74, allocations: 211.6 kB / 4.057 GB, free: 28.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04786/13.79, allocations: 4.283 MB / 4.061 GB, free: 28.72 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003572/13.79, allocations: 31.94 kB / 4.061 GB, free: 28.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004519/13.79, allocations: 2.342 MB / 4.064 GB, free: 28.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/13.79, allocations: 0 / 4.064 GB, free: 28.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006964/13.8, allocations: 3.506 MB / 4.067 GB, free: 27.65 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/13.8, allocations: 0.6493 MB / 4.068 GB, free: 27.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003932/13.8, allocations: 20.25 kB / 4.068 GB, free: 27.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/13.8, allocations: 128.1 kB / 4.068 GB, free: 27.35 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003121/13.8, allocations: 109.7 kB / 4.068 GB, free: 27.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/13.8, allocations: 40.75 kB / 4.068 GB, free: 27.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002087/13.8, allocations: 1.039 MB / 4.069 GB, free: 27.03 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.31e-07/13.8, allocations: 0 / 4.069 GB, free: 27.03 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009229/13.81, allocations: 1.958 MB / 4.071 GB, free: 26.62 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse36.phase,$cse36.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01844/13.83, allocations: 5.809 MB / 4.077 GB, free: 24.05 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0087/13.84, allocations: 2.678 MB / 4.079 GB, free: 22.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/13.84, allocations: 0 / 4.079 GB, free: 22.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003613/13.84, allocations: 1.383 MB / 4.08 GB, free: 20.92 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006686/13.85, allocations: 0.6787 MB / 4.081 GB, free: 20.43 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/13.86, allocations: 4.26 MB / 4.085 GB, free: 16.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/13.87, allocations: 1.615 MB / 4.087 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/13.87, allocations: 0.817 MB / 4.088 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/13.87, allocations: 0 / 4.088 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.954/18.82, allocations: 67.23 MB / 4.153 GB, free: 65.28 MB / 0.573 GB