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_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") Notification: Performance of loadModel(ModelicaTest): time 2.607/2.607, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.068e-05/4.084e-05, allocations: 4 kB / 348.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 61.89 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.049/7.164, allocations: 2.823 GB / 3.224 GB, free: 41.23 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/7.164, allocations: 75.34 kB / 3.224 GB, free: 41.2 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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.444/10.61, allocations: 0.7563 GB / 3.98 GB, free: 46.09 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.534e-06/10.61, allocations: 3.281 kB / 3.98 GB, free: 46.09 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001426/10.61, allocations: 34.92 kB / 3.98 GB, free: 46.09 MB / 0.5417 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.01289/10.62, allocations: 2.726 MB / 3.983 GB, free: 44.72 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/10.62, allocations: 6.781 kB / 3.983 GB, free: 44.72 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007467/10.63, allocations: 0.6001 MB / 3.984 GB, free: 44.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/10.63, allocations: 1.064 MB / 3.985 GB, free: 44.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/10.63, allocations: 93.25 kB / 3.985 GB, free: 44.31 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003409/10.63, allocations: 108.1 kB / 3.985 GB, free: 44.31 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00729/10.64, allocations: 2.24 MB / 3.987 GB, free: 43.97 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/10.64, allocations: 6.5 kB / 3.987 GB, free: 43.97 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/10.64, allocations: 53.66 kB / 3.987 GB, free: 43.97 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/10.64, allocations: 91.06 kB / 3.987 GB, free: 43.96 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007425/10.65, allocations: 2.243 MB / 3.989 GB, free: 43.96 MB / 0.5417 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.01698/10.66, allocations: 9.193 MB / 3.998 GB, free: 38.93 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005727/10.67, allocations: 1.733 MB / 4 GB, free: 38.91 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/10.67, allocations: 0.6815 MB / 4.001 GB, free: 38.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05563/10.73, allocations: 24.53 MB / 4.025 GB, free: 23.52 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/10.73, allocations: 46.12 kB / 4.025 GB, free: 23.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001621/10.73, allocations: 207.1 kB / 4.025 GB, free: 23.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=109): time 5.511e-06/10.73, allocations: 3.156 kB / 4.025 GB, free: 23.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109): time 0.01034/10.74, allocations: 2.598 MB / 4.027 GB, free: 23.27 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/10.74, allocations: 217.7 kB / 4.028 GB, free: 23.02 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/10.74, allocations: 0.8288 MB / 4.028 GB, free: 22.85 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003196/10.74, allocations: 46.11 kB / 4.028 GB, free: 22.82 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/10.74, allocations: 0.5615 MB / 4.029 GB, free: 22.58 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003854/10.74, allocations: 380.6 kB / 4.029 GB, free: 22.34 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/10.74, allocations: 25.53 kB / 4.029 GB, free: 22.34 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001024/10.74, allocations: 355.2 kB / 4.03 GB, free: 22.03 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/10.74, allocations: 0.5446 MB / 4.03 GB, free: 22.03 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/10.75, allocations: 0.9007 MB / 4.031 GB, free: 21.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/10.75, allocations: 0.6818 MB / 4.032 GB, free: 21.59 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/10.75, allocations: 4.719 kB / 4.032 GB, free: 21.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004375/10.75, allocations: 1.824 MB / 4.034 GB, free: 21.45 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007417/10.75, allocations: 3.748 MB / 4.037 GB, free: 17.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/10.75, allocations: 9.938 kB / 4.037 GB, free: 17.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03674/10.79, allocations: 2.979 MB / 4.04 GB, free: 17.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/10.79, allocations: 287 kB / 4.04 GB, free: 17.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003344/10.79, allocations: 1.388 MB / 4.042 GB, free: 16.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/10.8, allocations: 146.4 kB / 4.042 GB, free: 16.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002648/10.8, allocations: 72.84 kB / 4.042 GB, free: 16.83 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/10.8, allocations: 3.156 kB / 4.042 GB, free: 16.83 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004888/10.8, allocations: 1.555 MB / 4.044 GB, free: 16.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/10.8, allocations: 13.31 kB / 4.044 GB, free: 16.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/10.8, allocations: 199.8 kB / 4.044 GB, free: 16.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/10.81, allocations: 350.5 kB / 4.044 GB, free: 16.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/10.81, allocations: 0.7379 MB / 4.045 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/10.81, allocations: 148.1 kB / 4.045 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/10.81, allocations: 64.14 kB / 4.045 GB, free: 15.76 MB / 0.5417 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.000495/10.81, allocations: 192.7 kB / 4.045 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003578/10.81, allocations: 133 kB / 4.045 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008796/10.82, allocations: 5.495 MB / 4.051 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.998e-05/10.82, allocations: 52.55 kB / 4.051 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.934e-06/10.82, allocations: 3.703 kB / 4.051 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/10.82, allocations: 11.7 kB / 4.051 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/10.83, allocations: 7.528 MB / 4.058 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/10.83, allocations: 4 kB / 4.058 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/10.83, allocations: 211.5 kB / 4.058 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02857/10.86, allocations: 4.278 MB / 4.062 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002849/10.86, allocations: 29.72 kB / 4.062 GB, free: 5.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003647/10.87, allocations: 2.343 MB / 4.065 GB, free: 3.324 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.187e-06/10.87, allocations: 3 kB / 4.065 GB, free: 3.324 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005967/10.87, allocations: 3.502 MB / 4.068 GB, free: 68 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001744/10.87, allocations: 0.6427 MB / 4.069 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004563/10.87, allocations: 24 kB / 4.069 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/10.88, allocations: 131.8 kB / 4.069 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003005/10.88, allocations: 100.9 kB / 4.069 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/10.88, allocations: 45.16 kB / 4.069 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002209/10.88, allocations: 1.046 MB / 4.07 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.28e-07/10.88, allocations: 0 / 4.07 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008629/10.89, allocations: 1.956 MB / 4.072 GB, free: 12.41 MB / 0.5573 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.01073/10.9, allocations: 2.215 MB / 4.074 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007997/10.91, allocations: 2.717 MB / 4.077 GB, free: 8.219 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/10.91, allocations: 4 kB / 4.077 GB, free: 8.215 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003323/10.91, allocations: 1.383 MB / 4.078 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004512/10.91, allocations: 0.6779 MB / 4.079 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008017/10.92, allocations: 3.379 MB / 4.082 GB, free: 3.359 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/10.92, allocations: 1.624 MB / 4.084 GB, free: 2.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004221/10.93, allocations: 1.53 MB / 4.085 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/10.93, allocations: 107.2 kB / 4.085 GB, free: 1.008 MB / 0.5573 GB Notification: Performance of SimCode: time 1.995e-06/10.93, allocations: 3.938 kB / 4.085 GB, free: 1.004 MB / 0.5573 GB Notification: Performance of Templates: time 0.5153/11.44, allocations: 71.06 MB / 4.155 GB, free: 72.9 MB / 0.573 GB