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.Glycol47.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.Glycol47,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.Glycol47") Notification: Performance of loadModel(ModelicaTest): time 2.097/2.097, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004362, allocations: 20 kB / 314.4 MB, free: 9.441 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2836, allocations: 54.85 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5472/0.8308, allocations: 237.2 MB / 0.5923 GB, free: 12.48 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.8311, allocations: 106.1 kB / 0.5924 GB, free: 12.42 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.394/2.225, allocations: 274.5 MB / 0.8604 GB, free: 96.52 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.376e-06/2.225, allocations: 0 / 0.8604 GB, free: 96.52 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.189e-05/2.225, allocations: 17.94 kB / 0.8604 GB, free: 96.52 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.004103/2.229, allocations: 1.592 MB / 0.862 GB, free: 95.88 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/2.229, allocations: 11.19 kB / 0.862 GB, free: 95.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/2.231, allocations: 136.4 kB / 0.8621 GB, free: 95.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/2.232, allocations: 0.562 MB / 0.8627 GB, free: 95.62 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.862e-05/2.232, allocations: 99.25 kB / 0.8628 GB, free: 95.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/2.232, allocations: 56.5 kB / 0.8628 GB, free: 95.55 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/2.234, allocations: 0.8234 MB / 0.8636 GB, free: 95.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/2.234, allocations: 0 / 0.8636 GB, free: 95.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.861e-05/2.234, allocations: 22.97 kB / 0.8637 GB, free: 95.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.494e-05/2.234, allocations: 46.48 kB / 0.8637 GB, free: 95.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/2.236, allocations: 0.579 MB / 0.8643 GB, free: 95.29 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.005306/2.241, allocations: 4.423 MB / 0.8686 GB, free: 92.22 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008664/2.242, allocations: 304.4 kB / 0.8689 GB, free: 92.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/2.242, allocations: 341 kB / 0.8692 GB, free: 91.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/2.242, allocations: 45.53 kB / 0.8693 GB, free: 91.78 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 3.728e-06/2.242, allocations: 0 / 0.8693 GB, free: 91.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.004814/2.247, allocations: 1.49 MB / 0.8707 GB, free: 91.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/2.247, allocations: 135.4 kB / 0.8708 GB, free: 91.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008548/2.248, allocations: 0.5666 MB / 0.8714 GB, free: 91.01 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/2.248, allocations: 35.92 kB / 0.8714 GB, free: 90.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/2.248, allocations: 433.2 kB / 0.8718 GB, free: 90.72 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/2.248, allocations: 126.7 kB / 0.872 GB, free: 90.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/2.248, allocations: 14.44 kB / 0.872 GB, free: 90.66 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.709e-05/2.248, allocations: 345.7 kB / 0.8723 GB, free: 90.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/2.249, allocations: 200.5 kB / 0.8725 GB, free: 90.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/2.249, allocations: 0.5277 MB / 0.873 GB, free: 89.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/2.25, allocations: 297.6 kB / 0.8733 GB, free: 89.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.919e-06/2.25, allocations: 3.906 kB / 0.8733 GB, free: 89.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001722/2.252, allocations: 0.8358 MB / 0.8741 GB, free: 89.86 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/2.252, allocations: 7.719 kB / 0.8741 GB, free: 89.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/2.252, allocations: 11 kB / 0.8741 GB, free: 89.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/2.254, allocations: 281.9 kB / 0.8744 GB, free: 89.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/2.254, allocations: 138.5 kB / 0.8745 GB, free: 89.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/2.255, allocations: 1.365 MB / 0.8759 GB, free: 88.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007939/2.256, allocations: 45.2 kB / 0.8759 GB, free: 88.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.32e-05/2.256, allocations: 48.42 kB / 0.876 GB, free: 88.79 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.0004233/2.257, allocations: 247.9 kB / 0.8762 GB, free: 88.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/2.257, allocations: 74.23 kB / 0.8763 GB, free: 88.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/2.259, allocations: 0.6843 MB / 0.8769 GB, free: 88.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/2.259, allocations: 3.969 kB / 0.8769 GB, free: 88.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.743e-06/2.259, allocations: 0 / 0.8769 GB, free: 88.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.802e-06/2.259, allocations: 10 kB / 0.8769 GB, free: 88.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/2.261, allocations: 1.195 MB / 0.8781 GB, free: 88.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.145e-06/2.261, allocations: 0 / 0.8781 GB, free: 88.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/2.262, allocations: 45.98 kB / 0.8782 GB, free: 88.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/2.263, allocations: 202.2 kB / 0.8784 GB, free: 88.14 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/2.263, allocations: 10.47 kB / 0.8784 GB, free: 88.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/2.264, allocations: 1.288 MB / 0.8796 GB, free: 87.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.159e-06/2.264, allocations: 3.953 kB / 0.8796 GB, free: 87.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/2.266, allocations: 0.8102 MB / 0.8804 GB, free: 86.85 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003924/2.266, allocations: 189.5 kB / 0.8806 GB, free: 86.72 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/2.266, allocations: 14.89 kB / 0.8806 GB, free: 86.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/2.267, allocations: 25.2 kB / 0.8806 GB, free: 86.72 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/2.267, allocations: 29.86 kB / 0.8807 GB, free: 86.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.853e-05/2.267, allocations: 23.05 kB / 0.8807 GB, free: 86.71 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006533/2.268, allocations: 442.1 kB / 0.8811 GB, free: 86.62 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.6e-07/2.268, allocations: 0 / 0.8811 GB, free: 86.62 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001573/2.269, allocations: 372.5 kB / 0.8815 GB, free: 86.58 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.001025/2.27, allocations: 450.2 kB / 0.8819 GB, free: 86.44 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001248/2.272, allocations: 0.5174 MB / 0.8824 GB, free: 86.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.908e-06/2.272, allocations: 0 / 0.8824 GB, free: 86.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006379/2.272, allocations: 213.4 kB / 0.8826 GB, free: 86.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/2.274, allocations: 292.3 kB / 0.8829 GB, free: 86.38 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/2.277, allocations: 1.613 MB / 0.8845 GB, free: 85.72 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/2.277, allocations: 0.9457 MB / 0.8854 GB, free: 85.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/2.278, allocations: 66.05 kB / 0.8854 GB, free: 85.01 MB / 474.7 MB Notification: Performance of SimCode: time 1.558e-06/2.278, allocations: 0 / 0.8854 GB, free: 85.01 MB / 474.7 MB Notification: Performance of Templates: time 0.02634/2.304, allocations: 18.03 MB / 0.903 GB, free: 84.35 MB / 474.7 MB