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.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") Notification: Performance of loadModel(ModelicaTest): time 1.849/1.849, allocations: 209.3 MB / 221.5 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.444e-05, allocations: 8 kB / 273.1 MB, free: 3.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08849/0.08854, allocations: 48.68 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.271/6.359, allocations: 2.538 GB / 2.852 GB, free: 95.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/6.36, allocations: 74.03 kB / 2.852 GB, free: 95.51 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:327:3-329: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.111/9.471, allocations: 0.7242 GB / 3.577 GB, free: 31.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.804e-06/9.471, allocations: 0 / 3.577 GB, free: 31.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001394/9.471, allocations: 37.78 kB / 3.577 GB, free: 31.81 MB / 458.7 MB 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.01138/9.482, allocations: 2.616 MB / 3.579 GB, free: 30.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/9.482, allocations: 11.5 kB / 3.579 GB, free: 30.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006166/9.488, allocations: 0.5805 MB / 3.58 GB, free: 30.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/9.492, allocations: 1.09 MB / 3.581 GB, free: 29.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/9.492, allocations: 96.28 kB / 3.581 GB, free: 29.56 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004359/9.492, allocations: 104.7 kB / 3.581 GB, free: 29.53 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006595/9.499, allocations: 2.238 MB / 3.583 GB, free: 28.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/9.499, allocations: 15.69 kB / 3.583 GB, free: 28.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/9.499, allocations: 50.03 kB / 3.583 GB, free: 28.52 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/9.5, allocations: 83.5 kB / 3.583 GB, free: 28.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006734/9.506, allocations: 2.237 MB / 3.586 GB, free: 26.98 MB / 458.7 MB 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.01414/9.52, allocations: 8.914 MB / 3.594 GB, free: 18.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005114/9.526, allocations: 1.648 MB / 3.596 GB, free: 17.21 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/9.527, allocations: 0.6443 MB / 3.597 GB, free: 16.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04622/9.573, allocations: 18.81 MB / 3.615 GB, free: 11.62 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/9.573, allocations: 51.55 kB / 3.615 GB, free: 11.56 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002453/9.576, allocations: 205.5 kB / 3.615 GB, free: 11.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=109): time 1.482e-05/9.576, allocations: 4 kB / 3.615 GB, free: 11.36 MB / 474.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=159): time 0.4054/9.981, allocations: 11.9 MB / 3.627 GB, free: 48.59 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/9.982, allocations: 225 kB / 3.627 GB, free: 48.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/9.983, allocations: 0.744 MB / 3.628 GB, free: 48.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004397/9.984, allocations: 50.36 kB / 3.628 GB, free: 48.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004993/9.984, allocations: 0.5864 MB / 3.628 GB, free: 48.08 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007096/9.985, allocations: 0.5338 MB / 3.629 GB, free: 47.81 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000264/9.985, allocations: 33.22 kB / 3.629 GB, free: 47.81 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/9.986, allocations: 380.7 kB / 3.629 GB, free: 47.51 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002722/9.988, allocations: 1.247 MB / 3.631 GB, free: 47.51 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003236/9.992, allocations: 1.683 MB / 3.632 GB, free: 47.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/9.995, allocations: 1.372 MB / 3.633 GB, free: 47.01 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/9.995, allocations: 3.594 kB / 3.633 GB, free: 47.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01153/10.01, allocations: 4.064 MB / 3.637 GB, free: 46.87 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009639/10.01, allocations: 4.794 MB / 3.642 GB, free: 41.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-05/10.01, allocations: 13.19 kB / 3.642 GB, free: 41.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09608/10.1, allocations: 7.956 MB / 3.65 GB, free: 41.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002163/10.11, allocations: 381.2 kB / 3.65 GB, free: 41.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/10.12, allocations: 4.641 MB / 3.655 GB, free: 40.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004119/10.12, allocations: 246.5 kB / 3.655 GB, free: 40.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005457/10.12, allocations: 126.6 kB / 3.655 GB, free: 40.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/10.12, allocations: 3.531 kB / 3.655 GB, free: 40.8 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01131/10.13, allocations: 3.862 MB / 3.659 GB, free: 40.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.114e-05/10.13, allocations: 11.75 kB / 3.659 GB, free: 40.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009832/10.14, allocations: 2.641 MB / 3.662 GB, free: 40.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002469/10.15, allocations: 445.4 kB / 3.662 GB, free: 40.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/10.16, allocations: 4.069 MB / 3.666 GB, free: 39.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003952/10.16, allocations: 245.3 kB / 3.666 GB, free: 39.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005539/10.16, allocations: 118.7 kB / 3.666 GB, free: 39.68 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (166): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 22,5 25} Notification: Performance of prepare postOptimizeDAE: time 0.0007859/10.16, allocations: 232.7 kB / 3.667 GB, free: 39.56 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005313/10.16, allocations: 135.8 kB / 3.667 GB, free: 39.49 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02142/10.19, allocations: 8.914 MB / 3.675 GB, free: 39.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.565e-05/10.19, allocations: 67.23 kB / 3.675 GB, free: 39.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/10.19, allocations: 0 / 3.675 GB, free: 39.02 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.444e-05/10.19, allocations: 9.141 kB / 3.675 GB, free: 39.02 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02504/10.21, allocations: 11.87 MB / 3.687 GB, free: 38.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/10.21, allocations: 6.375 kB / 3.687 GB, free: 38.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/10.21, allocations: 276.6 kB / 3.687 GB, free: 38.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08397/10.3, allocations: 8.873 MB / 3.696 GB, free: 38.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004695/10.3, allocations: 66.77 kB / 3.696 GB, free: 38.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/10.31, allocations: 5.509 MB / 3.701 GB, free: 37.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.578e-06/10.31, allocations: 4.031 kB / 3.701 GB, free: 37.02 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01812/10.33, allocations: 6.753 MB / 3.708 GB, free: 36.32 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/10.33, allocations: 0.6913 MB / 3.709 GB, free: 36.05 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005056/10.33, allocations: 36.56 kB / 3.709 GB, free: 36.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003287/10.33, allocations: 227.5 kB / 3.709 GB, free: 36.04 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004433/10.33, allocations: 132.2 kB / 3.709 GB, free: 36.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003112/10.33, allocations: 78.36 kB / 3.709 GB, free: 36.04 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001282/10.34, allocations: 0.7392 MB / 3.71 GB, free: 35.92 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.9e-07/10.34, allocations: 0 / 3.71 GB, free: 35.92 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008941/10.34, allocations: 2.243 MB / 3.712 GB, free: 35.84 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.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 (120): * Single equations (assignments): 106 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 22,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01088/10.35, allocations: 2.414 MB / 3.714 GB, free: 35.55 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02119/10.38, allocations: 5.963 MB / 3.72 GB, free: 35.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/10.38, allocations: 7.125 kB / 3.72 GB, free: 35.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009289/10.39, allocations: 2.809 MB / 3.723 GB, free: 34.83 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004018/10.39, allocations: 0.5865 MB / 3.724 GB, free: 34.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.569/10.96, allocations: 123.9 MB / 3.845 GB, free: 59.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/10.96, allocations: 1.65 MB / 3.846 GB, free: 58.38 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004618/10.96, allocations: 1.51 MB / 3.848 GB, free: 58.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005893/10.97, allocations: 121 kB / 3.848 GB, free: 58.36 MB / 490.7 MB Notification: Performance of SimCode: time 1.983e-06/10.97, allocations: 0 / 3.848 GB, free: 58.36 MB / 490.7 MB Notification: Performance of Templates: time 0.1809/11.15, allocations: 106.4 MB / 3.952 GB, free: 21.35 MB / 490.7 MB