Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.099/3.099, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.556e-05/2.56e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4324, allocations: 54.86 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.62/11.05, allocations: 2.648 GB / 2.994 GB, free: 104.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/11.05, allocations: 72.91 kB / 2.994 GB, free: 104.4 MB / 490.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 .... Notification: Performance of FrontEnd - DAE generated: time 5.144/16.2, allocations: 0.738 GB / 3.732 GB, free: 38.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.767e-06/16.2, allocations: 3.094 kB / 3.732 GB, free: 38.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002197/16.2, allocations: 41.38 kB / 3.732 GB, free: 38.05 MB / 0.4948 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.02047/16.22, allocations: 2.714 MB / 3.735 GB, free: 36.74 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/16.22, allocations: 9.719 kB / 3.735 GB, free: 36.74 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007622/16.22, allocations: 129.5 kB / 3.735 GB, free: 36.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009696/16.23, allocations: 0.5967 MB / 3.736 GB, free: 36.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005211/16.23, allocations: 1.095 MB / 3.737 GB, free: 36.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/16.23, allocations: 53.69 kB / 3.737 GB, free: 36.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005919/16.23, allocations: 63.09 kB / 3.737 GB, free: 36.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006605/16.24, allocations: 1.734 MB / 3.739 GB, free: 36.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005822/16.25, allocations: 1.552 MB / 3.74 GB, free: 35.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.351e-05/16.25, allocations: 5.531 kB / 3.74 GB, free: 35.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003479/16.25, allocations: 6.25 kB / 3.74 GB, free: 35.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002395/16.25, allocations: 82.19 kB / 3.74 GB, free: 35.93 MB / 0.4948 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 1.303/17.55, allocations: 136.7 MB / 3.874 GB, free: 81.67 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005752/17.55, allocations: 1.048 MB / 3.875 GB, free: 81.64 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002165/17.56, allocations: 0.5371 MB / 3.875 GB, free: 81.63 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1047/17.66, allocations: 17.41 MB / 3.892 GB, free: 70.76 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/17.66, allocations: 48.31 kB / 3.892 GB, free: 70.72 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003347/17.67, allocations: 168.8 kB / 3.893 GB, free: 70.72 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=91): time 1.48e-05/17.67, allocations: 2.625 kB / 3.893 GB, free: 70.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=129): time 0.1671/17.83, allocations: 9.748 MB / 3.902 GB, free: 70.23 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/17.83, allocations: 221.4 kB / 3.902 GB, free: 69.98 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/17.83, allocations: 0.7463 MB / 3.903 GB, free: 69.82 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007008/17.84, allocations: 25.7 kB / 3.903 GB, free: 69.79 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006732/17.84, allocations: 0.6502 MB / 3.904 GB, free: 69.53 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009987/17.84, allocations: 432 kB / 3.904 GB, free: 69.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004429/17.84, allocations: 0 / 3.904 GB, free: 69.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001641/17.84, allocations: 372.2 kB / 3.904 GB, free: 69 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004209/17.84, allocations: 1.26 MB / 3.906 GB, free: 69 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004537/17.85, allocations: 1.708 MB / 3.907 GB, free: 68.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/17.86, allocations: 1.89 MB / 3.909 GB, free: 68.49 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.937e-05/17.86, allocations: 3.938 kB / 3.909 GB, free: 68.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.02669/17.89, allocations: 4.659 MB / 3.914 GB, free: 68.35 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001186/17.89, allocations: 4.794 MB / 3.918 GB, free: 63.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.373e-05/17.89, allocations: 18.72 kB / 3.918 GB, free: 63.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03143/17.92, allocations: 3.958 MB / 3.922 GB, free: 63.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003294/17.92, allocations: 329.9 kB / 3.923 GB, free: 63.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02846/17.95, allocations: 5.755 MB / 3.928 GB, free: 62.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009685/17.96, allocations: 284.1 kB / 3.929 GB, free: 62.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009077/17.96, allocations: 123.2 kB / 3.929 GB, free: 62.26 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/17.96, allocations: 5.625 kB / 3.929 GB, free: 62.26 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02511/17.99, allocations: 2.906 MB / 3.932 GB, free: 62.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.226e-05/17.99, allocations: 13.81 kB / 3.932 GB, free: 62.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005804/17.99, allocations: 0.5676 MB / 3.932 GB, free: 62.19 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00525/18, allocations: 457.4 kB / 3.933 GB, free: 62.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00616/18.01, allocations: 1.787 MB / 3.934 GB, free: 61.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00505/18.01, allocations: 174.2 kB / 3.934 GB, free: 61.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005926/18.01, allocations: 95.23 kB / 3.935 GB, free: 61.14 MB / 0.5417 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.001342/18.01, allocations: 162.4 kB / 3.935 GB, free: 61.04 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000835/18.01, allocations: 136.9 kB / 3.935 GB, free: 60.97 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02745/18.04, allocations: 6.678 MB / 3.941 GB, free: 60.65 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.72e-05/18.04, allocations: 32.92 kB / 3.941 GB, free: 60.65 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/18.04, allocations: 0 / 3.941 GB, free: 60.65 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.587e-05/18.04, allocations: 11.11 kB / 3.941 GB, free: 60.65 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03378/18.08, allocations: 8.995 MB / 3.95 GB, free: 60.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-05/18.08, allocations: 0 / 3.95 GB, free: 60.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/18.08, allocations: 148.1 kB / 3.95 GB, free: 60.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02499/18.1, allocations: 5.239 MB / 3.955 GB, free: 59.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006209/18.1, allocations: 36.88 kB / 3.955 GB, free: 59.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03075/18.13, allocations: 6.902 MB / 3.962 GB, free: 58.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.358e-05/18.13, allocations: 3.844 kB / 3.962 GB, free: 58.86 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02605/18.16, allocations: 5.656 MB / 3.968 GB, free: 58.34 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002796/18.16, allocations: 0.6287 MB / 3.968 GB, free: 58.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/18.16, allocations: 6.469 kB / 3.968 GB, free: 58.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008442/18.17, allocations: 190.5 kB / 3.969 GB, free: 58.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006603/18.17, allocations: 92.94 kB / 3.969 GB, free: 58.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000573/18.17, allocations: 70.64 kB / 3.969 GB, free: 58.14 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002302/18.18, allocations: 0.7854 MB / 3.969 GB, free: 58.03 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.292e-06/18.18, allocations: 0 / 3.969 GB, free: 58.03 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01694/18.19, allocations: 2.058 MB / 3.971 GB, free: 57.95 MB / 0.5417 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.05796/18.25, allocations: 8.3 MB / 3.98 GB, free: 56.45 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.04976/18.3, allocations: 4.807 MB / 3.984 GB, free: 56.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/18.3, allocations: 5.328 kB / 3.984 GB, free: 56.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01917/18.32, allocations: 2.175 MB / 3.986 GB, free: 56.36 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008081/18.33, allocations: 491.9 kB / 3.987 GB, free: 56.34 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/18.35, allocations: 4.209 MB / 3.991 GB, free: 55.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001701/18.35, allocations: 1.461 MB / 3.992 GB, free: 54.87 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00891/18.36, allocations: 1.695 MB / 3.994 GB, free: 54.84 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002015/18.36, allocations: 0.6271 MB / 3.995 GB, free: 54.84 MB / 0.5417 GB Notification: Performance of SimCode: time 1.944e-06/18.36, allocations: 0 / 3.995 GB, free: 54.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.893/19.26, allocations: 106.9 MB / 4.099 GB, free: 80.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002692/19.26, allocations: 219 kB / 4.099 GB, free: 80.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.75/29.01, allocations: 0 / 4.099 GB, free: 80.23 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat