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.26/2.26, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004334/0.0004336, allocations: 12 kB / 314.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2761, allocations: 54.87 MB / 369.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.02784/0.304, allocations: 17.17 MB / 386.4 MB, free: 9.586 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.3153, allocations: 5.772 MB / 392.1 MB, free: 3.797 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009859/0.3164, allocations: 23.75 kB / 392.2 MB, free: 3.773 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009014/0.3173, allocations: 254.7 kB / 392.4 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004924/0.3222, allocations: 1.469 MB / 393.9 MB, free: 2.051 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.3266, allocations: 1.24 MB / 395.1 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00224/0.3288, allocations: 1.176 MB / 396.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007577/0.3296, allocations: 398 kB / 396.7 MB, free: 15.24 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006561/0.3362, allocations: 3.073 MB / 399.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002455/0.3387, allocations: 1.189 MB / 401 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.3389, allocations: 32 kB / 401 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003324/0.3422, allocations: 1.314 MB / 402.3 MB, free: 9.625 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.3426, allocations: 215.4 kB / 402.5 MB, free: 9.414 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.3429, allocations: 161.4 kB / 402.7 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.3449, allocations: 1.013 MB / 403.7 MB, free: 8.234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.3449, allocations: 4 kB / 403.7 MB, free: 8.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.09e-06/0.3449, allocations: 0 / 403.7 MB, free: 8.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3449, allocations: 0 / 403.7 MB, free: 8.23 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.002256/0.3472, allocations: 0.9832 MB / 404.7 MB, free: 7.199 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3472, allocations: 8.031 kB / 404.7 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.3484, allocations: 150.9 kB / 404.8 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.3495, allocations: 0.5005 MB / 405.3 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.3497, allocations: 100.3 kB / 405.4 MB, free: 6.391 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.3498, allocations: 55.98 kB / 405.5 MB, free: 6.336 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.3517, allocations: 0.8278 MB / 406.3 MB, free: 5.426 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.3518, allocations: 3.938 kB / 406.3 MB, free: 5.422 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.3519, allocations: 28 kB / 406.3 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.658e-05/0.352, allocations: 36.97 kB / 406.4 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.3537, allocations: 0.6087 MB / 407 MB, free: 4.746 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.006904/0.3606, allocations: 4.628 MB / 411.6 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009932/0.3616, allocations: 324.2 kB / 411.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003755/0.362, allocations: 340.6 kB / 412.3 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.3621, allocations: 38.56 kB / 412.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 4.134e-06/0.3621, allocations: 0 / 412.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.005253/0.3674, allocations: 1.491 MB / 413.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.812e-05/0.3675, allocations: 132.5 kB / 413.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.3686, allocations: 0.6407 MB / 414.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/0.3687, allocations: 29.7 kB / 414.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.3691, allocations: 440.8 kB / 415 MB, free: 12.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.3692, allocations: 142.1 kB / 415.2 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.3693, allocations: 12 kB / 415.2 MB, free: 11.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.3695, allocations: 342.8 kB / 415.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/0.37, allocations: 201.9 kB / 415.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008045/0.3708, allocations: 0.5232 MB / 416.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006744/0.3715, allocations: 309.6 kB / 416.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.232e-06/0.3716, allocations: 4 kB / 416.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002023/0.3736, allocations: 0.8464 MB / 417.4 MB, free: 9.594 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.3736, allocations: 8 kB / 417.4 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.3737, allocations: 12 kB / 417.4 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/0.3754, allocations: 278.2 kB / 417.7 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/0.376, allocations: 139.8 kB / 417.8 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.3777, allocations: 1.378 MB / 419.2 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007037/0.3784, allocations: 44.05 kB / 419.2 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.3785, allocations: 44 kB / 419.3 MB, free: 7.645 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.0004714/0.379, allocations: 253.5 kB / 419.5 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.3792, allocations: 71.11 kB / 419.6 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/0.3811, allocations: 0.6059 MB / 420.2 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.294e-06/0.3811, allocations: 0 / 420.2 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3812, allocations: 4 kB / 420.2 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.457e-06/0.3812, allocations: 64 / 420.2 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.3838, allocations: 1.207 MB / 421.4 MB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.576e-06/0.3839, allocations: 0 / 421.4 MB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.3841, allocations: 35.98 kB / 421.4 MB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.3853, allocations: 201.5 kB / 421.6 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.3854, allocations: 11.98 kB / 421.6 MB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/0.3869, allocations: 1.3 MB / 422.9 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.007e-06/0.3869, allocations: 4.125 kB / 422.9 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.3887, allocations: 0.7825 MB / 423.7 MB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003918/0.3891, allocations: 192.3 kB / 423.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.3893, allocations: 8.062 kB / 423.9 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/0.3898, allocations: 23.98 kB / 423.9 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.3899, allocations: 23.95 kB / 424 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.698e-05/0.39, allocations: 23.98 kB / 424 MB, free: 2.711 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000761/0.3907, allocations: 439 kB / 424.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.6e-07/0.3908, allocations: 0 / 424.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0012/0.392, allocations: 283.9 kB / 424.7 MB, free: 2.008 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.0009158/0.3929, allocations: 342.7 kB / 425 MB, free: 1.672 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.3943, allocations: 0.5179 MB / 425.6 MB, free: 1.156 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.129e-06/0.3943, allocations: 0 / 425.6 MB, free: 1.156 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000666/0.395, allocations: 212.5 kB / 425.8 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.3966, allocations: 289.5 kB / 426 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.3996, allocations: 1.537 MB / 427.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007556/0.4004, allocations: 0.9458 MB / 428.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002818/0.4007, allocations: 71.42 kB / 428.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of SimCode: time 1.647e-06/0.4007, allocations: 0 / 428.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of Templates: time 0.02987/0.4306, allocations: 17.07 MB / 445.7 MB, free: 13 MB / 378.7 MB