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.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") Notification: Performance of loadModel(ModelicaTest): time 2.203/2.203, allocations: 235 MB / 247.2 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.329e-05, allocations: 4 kB / 304.9 MB, free: 5.371 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.323, allocations: 54.85 MB / 359.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.368/6.691, allocations: 2.649 GB / 3 GB, free: 119.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/6.691, allocations: 74.22 kB / 3 GB, free: 119.5 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.366/10.06, allocations: 0.7435 GB / 3.744 GB, free: 35.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.631e-06/10.06, allocations: 0 / 3.744 GB, free: 35.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001428/10.06, allocations: 34.61 kB / 3.744 GB, free: 35.79 MB / 0.4948 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.01216/10.07, allocations: 2.721 MB / 3.747 GB, free: 34.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/10.07, allocations: 18.28 kB / 3.747 GB, free: 34.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006935/10.08, allocations: 0.5883 MB / 3.747 GB, free: 34.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003427/10.08, allocations: 1.092 MB / 3.748 GB, free: 34.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/10.08, allocations: 95.34 kB / 3.748 GB, free: 34.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004652/10.08, allocations: 107.8 kB / 3.748 GB, free: 34.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007407/10.09, allocations: 2.23 MB / 3.751 GB, free: 33.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.473e-05/10.09, allocations: 2.625 kB / 3.751 GB, free: 33.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002756/10.09, allocations: 51.86 kB / 3.751 GB, free: 33.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/10.09, allocations: 86.14 kB / 3.751 GB, free: 33.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0077/10.1, allocations: 2.234 MB / 3.753 GB, free: 33.72 MB / 0.4948 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.0154/10.11, allocations: 8.922 MB / 3.762 GB, free: 28.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005006/10.12, allocations: 1.648 MB / 3.763 GB, free: 28.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/10.12, allocations: 0.6395 MB / 3.764 GB, free: 28.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04161/10.16, allocations: 18.83 MB / 3.782 GB, free: 16.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/10.16, allocations: 52.47 kB / 3.782 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001521/10.16, allocations: 201.4 kB / 3.782 GB, free: 16.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=109): time 6.679e-06/10.16, allocations: 1.5 kB / 3.782 GB, free: 16.73 MB / 0.4948 GB 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.08255/10.24, allocations: 11.91 MB / 3.794 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/10.24, allocations: 224.1 kB / 3.794 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/10.25, allocations: 0.7436 MB / 3.795 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005159/10.25, allocations: 55.64 kB / 3.795 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/10.25, allocations: 0.5934 MB / 3.796 GB, free: 31.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008604/10.25, allocations: 0.5247 MB / 3.796 GB, free: 30.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/10.25, allocations: 37.94 kB / 3.796 GB, free: 30.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002593/10.25, allocations: 379.6 kB / 3.797 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00313/10.25, allocations: 1.246 MB / 3.798 GB, free: 30.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003429/10.26, allocations: 1.69 MB / 3.799 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003641/10.26, allocations: 1.367 MB / 3.801 GB, free: 29.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/10.26, allocations: 3.594 kB / 3.801 GB, free: 29.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01126/10.27, allocations: 4.062 MB / 3.805 GB, free: 29.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00238/10.27, allocations: 4.801 MB / 3.809 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/10.27, allocations: 10.62 kB / 3.809 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09959/10.37, allocations: 7.952 MB / 3.817 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/10.38, allocations: 386.5 kB / 3.818 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/10.39, allocations: 4.642 MB / 3.822 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004675/10.39, allocations: 247.8 kB / 3.822 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006335/10.39, allocations: 128.4 kB / 3.822 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/10.39, allocations: 3.594 kB / 3.822 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01185/10.41, allocations: 3.863 MB / 3.826 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.194e-05/10.41, allocations: 11.12 kB / 3.826 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/10.42, allocations: 2.639 MB / 3.829 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/10.42, allocations: 443.5 kB / 3.829 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/10.43, allocations: 4.067 MB / 3.833 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004522/10.44, allocations: 253.2 kB / 3.833 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006388/10.44, allocations: 126.8 kB / 3.834 GB, free: 22.18 MB / 0.5105 GB 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.0008236/10.44, allocations: 215.5 kB / 3.834 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005324/10.44, allocations: 136.4 kB / 3.834 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02298/10.46, allocations: 8.913 MB / 3.843 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.233e-05/10.46, allocations: 64.7 kB / 3.843 GB, free: 21.17 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/10.46, allocations: 4 kB / 3.843 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.467e-05/10.46, allocations: 9.234 kB / 3.843 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02653/10.49, allocations: 11.86 MB / 3.854 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-05/10.49, allocations: 2.969 kB / 3.854 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/10.49, allocations: 275.1 kB / 3.855 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08872/10.58, allocations: 8.875 MB / 3.863 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004549/10.58, allocations: 67.73 kB / 3.863 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01374/10.59, allocations: 5.497 MB / 3.869 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.289e-06/10.59, allocations: 4.844 kB / 3.869 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02578/10.62, allocations: 7.083 MB / 3.876 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002021/10.62, allocations: 0.7012 MB / 3.876 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000506/10.62, allocations: 32 kB / 3.876 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003305/10.62, allocations: 220.2 kB / 3.877 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004144/10.62, allocations: 132.5 kB / 3.877 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003226/10.62, allocations: 80.81 kB / 3.877 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001469/10.63, allocations: 0.7372 MB / 3.877 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.28e-07/10.63, allocations: 4 kB / 3.877 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009111/10.64, allocations: 2.263 MB / 3.88 GB, free: 12.14 MB / 0.5261 GB 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.01068/10.65, allocations: 2.435 MB / 3.882 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02193/10.67, allocations: 5.962 MB / 3.888 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/10.67, allocations: 0.5625 kB / 3.888 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009564/10.68, allocations: 2.813 MB / 3.891 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003916/10.68, allocations: 0.584 MB / 3.891 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6347/11.32, allocations: 126.1 MB / 4.014 GB, free: 55.35 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/11.32, allocations: 1.653 MB / 4.016 GB, free: 54.58 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004575/11.32, allocations: 1.506 MB / 4.017 GB, free: 54.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005789/11.32, allocations: 121.6 kB / 4.018 GB, free: 54.48 MB / 0.5261 GB Notification: Performance of SimCode: time 1.858e-06/11.32, allocations: 0 / 4.018 GB, free: 54.48 MB / 0.5261 GB Notification: Performance of Templates: time 0.5113/11.83, allocations: 106.6 MB / 4.122 GB, free: 61.76 MB / 0.5261 GB