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 2.533/2.533, allocations: 235.2 MB / 242.3 MB, free: 15.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.501e-05, allocations: 4 kB / 299.6 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4031, allocations: 54.86 MB / 354.5 MB, free: 14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.426/8.829, allocations: 2.648 GB / 2.994 GB, free: 125.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/8.83, allocations: 81.61 kB / 2.994 GB, free: 125.8 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 4.223/13.05, allocations: 0.737 GB / 3.731 GB, free: 37.35 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.274e-06/13.05, allocations: 6.562 kB / 3.731 GB, free: 37.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001584/13.05, allocations: 40.64 kB / 3.731 GB, free: 37.35 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.01704/13.07, allocations: 2.718 MB / 3.734 GB, free: 36.13 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/13.07, allocations: 9.406 kB / 3.734 GB, free: 36.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007503/13.08, allocations: 0.5983 MB / 3.735 GB, free: 36.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004331/13.08, allocations: 1.09 MB / 3.736 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/13.08, allocations: 48.25 kB / 3.736 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004539/13.08, allocations: 59.84 kB / 3.736 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005075/13.09, allocations: 1.746 MB / 3.738 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004356/13.09, allocations: 1.543 MB / 3.739 GB, free: 35.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.146e-05/13.09, allocations: 4.125 kB / 3.739 GB, free: 35.37 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/13.09, allocations: 3.781 kB / 3.739 GB, free: 35.37 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001792/13.09, allocations: 84.95 kB / 3.739 GB, free: 35.36 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 0.5643/13.66, allocations: 136.7 MB / 3.873 GB, free: 23.39 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003877/13.66, allocations: 1.049 MB / 3.874 GB, free: 22.82 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/13.66, allocations: 0.5377 MB / 3.874 GB, free: 22.54 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06006/13.72, allocations: 17.41 MB / 3.891 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.481e-05/13.72, allocations: 45.62 kB / 3.891 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001972/13.72, allocations: 181 kB / 3.891 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=91): time 5.731e-06/13.72, allocations: 0 / 3.891 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of matching and sorting (n=129): time 0.1329/13.86, allocations: 9.799 MB / 3.901 GB, free: 0 / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4146/14.27, allocations: 221.9 kB / 3.901 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/14.27, allocations: 0.748 MB / 3.902 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006556/14.27, allocations: 28.45 kB / 3.902 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006114/14.28, allocations: 0.6458 MB / 3.903 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008698/14.28, allocations: 428.4 kB / 3.903 GB, free: 100 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003802/14.28, allocations: 3.219 kB / 3.903 GB, free: 100 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001566/14.28, allocations: 371.9 kB / 3.903 GB, free: 99.72 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003879/14.28, allocations: 1.263 MB / 3.905 GB, free: 99.72 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004614/14.29, allocations: 1.704 MB / 3.906 GB, free: 99.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01296/14.3, allocations: 1.883 MB / 3.908 GB, free: 99.22 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.25e-05/14.3, allocations: 5.688 kB / 3.908 GB, free: 99.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.02305/14.32, allocations: 4.664 MB / 3.913 GB, free: 99.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001152/14.32, allocations: 4.803 MB / 3.917 GB, free: 94.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-05/14.32, allocations: 13.28 kB / 3.917 GB, free: 94.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02566/14.35, allocations: 3.955 MB / 3.921 GB, free: 94.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00267/14.35, allocations: 327.4 kB / 3.922 GB, free: 94.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02312/14.37, allocations: 5.746 MB / 3.927 GB, free: 93.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007745/14.38, allocations: 283.1 kB / 3.927 GB, free: 93.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006072/14.38, allocations: 123.8 kB / 3.928 GB, free: 93.01 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/14.38, allocations: 7.453 kB / 3.928 GB, free: 93.01 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02032/14.4, allocations: 2.903 MB / 3.93 GB, free: 92.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.751e-05/14.4, allocations: 12.88 kB / 3.93 GB, free: 92.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004698/14.41, allocations: 0.5664 MB / 3.931 GB, free: 92.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004311/14.41, allocations: 455.2 kB / 3.931 GB, free: 92.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005206/14.42, allocations: 1.785 MB / 3.933 GB, free: 91.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004395/14.42, allocations: 176.4 kB / 3.933 GB, free: 91.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006348/14.42, allocations: 97.2 kB / 3.933 GB, free: 91.9 MB / 0.5573 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.001149/14.42, allocations: 169.1 kB / 3.934 GB, free: 91.79 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01884/14.44, allocations: 4.118 MB / 3.938 GB, free: 91.64 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008533/14.44, allocations: 126.2 kB / 3.938 GB, free: 91.58 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02275/14.47, allocations: 6.68 MB / 3.944 GB, free: 91.27 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.457e-05/14.47, allocations: 36.89 kB / 3.944 GB, free: 91.27 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/14.47, allocations: 3.953 kB / 3.944 GB, free: 91.27 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.623e-05/14.47, allocations: 9.469 kB / 3.944 GB, free: 91.27 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02784/14.49, allocations: 8.994 MB / 3.953 GB, free: 90.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/14.49, allocations: 5.172 kB / 3.953 GB, free: 90.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/14.5, allocations: 139.4 kB / 3.953 GB, free: 90.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01951/14.52, allocations: 5.248 MB / 3.958 GB, free: 90.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005327/14.52, allocations: 43.14 kB / 3.958 GB, free: 90.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02298/14.54, allocations: 6.896 MB / 3.965 GB, free: 89.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/14.54, allocations: 7.156 kB / 3.965 GB, free: 89.47 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01994/14.56, allocations: 5.644 MB / 3.971 GB, free: 88.97 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/14.56, allocations: 0.622 MB / 3.971 GB, free: 88.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008261/14.56, allocations: 7.203 kB / 3.971 GB, free: 88.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006372/14.57, allocations: 199.8 kB / 3.971 GB, free: 88.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000576/14.57, allocations: 91.91 kB / 3.972 GB, free: 88.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003804/14.57, allocations: 67.52 kB / 3.972 GB, free: 88.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001703/14.57, allocations: 0.7847 MB / 3.972 GB, free: 88.66 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.91e-07/14.57, allocations: 0 / 3.972 GB, free: 88.66 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01057/14.58, allocations: 2.057 MB / 3.974 GB, free: 88.58 MB / 0.5573 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.03152/14.61, allocations: 8.308 MB / 3.982 GB, free: 87.09 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02205/14.64, allocations: 4.807 MB / 3.987 GB, free: 87.03 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/14.64, allocations: 0 / 3.987 GB, free: 87.03 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01153/14.65, allocations: 2.172 MB / 3.989 GB, free: 87 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004916/14.65, allocations: 489.2 kB / 3.99 GB, free: 86.99 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/14.67, allocations: 4.216 MB / 3.994 GB, free: 86.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/14.67, allocations: 1.457 MB / 3.995 GB, free: 85.51 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005572/14.67, allocations: 1.699 MB / 3.997 GB, free: 85.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/14.68, allocations: 0.6295 MB / 3.998 GB, free: 85.48 MB / 0.5573 GB Notification: Performance of SimCode: time 1.552e-06/14.68, allocations: 0 / 3.998 GB, free: 85.48 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7059/15.38, allocations: 104.8 MB / 4.1 GB, free: 93.13 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003301/15.38, allocations: 219.2 kB / 4.1 GB, free: 92.85 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.486/22.87, allocations: 0.7031 kB / 4.1 GB, free: 92.85 MB / 0.5573 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