Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadModel(ModelicaTest): time 2.178/2.178, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.315e-05/4.327e-05, allocations: 4 kB / 309.7 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.376, allocations: 54.85 MB / 364.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5725/0.9486, allocations: 237 MB / 0.5874 GB, free: 93.19 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.9489, allocations: 95.03 kB / 0.5875 GB, free: 93.14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.151/2.1, allocations: 285.5 MB / 0.8664 GB, free: 17.17 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.856e-06/2.1, allocations: 0 / 0.8664 GB, free: 17.17 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.248e-05/2.1, allocations: 19.98 kB / 0.8664 GB, free: 17.15 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0033/2.104, allocations: 1.515 MB / 0.8679 GB, free: 15.59 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/2.104, allocations: 8.031 kB / 0.8679 GB, free: 15.58 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/2.105, allocations: 139 kB / 0.868 GB, free: 15.45 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/2.106, allocations: 0.5675 MB / 0.8686 GB, free: 14.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-05/2.106, allocations: 96.41 kB / 0.8687 GB, free: 14.73 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/2.106, allocations: 55.98 kB / 0.8687 GB, free: 14.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/2.108, allocations: 0.8044 MB / 0.8695 GB, free: 13.79 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/2.108, allocations: 4 kB / 0.8695 GB, free: 13.79 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.895e-05/2.108, allocations: 24 kB / 0.8695 GB, free: 13.76 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.228e-05/2.108, allocations: 40.98 kB / 0.8696 GB, free: 13.72 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/2.109, allocations: 0.562 MB / 0.8701 GB, free: 13.16 MB / 474.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.004915/2.114, allocations: 4.425 MB / 0.8744 GB, free: 8.418 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008361/2.115, allocations: 318.7 kB / 0.8747 GB, free: 8.098 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/2.115, allocations: 128.8 kB / 0.8749 GB, free: 7.969 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/2.116, allocations: 336.4 kB / 0.8752 GB, free: 7.566 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/2.116, allocations: 38.56 kB / 0.8752 GB, free: 7.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 3.252e-06/2.116, allocations: 0 / 0.8752 GB, free: 7.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.003674/2.119, allocations: 1.238 MB / 0.8764 GB, free: 6.223 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/2.119, allocations: 132.5 kB / 0.8766 GB, free: 6.062 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007735/2.12, allocations: 0.5541 MB / 0.8771 GB, free: 5.504 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/2.12, allocations: 37.7 kB / 0.8771 GB, free: 5.461 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/2.12, allocations: 428.8 kB / 0.8775 GB, free: 5.039 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.698e-05/2.121, allocations: 134.2 kB / 0.8777 GB, free: 4.906 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/2.121, allocations: 16 kB / 0.8777 GB, free: 4.891 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.281e-05/2.121, allocations: 342.8 kB / 0.878 GB, free: 4.547 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/2.121, allocations: 193.5 kB / 0.8782 GB, free: 4.359 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005314/2.122, allocations: 0.5171 MB / 0.8787 GB, free: 3.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/2.122, allocations: 298.8 kB / 0.879 GB, free: 3.391 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/2.122, allocations: 4 kB / 0.879 GB, free: 3.387 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00163/2.124, allocations: 0.8299 MB / 0.8798 GB, free: 2.543 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/2.124, allocations: 8 kB / 0.8798 GB, free: 2.535 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/2.124, allocations: 15.98 kB / 0.8798 GB, free: 2.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001606/2.126, allocations: 270 kB / 0.8801 GB, free: 2.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/2.126, allocations: 131.8 kB / 0.8802 GB, free: 2.121 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/2.127, allocations: 1.37 MB / 0.8815 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007527/2.128, allocations: 39.98 kB / 0.8816 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.948e-05/2.128, allocations: 51.98 kB / 0.8816 GB, free: 0.6094 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0001738/2.128, allocations: 156.8 kB / 0.8818 GB, free: 460 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/2.128, allocations: 71.16 kB / 0.8819 GB, free: 388 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2681/2.396, allocations: 0.6636 MB / 0.8825 GB, free: 83.24 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.535e-06/2.396, allocations: 7.375 kB / 0.8825 GB, free: 83.24 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.267e-06/2.397, allocations: 2.031 kB / 0.8825 GB, free: 83.24 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.558e-06/2.397, allocations: 5.328 kB / 0.8825 GB, free: 83.24 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/2.399, allocations: 1.192 MB / 0.8837 GB, free: 82.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.123e-06/2.399, allocations: 0 / 0.8837 GB, free: 82.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/2.399, allocations: 45.25 kB / 0.8837 GB, free: 82.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/2.401, allocations: 193.7 kB / 0.8839 GB, free: 82.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/2.401, allocations: 10.73 kB / 0.8839 GB, free: 82.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/2.402, allocations: 1.299 MB / 0.8852 GB, free: 81.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.876e-06/2.402, allocations: 1.625 kB / 0.8852 GB, free: 81.86 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/2.404, allocations: 0.7909 MB / 0.886 GB, free: 81.66 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/2.404, allocations: 202 kB / 0.8861 GB, free: 81.57 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/2.404, allocations: 6.469 kB / 0.8862 GB, free: 81.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005558/2.405, allocations: 24.44 kB / 0.8862 GB, free: 81.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/2.405, allocations: 27.23 kB / 0.8862 GB, free: 81.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-05/2.405, allocations: 22.39 kB / 0.8862 GB, free: 81.56 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007917/2.406, allocations: 434.4 kB / 0.8866 GB, free: 81.46 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.5e-07/2.406, allocations: 0 / 0.8866 GB, free: 81.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001886/2.408, allocations: 365.1 kB / 0.887 GB, free: 81.46 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001241/2.409, allocations: 454.5 kB / 0.8874 GB, free: 81.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001384/2.41, allocations: 0.5072 MB / 0.8879 GB, free: 81.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/2.41, allocations: 3.781 kB / 0.8879 GB, free: 81.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006603/2.411, allocations: 217.2 kB / 0.8881 GB, free: 81.37 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/2.413, allocations: 284.8 kB / 0.8884 GB, free: 81.36 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/2.416, allocations: 0.9981 MB / 0.8894 GB, free: 81.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/2.416, allocations: 0.9459 MB / 0.8903 GB, free: 80.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/2.416, allocations: 73.94 kB / 0.8904 GB, free: 80.39 MB / 474.7 MB Notification: Performance of SimCode: time 1.66e-06/2.416, allocations: 0 / 0.8904 GB, free: 80.39 MB / 474.7 MB Notification: Performance of Templates: time 0.02924/2.446, allocations: 18.02 MB / 0.908 GB, free: 80.05 MB / 474.7 MB