Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|eps_m_flow_turbulent|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|orifice.port_b.m_flow|orifice.port_b.p|orifice.port_b.h_outflow|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|p_set.y|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") Notification: Performance of loadModel(ModelicaTest): time 2.579/2.579, allocations: 270.1 MB / 283.6 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.31e-05, allocations: 4 kB / 348.4 MB, free: 2.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3505, allocations: 61.86 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.065/7.416, allocations: 2.823 GB / 3.224 GB, free: 99.36 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/7.416, allocations: 79.83 kB / 3.224 GB, free: 99.32 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 3.601/11.02, allocations: 0.7563 GB / 3.98 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.821e-06/11.02, allocations: 0 / 3.98 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001691/11.02, allocations: 42.56 kB / 3.98 GB, free: 50.04 MB / 0.5573 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.01238/11.03, allocations: 2.718 MB / 3.983 GB, free: 49 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/11.03, allocations: 9.875 kB / 3.983 GB, free: 49 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006395/11.04, allocations: 0.5994 MB / 3.984 GB, free: 48.92 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003486/11.04, allocations: 1.069 MB / 3.985 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/11.04, allocations: 92.22 kB / 3.985 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004981/11.04, allocations: 107.8 kB / 3.985 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007618/11.05, allocations: 2.244 MB / 3.987 GB, free: 48.25 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.483e-05/11.05, allocations: 8.562 kB / 3.987 GB, free: 48.25 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002923/11.05, allocations: 48.47 kB / 3.987 GB, free: 48.25 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/11.05, allocations: 86.33 kB / 3.987 GB, free: 48.24 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007919/11.06, allocations: 2.241 MB / 3.989 GB, free: 48.23 MB / 0.5573 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.01783/11.07, allocations: 9.187 MB / 3.998 GB, free: 43.22 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005798/11.08, allocations: 1.74 MB / 4 GB, free: 43.19 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/11.08, allocations: 0.6831 MB / 4.001 GB, free: 43.18 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05558/11.14, allocations: 24.51 MB / 4.025 GB, free: 28.25 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/11.14, allocations: 49.53 kB / 4.025 GB, free: 28.21 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001643/11.14, allocations: 208.9 kB / 4.025 GB, free: 28.16 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=109): time 5.908e-06/11.14, allocations: 0 / 4.025 GB, free: 28.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=109): time 0.01161/11.15, allocations: 2.606 MB / 4.027 GB, free: 28.02 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/11.15, allocations: 226.7 kB / 4.028 GB, free: 27.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/11.15, allocations: 0.8216 MB / 4.028 GB, free: 27.61 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003328/11.15, allocations: 48.8 kB / 4.028 GB, free: 27.57 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/11.15, allocations: 0.5528 MB / 4.029 GB, free: 27.33 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004357/11.15, allocations: 387.8 kB / 4.029 GB, free: 27.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/11.15, allocations: 22.47 kB / 4.029 GB, free: 27.09 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001027/11.15, allocations: 354.2 kB / 4.03 GB, free: 26.79 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/11.16, allocations: 0.5528 MB / 4.03 GB, free: 26.78 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/11.16, allocations: 0.9053 MB / 4.031 GB, free: 26.38 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/11.16, allocations: 0.6729 MB / 4.032 GB, free: 26.37 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/11.16, allocations: 3.906 kB / 4.032 GB, free: 26.37 MB / 0.5573 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004761/11.16, allocations: 1.824 MB / 4.034 GB, free: 26.24 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000752/11.16, allocations: 3.75 MB / 4.037 GB, free: 22.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/11.16, allocations: 8.719 kB / 4.037 GB, free: 22.35 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03366/11.2, allocations: 2.984 MB / 4.04 GB, free: 22.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/11.2, allocations: 282.8 kB / 4.04 GB, free: 22.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/11.2, allocations: 1.394 MB / 4.042 GB, free: 21.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/11.21, allocations: 134.6 kB / 4.042 GB, free: 21.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003426/11.21, allocations: 76.69 kB / 4.042 GB, free: 21.79 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/11.21, allocations: 2.375 kB / 4.042 GB, free: 21.79 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004714/11.21, allocations: 1.563 MB / 4.044 GB, free: 21.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.033e-05/11.21, allocations: 14.88 kB / 4.044 GB, free: 21.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/11.21, allocations: 196.1 kB / 4.044 GB, free: 21.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002238/11.21, allocations: 343.5 kB / 4.044 GB, free: 21.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/11.22, allocations: 0.7385 MB / 4.045 GB, free: 21.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/11.22, allocations: 145.8 kB / 4.045 GB, free: 21.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003169/11.22, allocations: 68.5 kB / 4.045 GB, free: 21.21 MB / 0.5573 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.0004821/11.22, allocations: 184.5 kB / 4.045 GB, free: 21.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003843/11.22, allocations: 139.5 kB / 4.045 GB, free: 21.03 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009144/11.23, allocations: 5.496 MB / 4.051 GB, free: 20.45 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.474e-05/11.23, allocations: 66.73 kB / 4.051 GB, free: 20.45 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.209e-06/11.23, allocations: 0 / 4.051 GB, free: 20.45 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-05/11.23, allocations: 10.8 kB / 4.051 GB, free: 20.45 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/11.24, allocations: 7.523 MB / 4.058 GB, free: 19.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/11.24, allocations: 5.594 kB / 4.058 GB, free: 19.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/11.24, allocations: 205.9 kB / 4.058 GB, free: 19.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03066/11.27, allocations: 4.281 MB / 4.062 GB, free: 19.74 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000285/11.27, allocations: 33.92 kB / 4.063 GB, free: 19.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003661/11.28, allocations: 2.34 MB / 4.065 GB, free: 19.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.745e-06/11.28, allocations: 3.125 kB / 4.065 GB, free: 19.17 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006321/11.28, allocations: 3.508 MB / 4.068 GB, free: 18.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/11.29, allocations: 0.6453 MB / 4.069 GB, free: 34.39 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004701/11.29, allocations: 20.28 kB / 4.069 GB, free: 34.39 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/11.29, allocations: 130 kB / 4.069 GB, free: 34.39 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/11.29, allocations: 99.44 kB / 4.069 GB, free: 34.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/11.29, allocations: 48.05 kB / 4.069 GB, free: 34.38 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001875/11.29, allocations: 1.04 MB / 4.07 GB, free: 34.26 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.268e-06/11.29, allocations: 0 / 4.07 GB, free: 34.26 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007681/11.3, allocations: 1.965 MB / 4.072 GB, free: 33.99 MB / 0.573 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.009704/11.31, allocations: 2.208 MB / 4.074 GB, free: 33.57 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.007345/11.31, allocations: 2.714 MB / 4.077 GB, free: 33.52 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.039e-06/11.32, allocations: 0 / 4.077 GB, free: 33.52 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003366/11.32, allocations: 1.37 MB / 4.078 GB, free: 33.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004738/11.32, allocations: 0.6877 MB / 4.079 GB, free: 33.48 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007018/11.33, allocations: 3.379 MB / 4.082 GB, free: 32.73 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001439/11.33, allocations: 1.629 MB / 4.084 GB, free: 31.95 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.004172/11.34, allocations: 1.536 MB / 4.085 GB, free: 31.88 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004427/11.34, allocations: 92.75 kB / 4.085 GB, free: 31.88 MB / 0.573 GB Notification: Performance of SimCode: time 1.734e-06/11.34, allocations: 0 / 4.085 GB, free: 31.88 MB / 0.573 GB Notification: Performance of Templates: time 0.1321/11.47, allocations: 70.98 MB / 4.155 GB, free: 9.859 MB / 0.573 GB