Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.541/2.541, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.3e-05, allocations: 0 / 323.5 MB, free: 4.238 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4148, allocations: 58.85 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.927/9.342, allocations: 2.818 GB / 3.191 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/9.343, allocations: 75.7 kB / 3.191 GB, free: 109.2 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 .... Notification: Performance of FrontEnd - DAE generated: time 4.115/13.46, allocations: 0.7481 GB / 3.94 GB, free: 40.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.974e-06/13.46, allocations: 0 / 3.94 GB, free: 40.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001433/13.46, allocations: 39.53 kB / 3.94 GB, free: 40.17 MB / 0.5261 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.01554/13.47, allocations: 2.721 MB / 3.942 GB, free: 38.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/13.47, allocations: 9.906 kB / 3.942 GB, free: 38.98 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000638/13.47, allocations: 178.4 kB / 3.942 GB, free: 38.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006592/13.48, allocations: 0.6024 MB / 3.943 GB, free: 38.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003789/13.48, allocations: 1.059 MB / 3.944 GB, free: 38.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/13.48, allocations: 93.81 kB / 3.944 GB, free: 38.53 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003247/13.49, allocations: 110.3 kB / 3.944 GB, free: 38.53 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00739/13.49, allocations: 2.24 MB / 3.946 GB, free: 38.19 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-05/13.49, allocations: 6.875 kB / 3.946 GB, free: 38.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002706/13.49, allocations: 46.69 kB / 3.947 GB, free: 38.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001673/13.49, allocations: 88.66 kB / 3.947 GB, free: 38.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007764/13.5, allocations: 2.246 MB / 3.949 GB, free: 38.18 MB / 0.5261 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.02028/13.52, allocations: 9.199 MB / 3.958 GB, free: 33.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006618/13.53, allocations: 1.745 MB / 3.959 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/13.53, allocations: 0.6811 MB / 3.96 GB, free: 33.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07732/13.61, allocations: 24.51 MB / 3.984 GB, free: 34.17 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.543e-05/13.61, allocations: 48.08 kB / 3.984 GB, free: 34.13 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002065/13.61, allocations: 212.3 kB / 3.984 GB, free: 34.07 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=109): time 6.301e-06/13.61, allocations: 0 / 3.984 GB, free: 34.07 MB / 0.5418 GB Notification: Performance of matching and sorting (n=109): time 0.01309/13.62, allocations: 2.599 MB / 3.987 GB, free: 33.95 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/13.62, allocations: 221.7 kB / 3.987 GB, free: 33.69 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002378/13.63, allocations: 0.8202 MB / 3.988 GB, free: 33.54 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.000544/13.63, allocations: 45.42 kB / 3.988 GB, free: 33.5 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007464/13.63, allocations: 0.5658 MB / 3.988 GB, free: 33.26 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008685/13.63, allocations: 379.7 kB / 3.989 GB, free: 33.02 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/13.63, allocations: 28.25 kB / 3.989 GB, free: 33.02 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0002412/13.63, allocations: 351.6 kB / 3.989 GB, free: 32.71 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/13.63, allocations: 0.5487 MB / 3.99 GB, free: 32.71 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002852/13.63, allocations: 0.9089 MB / 3.991 GB, free: 32.3 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/13.64, allocations: 0.6635 MB / 3.991 GB, free: 32.29 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.311e-05/13.64, allocations: 3.531 kB / 3.991 GB, free: 32.29 MB / 0.5418 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.008366/13.64, allocations: 1.835 MB / 3.993 GB, free: 32.17 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.002013/13.65, allocations: 3.749 MB / 3.997 GB, free: 28.27 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.977e-05/13.65, allocations: 8.438 kB / 3.997 GB, free: 28.27 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07509/13.72, allocations: 2.981 MB / 4 GB, free: 28.21 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003325/13.73, allocations: 281.6 kB / 4 GB, free: 28.2 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006997/13.73, allocations: 1.385 MB / 4.001 GB, free: 27.67 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00444/13.74, allocations: 142.8 kB / 4.001 GB, free: 27.65 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005197/13.74, allocations: 70.45 kB / 4.001 GB, free: 27.65 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/13.74, allocations: 7.172 kB / 4.001 GB, free: 27.65 MB / 0.5418 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008326/13.75, allocations: 1.562 MB / 4.003 GB, free: 27.61 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.905e-05/13.75, allocations: 9.859 kB / 4.003 GB, free: 27.61 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/13.75, allocations: 198.3 kB / 4.003 GB, free: 27.59 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003259/13.75, allocations: 341.4 kB / 4.004 GB, free: 27.59 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/13.75, allocations: 0.7388 MB / 4.004 GB, free: 27.07 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/13.76, allocations: 141.7 kB / 4.004 GB, free: 27.05 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003474/13.76, allocations: 75.47 kB / 4.004 GB, free: 27.05 MB / 0.5418 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.0006237/13.76, allocations: 196.6 kB / 4.005 GB, free: 26.93 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004293/13.76, allocations: 133.1 kB / 4.005 GB, free: 26.86 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/13.77, allocations: 5.506 MB / 4.01 GB, free: 26.25 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.002e-05/13.77, allocations: 57.64 kB / 4.01 GB, free: 26.25 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/13.77, allocations: 0 / 4.01 GB, free: 26.25 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.77e-05/13.77, allocations: 10 kB / 4.01 GB, free: 26.24 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/13.78, allocations: 7.52 MB / 4.018 GB, free: 25.61 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/13.78, allocations: 0 / 4.018 GB, free: 25.61 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/13.78, allocations: 209.2 kB / 4.018 GB, free: 25.61 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0489/13.83, allocations: 4.284 MB / 4.022 GB, free: 25.43 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003672/13.83, allocations: 30.89 kB / 4.022 GB, free: 25.43 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004323/13.84, allocations: 2.346 MB / 4.024 GB, free: 24.86 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/13.84, allocations: 3.062 kB / 4.024 GB, free: 24.86 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00683/13.85, allocations: 3.504 MB / 4.028 GB, free: 24.35 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/13.85, allocations: 0.6414 MB / 4.028 GB, free: 24.07 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004432/13.85, allocations: 30.08 kB / 4.028 GB, free: 24.07 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/13.85, allocations: 129.8 kB / 4.028 GB, free: 24.05 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003308/13.85, allocations: 96.41 kB / 4.029 GB, free: 24.05 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/13.85, allocations: 44.08 kB / 4.029 GB, free: 24.05 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.002035/13.85, allocations: 1.037 MB / 4.03 GB, free: 23.93 MB / 0.5418 GB Notification: Performance of sort global known variables: time 6.21e-07/13.85, allocations: 0 / 4.03 GB, free: 23.93 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.009038/13.86, allocations: 1.955 MB / 4.032 GB, free: 23.66 MB / 0.5418 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.01967/13.88, allocations: 5.8 MB / 4.037 GB, free: 22.11 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.009436/13.89, allocations: 2.716 MB / 4.04 GB, free: 22.05 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/13.89, allocations: 0 / 4.04 GB, free: 22.05 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.003824/13.89, allocations: 1.381 MB / 4.041 GB, free: 22.03 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006362/13.9, allocations: 0.6837 MB / 4.042 GB, free: 21.97 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/13.92, allocations: 4.221 MB / 4.046 GB, free: 20.92 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/13.92, allocations: 1.628 MB / 4.048 GB, free: 20.15 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.004973/13.92, allocations: 1.534 MB / 4.049 GB, free: 20.08 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/13.92, allocations: 0.7942 MB / 4.05 GB, free: 20.07 MB / 0.5418 GB Notification: Performance of SimCode: time 2.054e-06/13.92, allocations: 0 / 4.05 GB, free: 20.07 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7133/14.64, allocations: 94.18 MB / 4.142 GB, free: 64.32 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002996/14.64, allocations: 250.9 kB / 4.142 GB, free: 63.99 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.802/21.44, allocations: 3.938 kB / 4.142 GB, free: 63.99 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat