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_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") Notification: Performance of loadModel(ModelicaTest): time 2.236/2.236, allocations: 235 MB / 247.2 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.205e-05/3.225e-05, allocations: 4 kB / 304.9 MB, free: 5.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3259, allocations: 54.85 MB / 359.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.994/6.32, allocations: 2.649 GB / 3 GB, free: 29.23 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/6.321, allocations: 75.95 kB / 3 GB, free: 29.16 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.334/9.654, allocations: 0.7436 GB / 3.744 GB, free: 37.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.252e-06/9.655, allocations: 0 / 3.744 GB, free: 37.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001362/9.655, allocations: 37.47 kB / 3.744 GB, free: 37.81 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.01184/9.667, allocations: 2.711 MB / 3.747 GB, free: 36.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/9.667, allocations: 11.22 kB / 3.747 GB, free: 36.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006741/9.673, allocations: 0.5973 MB / 3.747 GB, free: 36.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003255/9.677, allocations: 1.092 MB / 3.748 GB, free: 35.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/9.677, allocations: 99.27 kB / 3.748 GB, free: 35.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003361/9.677, allocations: 106 kB / 3.748 GB, free: 35.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007341/9.685, allocations: 2.23 MB / 3.751 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/9.685, allocations: 11.47 kB / 3.751 GB, free: 34.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002506/9.685, allocations: 49.75 kB / 3.751 GB, free: 34.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/9.685, allocations: 79.88 kB / 3.751 GB, free: 34.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007744/9.693, allocations: 2.238 MB / 3.753 GB, free: 33.73 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.01483/9.708, allocations: 8.914 MB / 3.762 GB, free: 27.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005608/9.713, allocations: 1.642 MB / 3.763 GB, free: 26.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/9.715, allocations: 0.6392 MB / 3.764 GB, free: 25.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03861/9.753, allocations: 18.85 MB / 3.782 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/9.754, allocations: 43.56 kB / 3.782 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0014/9.755, allocations: 202 kB / 3.782 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=109): time 5.975e-06/9.755, allocations: 0 / 3.782 GB, free: 6.219 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.078/9.833, allocations: 11.9 MB / 3.794 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/9.833, allocations: 226.9 kB / 3.794 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/9.835, allocations: 0.7472 MB / 3.795 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005043/9.835, allocations: 49.7 kB / 3.795 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006389/9.836, allocations: 0.5913 MB / 3.796 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009675/9.837, allocations: 0.5277 MB / 3.796 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/9.837, allocations: 36 kB / 3.796 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002638/9.838, allocations: 373.9 kB / 3.797 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003362/9.841, allocations: 1.246 MB / 3.798 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004017/9.845, allocations: 1.683 MB / 3.799 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00408/9.849, allocations: 1.371 MB / 3.801 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.239e-05/9.849, allocations: 4 kB / 3.801 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.3436/10.19, allocations: 4.064 MB / 3.805 GB, free: 53.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009627/10.19, allocations: 4.797 MB / 3.809 GB, free: 49.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/10.19, allocations: 12.88 kB / 3.809 GB, free: 49.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1031/10.3, allocations: 7.951 MB / 3.817 GB, free: 48.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/10.3, allocations: 380.6 kB / 3.818 GB, free: 48.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/10.31, allocations: 4.635 MB / 3.822 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004336/10.32, allocations: 245.9 kB / 3.822 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006549/10.32, allocations: 132.3 kB / 3.822 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/10.32, allocations: 3.906 kB / 3.822 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01254/10.33, allocations: 3.859 MB / 3.826 GB, free: 47.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.266e-05/10.33, allocations: 12 kB / 3.826 GB, free: 47.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/10.34, allocations: 2.64 MB / 3.829 GB, free: 47.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002947/10.34, allocations: 445.5 kB / 3.829 GB, free: 47.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/10.36, allocations: 4.071 MB / 3.833 GB, free: 46.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004147/10.36, allocations: 244.7 kB / 3.833 GB, free: 46.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006246/10.36, allocations: 126.7 kB / 3.834 GB, free: 46.88 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.00079/10.36, allocations: 220.8 kB / 3.834 GB, free: 46.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/10.36, allocations: 137.2 kB / 3.834 GB, free: 46.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02274/10.39, allocations: 8.908 MB / 3.843 GB, free: 46.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-05/10.39, allocations: 66.47 kB / 3.843 GB, free: 46.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/10.39, allocations: 1.406 kB / 3.843 GB, free: 46.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.513e-05/10.39, allocations: 10.22 kB / 3.843 GB, free: 46.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02658/10.41, allocations: 11.87 MB / 3.854 GB, free: 45.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.2e-05/10.41, allocations: 7.719 kB / 3.854 GB, free: 45.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/10.41, allocations: 271 kB / 3.855 GB, free: 45.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08903/10.5, allocations: 8.872 MB / 3.863 GB, free: 45.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004543/10.5, allocations: 62.22 kB / 3.863 GB, free: 45.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01352/10.52, allocations: 5.496 MB / 3.869 GB, free: 44.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.297e-06/10.52, allocations: 3.969 kB / 3.869 GB, free: 44.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0195/10.54, allocations: 6.761 MB / 3.875 GB, free: 43.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/10.54, allocations: 0.689 MB / 3.876 GB, free: 43.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004966/10.54, allocations: 36.59 kB / 3.876 GB, free: 43.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003355/10.54, allocations: 225 kB / 3.876 GB, free: 43.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004421/10.54, allocations: 133.3 kB / 3.876 GB, free: 43.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003205/10.54, allocations: 77.75 kB / 3.876 GB, free: 43.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001317/10.54, allocations: 0.7422 MB / 3.877 GB, free: 43.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.95e-07/10.54, allocations: 0 / 3.877 GB, free: 43.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009199/10.55, allocations: 2.258 MB / 3.879 GB, free: 43.35 MB / 0.5105 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.01122/10.57, allocations: 2.436 MB / 3.882 GB, free: 43.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02166/10.59, allocations: 5.966 MB / 3.888 GB, free: 43.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/10.59, allocations: 0 / 3.888 GB, free: 43.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009945/10.6, allocations: 2.805 MB / 3.89 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004427/10.6, allocations: 0.5867 MB / 3.891 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6216/11.22, allocations: 126.1 MB / 4.014 GB, free: 66.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/11.22, allocations: 1.651 MB / 4.016 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005027/11.23, allocations: 1.512 MB / 4.017 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006664/11.23, allocations: 122.2 kB / 4.017 GB, free: 66.11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.833e-06/11.23, allocations: 0.6562 kB / 4.017 GB, free: 66.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.188/11.42, allocations: 106.6 MB / 4.121 GB, free: 51.98 MB / 0.5261 GB