Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadModel(ModelicaTest): time 2.291/2.291, allocations: 209.3 MB / 224.8 MB, free: 1.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004348, allocations: 8 kB / 282.5 MB, free: 9.785 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08741/0.08788, allocations: 48.71 MB / 331.2 MB, free: 8.984 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.2373/0.3252, allocations: 17.12 MB / 348.3 MB, free: 8.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009733/0.335, allocations: 5.77 MB / 354.1 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.3362, allocations: 23.12 kB / 354.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.3373, allocations: 252.3 kB / 354.4 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007341/0.3446, allocations: 1.472 MB / 355.8 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006846/0.3515, allocations: 1.243 MB / 357.1 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003236/0.3548, allocations: 1.174 MB / 358.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008835/0.3557, allocations: 406.6 kB / 358.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006311/0.3621, allocations: 2.889 MB / 361.5 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/0.3644, allocations: 1.122 MB / 362.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.3647, allocations: 31.31 kB / 362.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003415/0.3681, allocations: 1.262 MB / 364 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004465/0.3686, allocations: 216.2 kB / 364.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003505/0.3689, allocations: 162.9 kB / 364.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00245/0.3714, allocations: 1.005 MB / 365.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3714, allocations: 0 / 365.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.957e-06/0.3715, allocations: 0 / 365.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.3715, allocations: 0 / 365.3 MB, free: 15.88 MB / 298.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.002599/0.3741, allocations: 0.9944 MB / 366.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3742, allocations: 9.312 kB / 366.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.3755, allocations: 146 kB / 366.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.3768, allocations: 0.5021 MB / 367 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.3769, allocations: 96.44 kB / 367.1 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.3771, allocations: 48.28 kB / 367.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.3792, allocations: 0.8403 MB / 368 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.3792, allocations: 1.375 kB / 368 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.3794, allocations: 24.25 kB / 368 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.869e-05/0.3795, allocations: 53.73 kB / 368 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.3813, allocations: 0.5974 MB / 368.6 MB, free: 13.54 MB / 298.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.007258/0.3886, allocations: 4.618 MB / 373.3 MB, free: 9.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00097/0.3896, allocations: 316.4 kB / 373.6 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003984/0.39, allocations: 343.5 kB / 373.9 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.3901, allocations: 33.53 kB / 373.9 MB, free: 8.613 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 3.578e-06/0.3901, allocations: 0 / 373.9 MB, free: 8.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.005499/0.3956, allocations: 1.507 MB / 375.4 MB, free: 7.613 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.611e-05/0.3957, allocations: 132.7 kB / 375.6 MB, free: 7.457 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.3969, allocations: 0.6335 MB / 376.2 MB, free: 7.078 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.525e-05/0.3971, allocations: 36.86 kB / 376.2 MB, free: 7.039 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/0.3975, allocations: 437 kB / 376.7 MB, free: 6.641 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.3977, allocations: 139.9 kB / 376.8 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.3977, allocations: 14.22 kB / 376.8 MB, free: 6.508 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.3979, allocations: 343.2 kB / 377.2 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006875/0.3986, allocations: 199.8 kB / 377.3 MB, free: 6.074 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.4, allocations: 0.5292 MB / 377.9 MB, free: 5.523 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.4013, allocations: 297.7 kB / 378.2 MB, free: 5.328 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/0.4013, allocations: 4 kB / 378.2 MB, free: 5.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003647/0.405, allocations: 0.8506 MB / 379 MB, free: 4.461 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/0.4051, allocations: 11.44 kB / 379 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-05/0.4051, allocations: 15.95 kB / 379 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002835/0.408, allocations: 281.9 kB / 379.3 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.4091, allocations: 139.7 kB / 379.5 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/0.4119, allocations: 1.372 MB / 380.8 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.4134, allocations: 43.89 kB / 380.9 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/0.4137, allocations: 51.98 kB / 380.9 MB, free: 2.504 MB / 298.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.0008342/0.4145, allocations: 249.7 kB / 381.2 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003203/0.4149, allocations: 63.25 kB / 381.2 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003351/0.4182, allocations: 0.6138 MB / 381.8 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/0.4183, allocations: 7.953 kB / 381.9 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.625e-06/0.4183, allocations: 0 / 381.9 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.4184, allocations: 8 kB / 381.9 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004743/0.4231, allocations: 1.188 MB / 383 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.802e-06/0.4232, allocations: 0 / 383 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.4236, allocations: 43.98 kB / 383.1 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001934/0.4255, allocations: 202.4 kB / 383.3 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.338e-05/0.4257, allocations: 11.98 kB / 383.3 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/0.4281, allocations: 1.308 MB / 384.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.434e-06/0.4282, allocations: 4 kB / 384.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003259/0.4314, allocations: 0.7828 MB / 385.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007827/0.4323, allocations: 192.2 kB / 385.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/0.4325, allocations: 8 kB / 385.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009912/0.4336, allocations: 28 kB / 385.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.4337, allocations: 23.97 kB / 385.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.4339, allocations: 23.98 kB / 385.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001348/0.4352, allocations: 435 kB / 386.1 MB, free: 13.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.104e-06/0.4353, allocations: 0 / 386.1 MB, free: 13.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002555/0.4378, allocations: 283.8 kB / 386.4 MB, free: 12.86 MB / 314.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.001652/0.4395, allocations: 341.4 kB / 386.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002471/0.442, allocations: 0.5048 MB / 387.2 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.623e-06/0.4421, allocations: 0 / 387.2 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.4433, allocations: 221.4 kB / 387.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/0.4465, allocations: 286 kB / 387.7 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/0.4518, allocations: 1.55 MB / 389.3 MB, free: 9.945 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.453, allocations: 0.938 MB / 390.2 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/0.4536, allocations: 67.42 kB / 390.3 MB, free: 8.914 MB / 314.7 MB Notification: Performance of SimCode: time 2.7e-06/0.4536, allocations: 0 / 390.3 MB, free: 8.914 MB / 314.7 MB Notification: Performance of Templates: time 0.04822/0.5019, allocations: 17.07 MB / 407.3 MB, free: 7.875 MB / 330.7 MB