Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.273/2.273, allocations: 234.9 MB / 251.1 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000451/0.000451, allocations: 8 kB / 315 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4128, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6955/1.108, allocations: 237.1 MB / 0.5927 GB, free: 10.61 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003773/1.109, allocations: 106.1 kB / 0.5928 GB, free: 10.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.837/2.946, allocations: 286.1 MB / 0.8722 GB, free: 106.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.196e-06/2.946, allocations: 0 / 0.8722 GB, free: 106.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.187e-05/2.946, allocations: 27.36 kB / 0.8722 GB, free: 106.6 MB / 490.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.005508/2.952, allocations: 1.598 MB / 0.8738 GB, free: 106.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/2.952, allocations: 7.719 kB / 0.8738 GB, free: 106.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/2.953, allocations: 130.4 kB / 0.8739 GB, free: 106.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/2.955, allocations: 0.5579 MB / 0.8744 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/2.955, allocations: 106.8 kB / 0.8745 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/2.955, allocations: 49.11 kB / 0.8746 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/2.958, allocations: 0.8209 MB / 0.8754 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/2.958, allocations: 3.172 kB / 0.8754 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/2.958, allocations: 27.28 kB / 0.8754 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-05/2.958, allocations: 42.92 kB / 0.8754 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/2.96, allocations: 0.5796 MB / 0.876 GB, free: 105.5 MB / 490.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.007305/2.967, allocations: 4.419 MB / 0.8803 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/2.968, allocations: 314 kB / 0.8806 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003137/2.969, allocations: 341.9 kB / 0.881 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/2.969, allocations: 36.53 kB / 0.881 GB, free: 102 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 3.126e-06/2.969, allocations: 2.875 kB / 0.881 GB, free: 102 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.00623/2.975, allocations: 1.492 MB / 0.8824 GB, free: 101.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/2.975, allocations: 132.5 kB / 0.8826 GB, free: 101.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/2.976, allocations: 0.647 MB / 0.8832 GB, free: 101.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/2.976, allocations: 31.02 kB / 0.8832 GB, free: 101.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/2.977, allocations: 444.6 kB / 0.8837 GB, free: 100.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/2.977, allocations: 123.2 kB / 0.8838 GB, free: 100.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/2.977, allocations: 14.22 kB / 0.8838 GB, free: 100.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.721e-05/2.977, allocations: 341.1 kB / 0.8841 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005551/2.978, allocations: 199.4 kB / 0.8843 GB, free: 100.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007083/2.978, allocations: 0.5359 MB / 0.8848 GB, free: 100.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000726/2.979, allocations: 301.1 kB / 0.8851 GB, free: 100.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/2.979, allocations: 3.594 kB / 0.8851 GB, free: 100.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002206/2.981, allocations: 0.8359 MB / 0.8859 GB, free: 100.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/2.981, allocations: 13.06 kB / 0.886 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/2.981, allocations: 7.875 kB / 0.886 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002006/2.983, allocations: 281.7 kB / 0.8862 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/2.984, allocations: 136.1 kB / 0.8864 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/2.986, allocations: 1.359 MB / 0.8877 GB, free: 99.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/2.987, allocations: 45.19 kB / 0.8877 GB, free: 99.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/2.987, allocations: 44.58 kB / 0.8878 GB, free: 99.02 MB / 490.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.0005336/2.987, allocations: 253.6 kB / 0.888 GB, free: 98.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/2.988, allocations: 68.25 kB / 0.8881 GB, free: 98.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/2.99, allocations: 0.6928 MB / 0.8888 GB, free: 98.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/2.99, allocations: 3.875 kB / 0.8888 GB, free: 98.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/2.99, allocations: 6.922 kB / 0.8888 GB, free: 98.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/2.99, allocations: 3.891 kB / 0.8888 GB, free: 98.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002989/2.993, allocations: 1.198 MB / 0.8899 GB, free: 98.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/2.993, allocations: 0 / 0.8899 GB, free: 98.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/2.993, allocations: 47.09 kB / 0.89 GB, free: 98.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/2.995, allocations: 201.8 kB / 0.8902 GB, free: 98.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/2.995, allocations: 6.781 kB / 0.8902 GB, free: 98.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/2.996, allocations: 1.296 MB / 0.8914 GB, free: 97.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/2.996, allocations: 0 / 0.8914 GB, free: 97.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/2.998, allocations: 0.7815 MB / 0.8922 GB, free: 97.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004918/2.999, allocations: 199.1 kB / 0.8924 GB, free: 97.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/2.999, allocations: 10.25 kB / 0.8924 GB, free: 97.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008326/3, allocations: 29.59 kB / 0.8924 GB, free: 97.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/3, allocations: 20.5 kB / 0.8925 GB, free: 97.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.854e-05/3, allocations: 21.67 kB / 0.8925 GB, free: 97.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001073/3.001, allocations: 438.7 kB / 0.8929 GB, free: 96.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.21e-07/3.001, allocations: 0 / 0.8929 GB, free: 96.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002548/3.004, allocations: 367.1 kB / 0.8932 GB, free: 96.9 MB / 490.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.001698/3.005, allocations: 460.8 kB / 0.8937 GB, free: 96.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002168/3.008, allocations: 0.5253 MB / 0.8942 GB, free: 96.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/3.008, allocations: 5.234 kB / 0.8942 GB, free: 96.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009702/3.009, allocations: 215.6 kB / 0.8944 GB, free: 96.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003165/3.012, allocations: 281.6 kB / 0.8947 GB, free: 96.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005003/3.017, allocations: 1.621 MB / 0.8963 GB, free: 96.08 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/3.018, allocations: 0.944 MB / 0.8972 GB, free: 95.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004974/3.018, allocations: 73.75 kB / 0.8973 GB, free: 95.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.393e-06/3.018, allocations: 0 / 0.8973 GB, free: 95.38 MB / 490.7 MB Notification: Performance of Templates: time 0.04457/3.063, allocations: 18.03 MB / 0.9149 GB, free: 94.97 MB / 490.7 MB