Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.931/1.931, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.916e-05/1.922e-05, allocations: 3.984 kB / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1078, allocations: 48.7 MB / 316.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.779/7.887, allocations: 2.538 GB / 2.847 GB, free: 54.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/7.887, allocations: 80.31 kB / 2.847 GB, free: 54.84 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.704/11.59, allocations: 0.718 GB / 3.565 GB, free: 7.121 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.104e-06/11.59, allocations: 0 / 3.565 GB, free: 7.121 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001937/11.59, allocations: 40.16 kB / 3.565 GB, free: 7.082 MB / 458.7 MB 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.01649/11.61, allocations: 2.626 MB / 3.567 GB, free: 4.418 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/11.61, allocations: 8.031 kB / 3.567 GB, free: 4.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006973/11.61, allocations: 0.5806 MB / 3.568 GB, free: 3.828 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004365/11.62, allocations: 1.086 MB / 3.569 GB, free: 2.719 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/11.62, allocations: 47.94 kB / 3.569 GB, free: 2.672 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004035/11.62, allocations: 60.34 kB / 3.569 GB, free: 2.613 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005203/11.63, allocations: 1.746 MB / 3.571 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3792/12, allocations: 1.54 MB / 3.572 GB, free: 32.63 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.988e-05/12, allocations: 6.531 kB / 3.572 GB, free: 32.63 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003083/12, allocations: 4.219 kB / 3.572 GB, free: 32.63 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000305/12.01, allocations: 84.14 kB / 3.572 GB, free: 32.63 MB / 458.7 MB 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.5429/12.55, allocations: 136.6 MB / 3.706 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003714/12.55, allocations: 1.047 MB / 3.707 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/12.55, allocations: 0.5342 MB / 3.707 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05397/12.61, allocations: 17.41 MB / 3.724 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/12.61, allocations: 48.19 kB / 3.724 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001847/12.61, allocations: 173.4 kB / 3.724 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=91): time 5.16e-06/12.61, allocations: 0 / 3.724 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=129): time 0.1148/12.72, allocations: 9.747 MB / 3.734 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/12.72, allocations: 226.6 kB / 3.734 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/12.73, allocations: 0.7392 MB / 3.735 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004859/12.73, allocations: 28.8 kB / 3.735 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005349/12.73, allocations: 0.6465 MB / 3.736 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006631/12.73, allocations: 433.5 kB / 3.736 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/12.73, allocations: 0 / 3.736 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001984/12.73, allocations: 369.3 kB / 3.736 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002915/12.73, allocations: 1.262 MB / 3.738 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003185/12.73, allocations: 1.701 MB / 3.739 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/12.75, allocations: 1.893 MB / 3.741 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-05/12.75, allocations: 4 kB / 3.741 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01966/12.76, allocations: 4.666 MB / 3.746 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.3631/13.13, allocations: 4.792 MB / 3.75 GB, free: 93.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-05/13.13, allocations: 11.88 kB / 3.75 GB, free: 93.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02541/13.15, allocations: 3.96 MB / 3.754 GB, free: 93.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002671/13.16, allocations: 324.8 kB / 3.755 GB, free: 93.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02398/13.18, allocations: 5.758 MB / 3.76 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007209/13.19, allocations: 281.3 kB / 3.76 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007064/13.19, allocations: 123 kB / 3.761 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/13.19, allocations: 4.156 kB / 3.761 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01972/13.21, allocations: 2.898 MB / 3.763 GB, free: 92.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.046e-05/13.21, allocations: 12.84 kB / 3.763 GB, free: 92.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004364/13.21, allocations: 0.5716 MB / 3.764 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004044/13.22, allocations: 454.6 kB / 3.764 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004664/13.22, allocations: 1.789 MB / 3.766 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003936/13.23, allocations: 181.5 kB / 3.766 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004591/13.23, allocations: 97.06 kB / 3.766 GB, free: 91.38 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.orifice.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate in design flow direction" type: Real $DER.pipe1.flowModel.states[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy" type: Real [2] $DER.pipe1.flowModel.mus_act[1]:DUMMY_DER(fixed = false ) "Actual viscosity per segment" type: Real [1] $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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,pump.heatTransfer.states[1].phase,source.medium.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 (154): * Single equations (assignments): 152 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 21,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.001068/13.23, allocations: 163.1 kB / 3.767 GB, free: 91.27 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01742/13.24, allocations: 4.111 MB / 3.771 GB, free: 91.19 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008872/13.25, allocations: 130.8 kB / 3.771 GB, free: 91.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02092/13.27, allocations: 6.686 MB / 3.777 GB, free: 90.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.016e-05/13.27, allocations: 34.91 kB / 3.777 GB, free: 90.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/13.27, allocations: 3.219 kB / 3.777 GB, free: 90.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.804e-05/13.27, allocations: 7.781 kB / 3.777 GB, free: 90.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02538/13.29, allocations: 8.985 MB / 3.786 GB, free: 90.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/13.29, allocations: 10.58 kB / 3.786 GB, free: 90.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/13.29, allocations: 145.3 kB / 3.786 GB, free: 90.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01749/13.31, allocations: 5.241 MB / 3.791 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005021/13.31, allocations: 44.11 kB / 3.791 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02076/13.33, allocations: 6.899 MB / 3.798 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/13.33, allocations: 4.312 kB / 3.798 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01803/13.35, allocations: 5.655 MB / 3.804 GB, free: 88.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002196/13.35, allocations: 0.6253 MB / 3.804 GB, free: 88.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008044/13.35, allocations: 6.906 kB / 3.804 GB, free: 88.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005477/13.36, allocations: 193.8 kB / 3.804 GB, free: 88.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004067/13.36, allocations: 90.45 kB / 3.805 GB, free: 88.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003132/13.36, allocations: 75.22 kB / 3.805 GB, free: 88.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001596/13.36, allocations: 0.7783 MB / 3.805 GB, free: 88.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.21e-07/13.36, allocations: 1.969 kB / 3.805 GB, free: 88.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01085/13.37, allocations: 2.046 MB / 3.807 GB, free: 88.29 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse21.phase,$cse21.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 21,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.03091/13.4, allocations: 8.298 MB / 3.815 GB, free: 86.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02114/13.42, allocations: 4.81 MB / 3.82 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/13.42, allocations: 0 / 3.82 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01094/13.44, allocations: 2.175 MB / 3.822 GB, free: 86.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004913/13.44, allocations: 479.5 kB / 3.823 GB, free: 86.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/13.46, allocations: 4.207 MB / 3.827 GB, free: 86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/13.46, allocations: 1.459 MB / 3.828 GB, free: 85.28 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005799/13.46, allocations: 1.696 MB / 3.83 GB, free: 85.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00151/13.46, allocations: 0.63 MB / 3.831 GB, free: 85.25 MB / 0.5105 GB Notification: Performance of SimCode: time 1.623e-06/13.46, allocations: 3.469 kB / 3.831 GB, free: 85.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6307/14.1, allocations: 104.6 MB / 3.933 GB, free: 92.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/14.1, allocations: 210.8 kB / 3.933 GB, free: 91.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.79/20.89, allocations: 0 / 3.933 GB, free: 91.81 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat