Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,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_laminar") Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.455e-05/3.461e-05, allocations: 4 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1134, allocations: 61.88 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.938/7.051, allocations: 2.823 GB / 3.224 GB, free: 40.54 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/7.051, allocations: 73.97 kB / 3.224 GB, free: 40.5 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.585/10.64, allocations: 0.7563 GB / 3.98 GB, free: 45.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.63e-06/10.64, allocations: 0 / 3.98 GB, free: 45.98 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001386/10.64, allocations: 33.12 kB / 3.98 GB, free: 45.98 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.01198/10.65, allocations: 2.717 MB / 3.983 GB, free: 44.61 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/10.65, allocations: 9.469 kB / 3.983 GB, free: 44.61 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00652/10.66, allocations: 0.5991 MB / 3.984 GB, free: 44.54 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003362/10.66, allocations: 1.062 MB / 3.985 GB, free: 44.21 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/10.66, allocations: 98.72 kB / 3.985 GB, free: 44.21 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003936/10.66, allocations: 102.5 kB / 3.985 GB, free: 44.21 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007083/10.67, allocations: 2.249 MB / 3.987 GB, free: 43.87 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/10.67, allocations: 3.469 kB / 3.987 GB, free: 43.87 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/10.67, allocations: 47.28 kB / 3.987 GB, free: 43.87 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/10.67, allocations: 86.7 kB / 3.987 GB, free: 43.86 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007505/10.67, allocations: 2.248 MB / 3.989 GB, free: 43.85 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.01656/10.69, allocations: 9.197 MB / 3.998 GB, free: 38.83 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005443/10.7, allocations: 1.73 MB / 4 GB, free: 38.8 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/10.7, allocations: 0.6829 MB / 4.001 GB, free: 38.79 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05755/10.76, allocations: 24.52 MB / 4.025 GB, free: 23.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.009e-05/10.76, allocations: 46.97 kB / 4.025 GB, free: 23.36 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001446/10.76, allocations: 216.9 kB / 4.025 GB, free: 23.29 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=109): time 5.309e-06/10.76, allocations: 0 / 4.025 GB, free: 23.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109): time 0.01141/10.77, allocations: 2.604 MB / 4.027 GB, free: 23.14 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/10.77, allocations: 224.5 kB / 4.028 GB, free: 22.89 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/10.77, allocations: 0.8155 MB / 4.028 GB, free: 22.73 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003116/10.77, allocations: 47.55 kB / 4.028 GB, free: 22.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004292/10.77, allocations: 0.5642 MB / 4.029 GB, free: 22.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000387/10.77, allocations: 379.2 kB / 4.029 GB, free: 22.22 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/10.77, allocations: 27.62 kB / 4.029 GB, free: 22.22 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001026/10.77, allocations: 354.3 kB / 4.03 GB, free: 21.91 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/10.77, allocations: 0.5506 MB / 4.03 GB, free: 21.91 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/10.77, allocations: 0.9079 MB / 4.031 GB, free: 21.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/10.78, allocations: 0.6757 MB / 4.032 GB, free: 21.46 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/10.78, allocations: 0 / 4.032 GB, free: 21.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004589/10.78, allocations: 1.827 MB / 4.034 GB, free: 21.33 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007653/10.78, allocations: 3.745 MB / 4.037 GB, free: 17.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/10.78, allocations: 15.84 kB / 4.037 GB, free: 17.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03408/10.82, allocations: 2.984 MB / 4.04 GB, free: 17.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/10.82, allocations: 277.1 kB / 4.04 GB, free: 17.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003008/10.82, allocations: 1.395 MB / 4.042 GB, free: 16.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/10.82, allocations: 147.6 kB / 4.042 GB, free: 16.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002577/10.82, allocations: 68.73 kB / 4.042 GB, free: 16.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/10.82, allocations: 3.344 kB / 4.042 GB, free: 16.7 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004797/10.83, allocations: 1.562 MB / 4.044 GB, free: 16.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/10.83, allocations: 7.719 kB / 4.044 GB, free: 16.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/10.83, allocations: 191.7 kB / 4.044 GB, free: 16.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/10.83, allocations: 355 kB / 4.044 GB, free: 16.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/10.83, allocations: 0.7381 MB / 4.045 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/10.83, allocations: 141.1 kB / 4.045 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002318/10.84, allocations: 68.16 kB / 4.045 GB, free: 15.51 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.0004924/10.84, allocations: 192.3 kB / 4.045 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/10.84, allocations: 134.7 kB / 4.045 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008734/10.84, allocations: 5.497 MB / 4.051 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.299e-05/10.84, allocations: 56.02 kB / 4.051 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.566e-06/10.84, allocations: 0 / 4.051 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.797e-05/10.84, allocations: 15.03 kB / 4.051 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/10.86, allocations: 7.523 MB / 4.058 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/10.86, allocations: 0 / 4.058 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/10.86, allocations: 209.1 kB / 4.058 GB, free: 8.523 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02892/10.89, allocations: 4.286 MB / 4.062 GB, free: 5.121 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002721/10.89, allocations: 31.33 kB / 4.062 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003552/10.89, allocations: 2.35 MB / 4.065 GB, free: 2.914 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.169e-06/10.89, allocations: 0 / 4.065 GB, free: 2.914 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007837/10.9, allocations: 3.613 MB / 4.068 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/10.9, allocations: 0.6394 MB / 4.069 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003581/10.9, allocations: 28 kB / 4.069 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/10.9, allocations: 126.4 kB / 4.069 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/10.9, allocations: 97.06 kB / 4.069 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/10.9, allocations: 50.42 kB / 4.069 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002171/10.91, allocations: 1.047 MB / 4.07 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.43e-07/10.91, allocations: 0 / 4.07 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008725/10.91, allocations: 1.962 MB / 4.072 GB, free: 12.29 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.01078/10.93, allocations: 2.201 MB / 4.074 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007959/10.93, allocations: 2.724 MB / 4.077 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.58e-06/10.93, allocations: 1.062 kB / 4.077 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00341/10.94, allocations: 1.378 MB / 4.078 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00464/10.94, allocations: 0.684 MB / 4.079 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00831/10.95, allocations: 3.374 MB / 4.082 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/10.95, allocations: 1.623 MB / 4.084 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004315/10.96, allocations: 1.535 MB / 4.085 GB, free: 0.9922 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004581/10.96, allocations: 106 kB / 4.085 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of SimCode: time 1.761e-06/10.96, allocations: 0 / 4.085 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of Templates: time 0.5042/11.46, allocations: 70.98 MB / 4.155 GB, free: 72.57 MB / 0.573 GB