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.Glycol47.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.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.286/2.286, allocations: 234.9 MB / 251.1 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005922/0.0005925, allocations: 15.98 kB / 315 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3438, allocations: 54.86 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7261/1.07, allocations: 237.2 MB / 0.5928 GB, free: 10.47 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003765/1.07, allocations: 98.98 kB / 0.5929 GB, free: 10.42 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723/2.793, allocations: 274.5 MB / 0.8609 GB, free: 103.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.775e-06/2.793, allocations: 0 / 0.8609 GB, free: 103.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.084e-05/2.793, allocations: 26.94 kB / 0.861 GB, free: 103.5 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.00555/2.799, allocations: 1.589 MB / 0.8625 GB, free: 103.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/2.799, allocations: 10.14 kB / 0.8625 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/2.8, allocations: 139.3 kB / 0.8627 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/2.802, allocations: 0.5612 MB / 0.8632 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/2.803, allocations: 99.55 kB / 0.8633 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/2.803, allocations: 52.58 kB / 0.8633 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/2.805, allocations: 0.8231 MB / 0.8642 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/2.805, allocations: 12.31 kB / 0.8642 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/2.805, allocations: 21.41 kB / 0.8642 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-05/2.805, allocations: 44.94 kB / 0.8642 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/2.807, allocations: 0.5727 MB / 0.8648 GB, free: 102.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.006836/2.814, allocations: 4.429 MB / 0.8691 GB, free: 99.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/2.815, allocations: 311.5 kB / 0.8694 GB, free: 99.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003088/2.815, allocations: 338.1 kB / 0.8697 GB, free: 99.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/2.815, allocations: 35.06 kB / 0.8698 GB, free: 98.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 4.338e-06/2.815, allocations: 0 / 0.8698 GB, free: 98.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.005996/2.821, allocations: 1.499 MB / 0.8712 GB, free: 98.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/2.821, allocations: 136.3 kB / 0.8714 GB, free: 98.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/2.822, allocations: 0.6345 MB / 0.872 GB, free: 98.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.355e-05/2.822, allocations: 35.42 kB / 0.872 GB, free: 98.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/2.823, allocations: 432.2 kB / 0.8724 GB, free: 97.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/2.823, allocations: 135.8 kB / 0.8726 GB, free: 97.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/2.823, allocations: 13.16 kB / 0.8726 GB, free: 97.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.714e-05/2.823, allocations: 341.3 kB / 0.8729 GB, free: 97.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005268/2.824, allocations: 199 kB / 0.8731 GB, free: 97.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007015/2.824, allocations: 0.5317 MB / 0.8736 GB, free: 97.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006846/2.825, allocations: 303.8 kB / 0.8739 GB, free: 97.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/2.825, allocations: 3.812 kB / 0.8739 GB, free: 97.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002064/2.827, allocations: 0.8368 MB / 0.8747 GB, free: 97.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/2.827, allocations: 10.47 kB / 0.8747 GB, free: 97.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/2.827, allocations: 10.16 kB / 0.8747 GB, free: 97.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002019/2.829, allocations: 277.1 kB / 0.875 GB, free: 97.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007703/2.83, allocations: 135.1 kB / 0.8751 GB, free: 97.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/2.831, allocations: 1.372 MB / 0.8765 GB, free: 95.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/2.832, allocations: 35.78 kB / 0.8765 GB, free: 95.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/2.833, allocations: 51.27 kB / 0.8765 GB, free: 95.97 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.0005134/2.833, allocations: 253 kB / 0.8768 GB, free: 95.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/2.833, allocations: 67.22 kB / 0.8769 GB, free: 95.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/2.835, allocations: 0.6786 MB / 0.8775 GB, free: 95.74 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/2.836, allocations: 10.92 kB / 0.8775 GB, free: 95.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/2.836, allocations: 0 / 0.8775 GB, free: 95.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/2.836, allocations: 3.656 kB / 0.8775 GB, free: 95.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/2.839, allocations: 1.202 MB / 0.8787 GB, free: 95.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/2.839, allocations: 2.344 kB / 0.8787 GB, free: 95.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/2.839, allocations: 41.56 kB / 0.8787 GB, free: 95.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/2.84, allocations: 201.9 kB / 0.8789 GB, free: 95.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/2.84, allocations: 17.17 kB / 0.879 GB, free: 95.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/2.842, allocations: 1.295 MB / 0.8802 GB, free: 94.33 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/2.842, allocations: 3.781 kB / 0.8802 GB, free: 94.33 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/2.844, allocations: 0.782 MB / 0.881 GB, free: 94.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004868/2.844, allocations: 200.4 kB / 0.8812 GB, free: 93.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/2.844, allocations: 8.875 kB / 0.8812 GB, free: 93.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000702/2.845, allocations: 22.08 kB / 0.8812 GB, free: 93.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/2.845, allocations: 29.72 kB / 0.8812 GB, free: 93.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.481e-05/2.845, allocations: 22.83 kB / 0.8813 GB, free: 93.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007847/2.846, allocations: 440.3 kB / 0.8817 GB, free: 93.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.846, allocations: 0 / 0.8817 GB, free: 93.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001895/2.848, allocations: 369.2 kB / 0.882 GB, free: 93.86 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.001415/2.849, allocations: 458.3 kB / 0.8825 GB, free: 93.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001694/2.851, allocations: 0.5228 MB / 0.883 GB, free: 93.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/2.851, allocations: 0 / 0.883 GB, free: 93.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007367/2.852, allocations: 215.3 kB / 0.8832 GB, free: 93.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/2.854, allocations: 279.8 kB / 0.8834 GB, free: 93.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/2.858, allocations: 1.623 MB / 0.885 GB, free: 93.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/2.858, allocations: 0.9458 MB / 0.886 GB, free: 92.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003514/2.859, allocations: 64.19 kB / 0.886 GB, free: 92.34 MB / 490.7 MB Notification: Performance of SimCode: time 1.222e-06/2.859, allocations: 0 / 0.886 GB, free: 92.34 MB / 490.7 MB Notification: Performance of Templates: time 0.03406/2.893, allocations: 18.03 MB / 0.9036 GB, free: 91.96 MB / 490.7 MB