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.135/2.135, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004422, allocations: 16 kB / 314.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2789, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.543/0.8219, allocations: 237.1 MB / 0.5921 GB, free: 12.62 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.8222, allocations: 94.77 kB / 0.5922 GB, free: 12.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.389/2.211, allocations: 286.1 MB / 0.8717 GB, free: 97.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.096e-06/2.211, allocations: 0 / 0.8717 GB, free: 97.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.746e-05/2.211, allocations: 17.78 kB / 0.8717 GB, free: 97.91 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.003926/2.215, allocations: 1.592 MB / 0.8732 GB, free: 97.16 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/2.215, allocations: 6.531 kB / 0.8732 GB, free: 97.16 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/2.217, allocations: 137.7 kB / 0.8734 GB, free: 97.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/2.218, allocations: 0.5631 MB / 0.8739 GB, free: 96.88 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/2.218, allocations: 102.3 kB / 0.874 GB, free: 96.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/2.218, allocations: 48.34 kB / 0.8741 GB, free: 96.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/2.22, allocations: 0.8206 MB / 0.8749 GB, free: 96.56 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/2.22, allocations: 3.703 kB / 0.8749 GB, free: 96.56 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/2.22, allocations: 23.31 kB / 0.8749 GB, free: 96.56 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.416e-05/2.22, allocations: 47.16 kB / 0.8749 GB, free: 96.55 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/2.221, allocations: 0.5737 MB / 0.8755 GB, free: 96.53 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.005145/2.227, allocations: 4.427 MB / 0.8798 GB, free: 93.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008502/2.227, allocations: 306.4 kB / 0.8801 GB, free: 93.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/2.228, allocations: 343.1 kB / 0.8804 GB, free: 93.03 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/2.228, allocations: 41.59 kB / 0.8805 GB, free: 92.99 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 3.871e-06/2.228, allocations: 0 / 0.8805 GB, free: 92.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.004892/2.233, allocations: 1.502 MB / 0.8819 GB, free: 92.49 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/2.233, allocations: 131.3 kB / 0.8821 GB, free: 92.33 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008635/2.234, allocations: 0.5656 MB / 0.8826 GB, free: 92.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/2.234, allocations: 35.48 kB / 0.8826 GB, free: 92.17 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/2.234, allocations: 440 kB / 0.8831 GB, free: 91.88 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/2.234, allocations: 133.1 kB / 0.8832 GB, free: 91.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/2.234, allocations: 11.56 kB / 0.8832 GB, free: 91.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.995e-05/2.234, allocations: 348.1 kB / 0.8835 GB, free: 91.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/2.235, allocations: 198.1 kB / 0.8837 GB, free: 91.48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/2.235, allocations: 0.5239 MB / 0.8842 GB, free: 91.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005643/2.236, allocations: 306.3 kB / 0.8845 GB, free: 91.05 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.594e-06/2.236, allocations: 3.844 kB / 0.8845 GB, free: 91.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001781/2.238, allocations: 0.8377 MB / 0.8854 GB, free: 90.92 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/2.238, allocations: 11.06 kB / 0.8854 GB, free: 90.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/2.238, allocations: 12.66 kB / 0.8854 GB, free: 90.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/2.24, allocations: 273.2 kB / 0.8856 GB, free: 90.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/2.24, allocations: 136.5 kB / 0.8858 GB, free: 90.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/2.242, allocations: 1.368 MB / 0.8871 GB, free: 89.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009045/2.243, allocations: 40.22 kB / 0.8871 GB, free: 89.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.415e-05/2.243, allocations: 47.12 kB / 0.8872 GB, free: 89.83 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 () * Number of clocked 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.0004383/2.243, allocations: 252 kB / 0.8874 GB, free: 89.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/2.243, allocations: 69.83 kB / 0.8875 GB, free: 89.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/2.245, allocations: 0.6839 MB / 0.8882 GB, free: 89.56 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.226e-06/2.245, allocations: 3.875 kB / 0.8882 GB, free: 89.56 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.138e-06/2.245, allocations: 0 / 0.8882 GB, free: 89.56 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.867e-06/2.245, allocations: 2.688 kB / 0.8882 GB, free: 89.56 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/2.247, allocations: 1.202 MB / 0.8893 GB, free: 89.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.251e-06/2.247, allocations: 3.844 kB / 0.8893 GB, free: 89.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/2.248, allocations: 36.95 kB / 0.8894 GB, free: 89.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/2.249, allocations: 204.2 kB / 0.8896 GB, free: 89.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/2.249, allocations: 14.08 kB / 0.8896 GB, free: 89.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/2.25, allocations: 1.286 MB / 0.8908 GB, free: 88.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.275e-06/2.25, allocations: 11.8 kB / 0.8909 GB, free: 88.13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/2.252, allocations: 0.8081 MB / 0.8916 GB, free: 87.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/2.252, allocations: 202.1 kB / 0.8918 GB, free: 87.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/2.252, allocations: 11.09 kB / 0.8918 GB, free: 87.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005255/2.253, allocations: 20.81 kB / 0.8919 GB, free: 87.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/2.253, allocations: 29.36 kB / 0.8919 GB, free: 87.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.889e-05/2.253, allocations: 24.61 kB / 0.8919 GB, free: 87.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006587/2.254, allocations: 434.1 kB / 0.8923 GB, free: 87.66 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.5e-07/2.254, allocations: 0 / 0.8923 GB, free: 87.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001573/2.255, allocations: 378 kB / 0.8927 GB, free: 87.61 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 () * Number of clocked 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.001001/2.256, allocations: 453.2 kB / 0.8931 GB, free: 87.44 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001245/2.257, allocations: 0.5259 MB / 0.8936 GB, free: 87.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.503e-06/2.257, allocations: 0 / 0.8936 GB, free: 87.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005827/2.258, allocations: 207.3 kB / 0.8938 GB, free: 87.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/2.26, allocations: 283.8 kB / 0.8941 GB, free: 87.39 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/2.262, allocations: 1.617 MB / 0.8957 GB, free: 86.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/2.263, allocations: 0.9485 MB / 0.8966 GB, free: 86.01 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/2.263, allocations: 73.52 kB / 0.8967 GB, free: 86 MB / 474.7 MB Notification: Performance of SimCode: time 1.514e-06/2.263, allocations: 0 / 0.8967 GB, free: 86 MB / 474.7 MB Notification: Performance of Templates: time 0.02407/2.287, allocations: 18.04 MB / 0.9143 GB, free: 79.84 MB / 474.7 MB