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_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") Notification: Performance of loadModel(ModelicaTest): time 2.245/2.245, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.878e-05/3.887e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3391, allocations: 58.84 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.09/6.429, allocations: 2.818 GB / 3.191 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/6.43, allocations: 79.95 kB / 3.191 GB, free: 5.281 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.308/9.737, allocations: 0.7481 GB / 3.939 GB, free: 50.12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.644e-06/9.737, allocations: 0 / 3.939 GB, free: 50.12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000114/9.738, allocations: 36.77 kB / 3.94 GB, free: 50.11 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.01046/9.748, allocations: 2.71 MB / 3.942 GB, free: 48.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/9.748, allocations: 12.97 kB / 3.942 GB, free: 48.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006195/9.754, allocations: 0.601 MB / 3.943 GB, free: 48.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002996/9.757, allocations: 1.072 MB / 3.944 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/9.757, allocations: 85.48 kB / 3.944 GB, free: 48.28 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002729/9.758, allocations: 108.1 kB / 3.944 GB, free: 48.28 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006113/9.764, allocations: 2.258 MB / 3.946 GB, free: 47.76 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/9.764, allocations: 0 / 3.946 GB, free: 47.76 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002368/9.764, allocations: 51.06 kB / 3.946 GB, free: 47.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/9.764, allocations: 85.06 kB / 3.946 GB, free: 47.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006828/9.771, allocations: 2.246 MB / 3.949 GB, free: 46.98 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.01467/9.786, allocations: 9.191 MB / 3.958 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005238/9.791, allocations: 1.736 MB / 3.959 GB, free: 39.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/9.792, allocations: 0.6825 MB / 3.96 GB, free: 39.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05052/9.843, allocations: 24.52 MB / 3.984 GB, free: 19.99 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/9.843, allocations: 43.56 kB / 3.984 GB, free: 19.94 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001368/9.844, allocations: 214.4 kB / 3.984 GB, free: 19.76 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=109): time 4.906e-06/9.844, allocations: 0 / 3.984 GB, free: 19.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109): time 0.009701/9.854, allocations: 2.599 MB / 3.987 GB, free: 17.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/9.854, allocations: 222.6 kB / 3.987 GB, free: 17.42 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/9.856, allocations: 0.8272 MB / 3.988 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002182/9.856, allocations: 49.7 kB / 3.988 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/9.856, allocations: 0.5559 MB / 3.988 GB, free: 16.08 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/9.857, allocations: 370.4 kB / 3.989 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/9.857, allocations: 24 kB / 3.989 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.821e-05/9.857, allocations: 359.9 kB / 3.989 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/9.858, allocations: 0.5495 MB / 3.989 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/9.859, allocations: 0.9084 MB / 3.99 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/9.861, allocations: 0.6629 MB / 3.991 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.929e-06/9.861, allocations: 7.938 kB / 3.991 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004007/9.865, allocations: 1.823 MB / 3.993 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007607/9.866, allocations: 3.756 MB / 3.996 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/9.866, allocations: 8 kB / 3.996 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03032/9.896, allocations: 2.988 MB / 3.999 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/9.898, allocations: 277.5 kB / 4 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/9.9, allocations: 1.393 MB / 4.001 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/9.902, allocations: 149 kB / 4.001 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/9.903, allocations: 67.5 kB / 4.001 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/9.903, allocations: 4 kB / 4.001 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004219/9.907, allocations: 1.562 MB / 4.003 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/9.907, allocations: 16.03 kB / 4.003 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000957/9.908, allocations: 200.1 kB / 4.003 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/9.91, allocations: 347.5 kB / 4.003 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009351/9.911, allocations: 0.7318 MB / 4.004 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/9.913, allocations: 147.7 kB / 4.004 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/9.913, allocations: 63.97 kB / 4.004 GB, free: 0.6914 MB / 0.5261 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.0004162/9.913, allocations: 200.3 kB / 4.004 GB, free: 500 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/9.914, allocations: 130.5 kB / 4.005 GB, free: 368 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009985/9.924, allocations: 5.49 MB / 4.01 GB, free: 10.83 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.98e-05/9.924, allocations: 63.91 kB / 4.01 GB, free: 10.77 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.698e-06/9.924, allocations: 0 / 4.01 GB, free: 10.77 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.734e-05/9.924, allocations: 7.969 kB / 4.01 GB, free: 10.76 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/9.938, allocations: 7.534 MB / 4.017 GB, free: 3.164 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/9.938, allocations: 0 / 4.017 GB, free: 3.164 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/9.939, allocations: 211.8 kB / 4.017 GB, free: 2.957 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3679/10.31, allocations: 4.277 MB / 4.022 GB, free: 64.89 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002672/10.31, allocations: 32.89 kB / 4.022 GB, free: 64.89 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004023/10.31, allocations: 2.345 MB / 4.024 GB, free: 64.37 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.082e-06/10.31, allocations: 0.9688 kB / 4.024 GB, free: 64.37 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006162/10.32, allocations: 3.503 MB / 4.027 GB, free: 64.03 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/10.32, allocations: 0.6391 MB / 4.028 GB, free: 63.86 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000343/10.32, allocations: 28.38 kB / 4.028 GB, free: 63.86 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/10.32, allocations: 127.3 kB / 4.028 GB, free: 63.86 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/10.32, allocations: 107.1 kB / 4.028 GB, free: 63.86 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/10.32, allocations: 40.62 kB / 4.028 GB, free: 63.86 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.001757/10.32, allocations: 1.037 MB / 4.029 GB, free: 63.74 MB / 0.5418 GB Notification: Performance of sort global known variables: time 9.54e-07/10.32, allocations: 0 / 4.029 GB, free: 63.74 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.007316/10.33, allocations: 1.955 MB / 4.031 GB, free: 63.72 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.008793/10.34, allocations: 2.207 MB / 4.033 GB, free: 63.56 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.006579/10.35, allocations: 2.712 MB / 4.036 GB, free: 63.51 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/10.35, allocations: 0 / 4.036 GB, free: 63.51 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.002895/10.35, allocations: 1.374 MB / 4.037 GB, free: 63.49 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004307/10.35, allocations: 0.6806 MB / 4.038 GB, free: 63.47 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006484/10.36, allocations: 3.38 MB / 4.041 GB, free: 62.75 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/10.36, allocations: 1.634 MB / 4.043 GB, free: 62 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.003861/10.37, allocations: 1.534 MB / 4.044 GB, free: 61.97 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003765/10.37, allocations: 94.95 kB / 4.045 GB, free: 61.96 MB / 0.5418 GB Notification: Performance of SimCode: time 1.809e-06/10.37, allocations: 0 / 4.045 GB, free: 61.96 MB / 0.5418 GB Notification: Performance of Templates: time 0.1329/10.5, allocations: 70.89 MB / 4.114 GB, free: 59 MB / 0.5418 GB