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.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,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.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(ModelicaTest): time 1.925/1.925, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00075/0.0007504, allocations: 8 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2939, allocations: 48.7 MB / 331.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01926/0.3132, allocations: 13.99 MB / 345.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009603/0.3228, allocations: 4.735 MB / 349.9 MB, free: 8.645 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.324, allocations: 26.78 kB / 350 MB, free: 8.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.3252, allocations: 266.2 kB / 350.2 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.3281, allocations: 0.6947 MB / 350.9 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003293/0.3314, allocations: 0.7925 MB / 351.7 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002435/0.3339, allocations: 1.142 MB / 352.8 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008295/0.3347, allocations: 381.5 kB / 353.2 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.3363, allocations: 0.5607 MB / 353.8 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009027/0.3372, allocations: 404.5 kB / 354.2 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.3374, allocations: 30.78 kB / 354.2 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.3385, allocations: 240.6 kB / 354.4 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003559/0.3389, allocations: 214.8 kB / 354.6 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003185/0.3392, allocations: 162.8 kB / 354.8 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.3408, allocations: 0.7803 MB / 355.6 MB, free: 4.922 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.103e-06/0.3408, allocations: 0 / 355.6 MB, free: 4.922 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.868e-06/0.3408, allocations: 1.312 kB / 355.6 MB, free: 4.922 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.3408, allocations: 4 kB / 355.6 MB, free: 4.918 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002426/0.3433, allocations: 0.9059 MB / 356.5 MB, free: 4.191 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3433, allocations: 7.844 kB / 356.5 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005691/0.3439, allocations: 93.19 kB / 356.6 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.3452, allocations: 0.4949 MB / 357.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.3454, allocations: 107.9 kB / 357.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.3455, allocations: 43.62 kB / 357.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.3473, allocations: 0.8302 MB / 358.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.3474, allocations: 5.156 kB / 358.1 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.3475, allocations: 23.38 kB / 358.1 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.327e-05/0.3476, allocations: 42.22 kB / 358.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.3492, allocations: 0.6445 MB / 358.8 MB, free: 2.66 MB / 282.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.0069/0.3561, allocations: 4.337 MB / 363.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008896/0.357, allocations: 345.9 kB / 363.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003117/0.3602, allocations: 1.807 MB / 365.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.3603, allocations: 34.56 kB / 365.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 3.439e-06/0.3603, allocations: 4 kB / 365.3 MB, free: 11.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.004294/0.3646, allocations: 1.228 MB / 366.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.3647, allocations: 132.5 kB / 366.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.3659, allocations: 0.6249 MB / 367.3 MB, free: 9.555 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.34e-05/0.366, allocations: 33.7 kB / 367.3 MB, free: 9.516 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.3664, allocations: 448.4 kB / 367.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.3666, allocations: 118.4 kB / 367.9 MB, free: 8.957 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.3666, allocations: 16 kB / 367.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.3668, allocations: 346.8 kB / 368.2 MB, free: 8.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/0.3673, allocations: 173.9 kB / 368.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007848/0.3681, allocations: 0.581 MB / 369 MB, free: 7.648 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006212/0.3687, allocations: 295.7 kB / 369.3 MB, free: 7.359 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.3687, allocations: 4 kB / 369.3 MB, free: 7.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00172/0.3705, allocations: 0.7476 MB / 370 MB, free: 6.602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.3705, allocations: 12 kB / 370 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/0.3706, allocations: 12 kB / 370 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.479e-05/0.3706, allocations: 27.97 kB / 370.1 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.3718, allocations: 215.6 kB / 370.3 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-05/0.3719, allocations: 23.88 kB / 370.3 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008288/0.3727, allocations: 47.89 kB / 370.3 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.459e-05/0.3728, allocations: 51.98 kB / 370.4 MB, free: 6.219 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (95): * Single equations (assignments): 95 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005103/0.3733, allocations: 253.4 kB / 370.6 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.3735, allocations: 67.23 kB / 370.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.3746, allocations: 443.3 kB / 371.1 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.064e-06/0.3746, allocations: 4 kB / 371.1 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.898e-06/0.3747, allocations: 4 kB / 371.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.3747, allocations: 7.984 kB / 371.2 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/0.3773, allocations: 1.233 MB / 372.4 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.3773, allocations: 8 kB / 372.4 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.3777, allocations: 67.84 kB / 372.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003116/0.3781, allocations: 53.19 kB / 372.5 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.3781, allocations: 15.94 kB / 372.5 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005724/0.3787, allocations: 0.5485 MB / 373.1 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/0.3787, allocations: 11.92 kB / 373.1 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.3801, allocations: 0.6897 MB / 373.8 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004525/0.3806, allocations: 184.3 kB / 374 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.3807, allocations: 12 kB / 374 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005424/0.3813, allocations: 27.95 kB / 374 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/0.3813, allocations: 35.86 kB / 374 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/0.3814, allocations: 19.98 kB / 374.1 MB, free: 2.305 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007921/0.3822, allocations: 431 kB / 374.5 MB, free: 1.887 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.8e-07/0.3822, allocations: 0 / 374.5 MB, free: 1.887 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001201/0.3835, allocations: 195.9 kB / 374.7 MB, free: 1.695 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000616/0.3841, allocations: 236.6 kB / 374.9 MB, free: 1.457 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.3852, allocations: 462.2 kB / 375.4 MB, free: 1.008 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.1e-06/0.3852, allocations: 4.312 kB / 375.4 MB, free: 1.004 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000547/0.3858, allocations: 167.7 kB / 375.5 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.3876, allocations: 270.7 kB / 375.8 MB, free: 0.582 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.3906, allocations: 1.553 MB / 377.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008031/0.3915, allocations: 0.9492 MB / 378.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.3917, allocations: 63.42 kB / 378.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of SimCode: time 1.965e-06/0.3917, allocations: 0 / 378.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of Templates: time 0.02381/0.4156, allocations: 11.85 MB / 390.2 MB, free: 2.094 MB / 314.7 MB