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_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") Notification: Performance of loadModel(ModelicaTest): time 2.274/2.274, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.614e-05/3.623e-05, allocations: 11.98 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3252, allocations: 58.82 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.604/6.93, allocations: 2.818 GB / 3.191 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/6.93, allocations: 74.91 kB / 3.191 GB, free: 126.1 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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.319/10.25, allocations: 0.7481 GB / 3.939 GB, free: 41.15 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.374e-06/10.25, allocations: 3 kB / 3.939 GB, free: 41.15 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001403/10.25, allocations: 41.52 kB / 3.94 GB, free: 41.15 MB / 0.5261 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.01191/10.26, allocations: 2.715 MB / 3.942 GB, free: 40.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/10.26, allocations: 8.812 kB / 3.942 GB, free: 40.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006092/10.27, allocations: 0.6043 MB / 3.943 GB, free: 39.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003217/10.27, allocations: 1.071 MB / 3.944 GB, free: 39.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/10.27, allocations: 94.59 kB / 3.944 GB, free: 39.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003076/10.27, allocations: 103.7 kB / 3.944 GB, free: 39.65 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006874/10.28, allocations: 2.244 MB / 3.946 GB, free: 39.31 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.098e-05/10.28, allocations: 5.75 kB / 3.946 GB, free: 39.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/10.28, allocations: 47.64 kB / 3.946 GB, free: 39.31 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/10.28, allocations: 91.77 kB / 3.946 GB, free: 39.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007709/10.29, allocations: 2.246 MB / 3.949 GB, free: 39.3 MB / 0.5261 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.01556/10.3, allocations: 9.206 MB / 3.958 GB, free: 34.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005313/10.31, allocations: 1.737 MB / 3.959 GB, free: 34.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/10.31, allocations: 0.6803 MB / 3.96 GB, free: 34.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05598/10.36, allocations: 24.51 MB / 3.984 GB, free: 19.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/10.36, allocations: 44.12 kB / 3.984 GB, free: 19.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001591/10.37, allocations: 211 kB / 3.984 GB, free: 19.19 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=109): time 6.68e-06/10.37, allocations: 0 / 3.984 GB, free: 19.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109): time 0.01153/10.38, allocations: 2.605 MB / 3.987 GB, free: 19.06 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/10.38, allocations: 221 kB / 3.987 GB, free: 18.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/10.38, allocations: 0.8217 MB / 3.988 GB, free: 34.65 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0003047/10.38, allocations: 45.89 kB / 3.988 GB, free: 34.62 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004331/10.38, allocations: 0.5649 MB / 3.988 GB, free: 34.37 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004177/10.38, allocations: 379.1 kB / 3.989 GB, free: 34.13 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/10.38, allocations: 23.97 kB / 3.989 GB, free: 34.13 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0002031/10.38, allocations: 351.7 kB / 3.989 GB, free: 33.83 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/10.38, allocations: 0.5498 MB / 3.989 GB, free: 33.82 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/10.38, allocations: 0.9034 MB / 3.99 GB, free: 33.43 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/10.39, allocations: 0.6681 MB / 3.991 GB, free: 33.41 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.886e-06/10.39, allocations: 3.844 kB / 3.991 GB, free: 33.41 MB / 0.5418 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004505/10.39, allocations: 1.835 MB / 3.993 GB, free: 33.29 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.001835/10.39, allocations: 3.75 MB / 3.996 GB, free: 29.39 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/10.39, allocations: 13.84 kB / 3.996 GB, free: 29.39 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03288/10.43, allocations: 2.981 MB / 3.999 GB, free: 29.37 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/10.43, allocations: 275.3 kB / 4 GB, free: 29.37 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003156/10.43, allocations: 1.391 MB / 4.001 GB, free: 28.84 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/10.43, allocations: 141.5 kB / 4.001 GB, free: 28.83 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003089/10.43, allocations: 75.23 kB / 4.001 GB, free: 28.83 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/10.43, allocations: 5.094 kB / 4.001 GB, free: 28.83 MB / 0.5418 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004699/10.44, allocations: 1.562 MB / 4.003 GB, free: 28.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/10.44, allocations: 18.8 kB / 4.003 GB, free: 28.79 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/10.44, allocations: 188.9 kB / 4.003 GB, free: 28.79 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/10.44, allocations: 350.2 kB / 4.003 GB, free: 28.79 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/10.44, allocations: 0.7415 MB / 4.004 GB, free: 28.27 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/10.44, allocations: 142.9 kB / 4.004 GB, free: 28.26 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004213/10.44, allocations: 67.27 kB / 4.004 GB, free: 28.26 MB / 0.5418 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.000609/10.45, allocations: 198.7 kB / 4.004 GB, free: 28.14 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004488/10.45, allocations: 131.8 kB / 4.005 GB, free: 28.07 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009079/10.45, allocations: 5.49 MB / 4.01 GB, free: 27.49 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.47e-05/10.46, allocations: 61.5 kB / 4.01 GB, free: 27.49 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.098e-06/10.46, allocations: 0 / 4.01 GB, free: 27.49 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.888e-05/10.46, allocations: 6.984 kB / 4.01 GB, free: 27.49 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/10.47, allocations: 7.52 MB / 4.017 GB, free: 26.86 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/10.47, allocations: 0 / 4.017 GB, free: 26.86 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/10.47, allocations: 213.8 kB / 4.017 GB, free: 26.86 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03203/10.5, allocations: 4.279 MB / 4.022 GB, free: 26.78 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002673/10.5, allocations: 33.8 kB / 4.022 GB, free: 26.78 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003717/10.51, allocations: 2.345 MB / 4.024 GB, free: 26.21 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/10.51, allocations: 8.469 kB / 4.024 GB, free: 26.21 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005983/10.51, allocations: 3.495 MB / 4.027 GB, free: 25.71 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/10.51, allocations: 0.6511 MB / 4.028 GB, free: 25.43 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004139/10.51, allocations: 27.02 kB / 4.028 GB, free: 25.42 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/10.51, allocations: 132.1 kB / 4.028 GB, free: 25.41 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002705/10.52, allocations: 101.2 kB / 4.028 GB, free: 25.41 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/10.52, allocations: 47.55 kB / 4.028 GB, free: 25.41 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.001911/10.52, allocations: 1.037 MB / 4.029 GB, free: 25.29 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.05e-06/10.52, allocations: 0 / 4.029 GB, free: 25.29 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.007304/10.52, allocations: 1.958 MB / 4.031 GB, free: 25.02 MB / 0.5418 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.009508/10.53, allocations: 2.2 MB / 4.033 GB, free: 24.56 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.007461/10.54, allocations: 2.716 MB / 4.036 GB, free: 24.5 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 9.67e-06/10.54, allocations: 7.688 kB / 4.036 GB, free: 24.5 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.003072/10.54, allocations: 1.37 MB / 4.037 GB, free: 24.48 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004658/10.55, allocations: 0.6778 MB / 4.038 GB, free: 24.43 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006915/10.56, allocations: 3.379 MB / 4.041 GB, free: 23.68 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/10.56, allocations: 1.629 MB / 4.043 GB, free: 22.91 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.003979/10.56, allocations: 1.528 MB / 4.044 GB, free: 22.84 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/10.56, allocations: 93.42 kB / 4.045 GB, free: 22.83 MB / 0.5418 GB Notification: Performance of SimCode: time 1.882e-06/10.56, allocations: 0 / 4.045 GB, free: 22.83 MB / 0.5418 GB Notification: Performance of Templates: time 0.1327/10.7, allocations: 70.88 MB / 4.114 GB, free: 11.96 MB / 0.5574 GB