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.35/2.35, allocations: 234.9 MB / 250.5 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004369, allocations: 12 kB / 314.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2768, allocations: 54.87 MB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.02682/0.3036, allocations: 17.18 MB / 386.4 MB, free: 9.461 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.3147, allocations: 5.771 MB / 392.2 MB, free: 3.676 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009758/0.3157, allocations: 23.81 kB / 392.2 MB, free: 3.652 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009178/0.3166, allocations: 262.6 kB / 392.4 MB, free: 3.395 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004745/0.3214, allocations: 1.426 MB / 393.9 MB, free: 1.965 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004107/0.3255, allocations: 1.193 MB / 395 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002151/0.3277, allocations: 1.168 MB / 396.2 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007537/0.3285, allocations: 413.9 kB / 396.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006007/0.3345, allocations: 2.769 MB / 399.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002274/0.3368, allocations: 1.076 MB / 400.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.337, allocations: 28 kB / 400.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003184/0.3402, allocations: 1.229 MB / 401.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003823/0.3406, allocations: 215.4 kB / 401.9 MB, free: 9.871 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003155/0.3409, allocations: 169.3 kB / 402.1 MB, free: 9.699 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.3429, allocations: 1.005 MB / 403.1 MB, free: 8.691 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.933e-06/0.343, allocations: 0 / 403.1 MB, free: 8.691 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.722e-06/0.343, allocations: 0 / 403.1 MB, free: 8.691 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.343, allocations: 0 / 403.1 MB, free: 8.691 MB / 330.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.002267/0.3453, allocations: 0.9855 MB / 404.1 MB, free: 7.656 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3453, allocations: 8.031 kB / 404.1 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.3466, allocations: 143 kB / 404.2 MB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.3477, allocations: 0.5082 MB / 404.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.3479, allocations: 104.4 kB / 404.8 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.348, allocations: 48 kB / 404.9 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.35, allocations: 0.8316 MB / 405.7 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.3501, allocations: 3.984 kB / 405.7 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.917e-05/0.3502, allocations: 23.98 kB / 405.8 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.819e-05/0.3503, allocations: 40.98 kB / 405.8 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.352, allocations: 0.6048 MB / 406.4 MB, free: 5.207 MB / 330.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.007022/0.359, allocations: 4.636 MB / 411 MB, free: 212 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.3601, allocations: 312.7 kB / 411.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003858/0.3605, allocations: 340.4 kB / 411.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.3606, allocations: 42.56 kB / 411.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 3.609e-06/0.3606, allocations: 0 / 411.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.005655/0.3663, allocations: 1.495 MB / 413.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.949e-05/0.3664, allocations: 132.5 kB / 413.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.3676, allocations: 0.6368 MB / 414 MB, free: 13.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.124e-05/0.3677, allocations: 33.7 kB / 414 MB, free: 13.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/0.3681, allocations: 436.8 kB / 414.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.3683, allocations: 138.1 kB / 414.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.3683, allocations: 16 kB / 414.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.3685, allocations: 350.7 kB / 414.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.3691, allocations: 201.8 kB / 415.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008105/0.3699, allocations: 0.531 MB / 415.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006829/0.3706, allocations: 297.7 kB / 415.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-06/0.3706, allocations: 4 kB / 415.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002077/0.3727, allocations: 0.8463 MB / 416.8 MB, free: 10.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.3727, allocations: 8.875 kB / 416.8 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.3728, allocations: 19.94 kB / 416.8 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/0.3745, allocations: 273.4 kB / 417.1 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/0.3751, allocations: 139.8 kB / 417.2 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.3768, allocations: 1.37 MB / 418.6 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007356/0.3776, allocations: 40.11 kB / 418.6 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.974e-05/0.3777, allocations: 44 kB / 418.7 MB, free: 8.109 MB / 346.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.0005141/0.3782, allocations: 253.5 kB / 418.9 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.3784, allocations: 71.11 kB / 419 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.3804, allocations: 0.615 MB / 419.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.225e-06/0.3804, allocations: 4 kB / 419.6 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.154e-06/0.3805, allocations: 3.938 kB / 419.6 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.3805, allocations: 0 / 419.6 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/0.3832, allocations: 1.195 MB / 420.8 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.699e-06/0.3832, allocations: 0 / 420.8 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.3835, allocations: 43.92 kB / 420.9 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/0.3847, allocations: 197.6 kB / 421 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.233e-05/0.3847, allocations: 11.98 kB / 421.1 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.3863, allocations: 1.304 MB / 422.4 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.049e-06/0.3863, allocations: 0 / 422.4 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.3882, allocations: 0.7905 MB / 423.2 MB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004168/0.3887, allocations: 188.4 kB / 423.3 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.3888, allocations: 12 kB / 423.4 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/0.3893, allocations: 20.08 kB / 423.4 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.11e-05/0.3894, allocations: 23.91 kB / 423.4 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.585e-05/0.3895, allocations: 27.92 kB / 423.4 MB, free: 3.164 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007739/0.3903, allocations: 439.1 kB / 423.8 MB, free: 2.738 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.99e-07/0.3903, allocations: 4 kB / 423.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001244/0.3916, allocations: 283.9 kB / 424.1 MB, free: 2.457 MB / 346.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 (24): * Single equations (assignments): 22 * 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.0009548/0.3925, allocations: 337.2 kB / 424.5 MB, free: 2.125 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.394, allocations: 0.5144 MB / 425 MB, free: 1.613 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.394, allocations: 4.125 kB / 425 MB, free: 1.609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006803/0.3947, allocations: 219.7 kB / 425.2 MB, free: 1.395 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.3964, allocations: 274.3 kB / 425.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.3996, allocations: 1.536 MB / 427 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007627/0.4004, allocations: 0.9458 MB / 427.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/0.4007, allocations: 71.41 kB / 428 MB, free: 14.51 MB / 362.7 MB Notification: Performance of SimCode: time 1.611e-06/0.4007, allocations: 0 / 428 MB, free: 14.51 MB / 362.7 MB Notification: Performance of Templates: time 0.03118/0.4319, allocations: 17.07 MB / 445.1 MB, free: 13.47 MB / 378.7 MB