Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.47/2.47, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.727e-05/3.735e-05, allocations: 0 / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1438, allocations: 61.89 MB / 410.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.75/8.894, allocations: 2.823 GB / 3.224 GB, free: 24.29 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/8.894, allocations: 77.58 kB / 3.224 GB, free: 24.25 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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.528/13.42, allocations: 0.7563 GB / 3.98 GB, free: 45.14 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.813e-06/13.42, allocations: 0 / 3.98 GB, free: 45.14 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001356/13.42, allocations: 40.56 kB / 3.98 GB, free: 45.13 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.01636/13.44, allocations: 2.724 MB / 3.983 GB, free: 43.76 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/13.44, allocations: 9.969 kB / 3.983 GB, free: 43.76 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006889/13.44, allocations: 167.6 kB / 3.983 GB, free: 43.72 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006929/13.45, allocations: 0.5954 MB / 3.984 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00391/13.45, allocations: 1.071 MB / 3.985 GB, free: 43.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/13.45, allocations: 94.56 kB / 3.985 GB, free: 43.31 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003678/13.45, allocations: 106.6 kB / 3.985 GB, free: 43.31 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007633/13.46, allocations: 2.242 MB / 3.987 GB, free: 42.96 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/13.46, allocations: 3.938 kB / 3.987 GB, free: 42.96 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002908/13.46, allocations: 51.19 kB / 3.987 GB, free: 42.96 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001655/13.46, allocations: 87.56 kB / 3.987 GB, free: 42.95 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007813/13.47, allocations: 2.246 MB / 3.99 GB, free: 42.92 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.02031/13.49, allocations: 9.197 MB / 3.999 GB, free: 37.85 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006199/13.49, allocations: 1.742 MB / 4 GB, free: 37.81 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001778/13.5, allocations: 0.6741 MB / 4.001 GB, free: 37.64 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07931/13.57, allocations: 24.52 MB / 4.025 GB, free: 21.56 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/13.57, allocations: 50.81 kB / 4.025 GB, free: 21.51 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001992/13.58, allocations: 204 kB / 4.025 GB, free: 21.43 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=109): time 4.969e-06/13.58, allocations: 0 / 4.025 GB, free: 21.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109): time 0.01297/13.59, allocations: 2.607 MB / 4.028 GB, free: 20.62 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.951e-05/13.59, allocations: 220.6 kB / 4.028 GB, free: 20.37 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/13.59, allocations: 0.8271 MB / 4.029 GB, free: 20 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004228/13.59, allocations: 47.45 kB / 4.029 GB, free: 19.96 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004927/13.59, allocations: 0.5565 MB / 4.029 GB, free: 19.51 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005105/13.59, allocations: 371.2 kB / 4.03 GB, free: 19.23 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/13.59, allocations: 27.25 kB / 4.03 GB, free: 19.21 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001149/13.59, allocations: 356.3 kB / 4.03 GB, free: 18.88 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/13.59, allocations: 0.5525 MB / 4.031 GB, free: 18.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/13.6, allocations: 0.9056 MB / 4.031 GB, free: 18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/13.6, allocations: 0.6723 MB / 4.032 GB, free: 17.73 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/13.6, allocations: 7 kB / 4.032 GB, free: 17.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004995/13.6, allocations: 1.822 MB / 4.034 GB, free: 17 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008479/13.6, allocations: 3.755 MB / 4.038 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/13.6, allocations: 10.97 kB / 4.038 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05465/13.66, allocations: 2.993 MB / 4.04 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/13.66, allocations: 277.1 kB / 4.041 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004141/13.67, allocations: 1.386 MB / 4.042 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00302/13.67, allocations: 145.5 kB / 4.042 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003467/13.67, allocations: 73.17 kB / 4.042 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/13.67, allocations: 1.75 kB / 4.042 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005786/13.67, allocations: 1.565 MB / 4.044 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/13.68, allocations: 13.22 kB / 4.044 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/13.68, allocations: 200.1 kB / 4.044 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003216/13.68, allocations: 347.9 kB / 4.044 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/13.68, allocations: 0.735 MB / 4.045 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/13.68, allocations: 139.1 kB / 4.045 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002852/13.68, allocations: 70.05 kB / 4.045 GB, free: 10 MB / 0.5417 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.0006202/13.69, allocations: 192.6 kB / 4.045 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000412/13.69, allocations: 126.5 kB / 4.046 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/13.7, allocations: 5.504 MB / 4.051 GB, free: 4.77 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.731e-05/13.7, allocations: 60.33 kB / 4.051 GB, free: 4.734 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/13.7, allocations: 0 / 4.051 GB, free: 4.734 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.414e-05/13.7, allocations: 9.672 kB / 4.051 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01716/13.71, allocations: 7.643 MB / 4.058 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/13.71, allocations: 0 / 4.058 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/13.72, allocations: 209.8 kB / 4.059 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0496/13.76, allocations: 4.287 MB / 4.063 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004014/13.77, allocations: 28 kB / 4.063 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00503/13.77, allocations: 2.348 MB / 4.065 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/13.77, allocations: 4 kB / 4.065 GB, free: 8.77 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008085/13.78, allocations: 3.502 MB / 4.069 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/13.78, allocations: 0.6428 MB / 4.069 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003859/13.78, allocations: 28 kB / 4.069 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/13.78, allocations: 128.8 kB / 4.069 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003387/13.78, allocations: 107.3 kB / 4.069 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001577/13.78, allocations: 43.52 kB / 4.07 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002423/13.79, allocations: 1.036 MB / 4.071 GB, free: 3.785 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.41e-07/13.79, allocations: 0 / 4.071 GB, free: 3.785 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01078/13.8, allocations: 1.96 MB / 4.072 GB, free: 1.863 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.4775/14.27, allocations: 5.801 MB / 4.078 GB, free: 59.51 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01091/14.29, allocations: 2.711 MB / 4.081 GB, free: 59.46 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/14.29, allocations: 1.094 kB / 4.081 GB, free: 59.46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004554/14.29, allocations: 1.384 MB / 4.082 GB, free: 59.45 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006967/14.3, allocations: 0.6815 MB / 4.083 GB, free: 59.42 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/14.31, allocations: 4.216 MB / 4.087 GB, free: 58.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/14.32, allocations: 1.626 MB / 4.088 GB, free: 57.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006289/14.32, allocations: 1.531 MB / 4.09 GB, free: 57.88 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001822/14.32, allocations: 0.794 MB / 4.091 GB, free: 57.87 MB / 0.5573 GB Notification: Performance of SimCode: time 1.583e-06/14.32, allocations: 0 / 4.091 GB, free: 57.87 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2849/14.61, allocations: 94.33 MB / 4.183 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000284/14.61, allocations: 250 kB / 4.183 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.5/22.11, allocations: 0 / 4.183 GB, free: 53.68 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat