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.862/1.862, allocations: 209.3 MB / 224.9 MB, free: 340 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004355, allocations: 8 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2863, allocations: 48.69 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.836/1.122, allocations: 341.5 MB / 0.657 GB, free: 133.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/1.123, allocations: 97 kB / 0.6571 GB, free: 133.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3633/1.486, allocations: 129.8 MB / 0.7839 GB, free: 1.926 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.298e-06/1.486, allocations: 0 / 0.7839 GB, free: 1.926 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.775e-05/1.486, allocations: 16 kB / 0.7839 GB, free: 1.91 MB / 426.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.002134/1.488, allocations: 0.9666 MB / 0.7849 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/1.488, allocations: 12.03 kB / 0.7849 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005076/1.489, allocations: 87.14 kB / 0.785 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/1.49, allocations: 0.5481 MB / 0.7855 GB, free: 212 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/1.49, allocations: 100.4 kB / 0.7856 GB, free: 100 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/1.49, allocations: 48 kB / 0.7856 GB, free: 52 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2418/1.732, allocations: 0.8078 MB / 0.7864 GB, free: 85.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.434e-05/1.732, allocations: 6.812 kB / 0.7864 GB, free: 85.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/1.732, allocations: 20.78 kB / 0.7865 GB, free: 85.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.218e-05/1.732, allocations: 42.62 kB / 0.7865 GB, free: 85.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/1.734, allocations: 0.6281 MB / 0.7871 GB, free: 85.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005005/1.739, allocations: 4.01 MB / 0.791 GB, free: 83.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007781/1.74, allocations: 331.7 kB / 0.7913 GB, free: 83.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002348/1.742, allocations: 1.783 MB / 0.7931 GB, free: 81.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/1.742, allocations: 35.97 kB / 0.7931 GB, free: 81.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.925e-06/1.742, allocations: 3.906 kB / 0.7931 GB, free: 81.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.00381/1.746, allocations: 1.197 MB / 0.7943 GB, free: 81.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/1.746, allocations: 134.3 kB / 0.7944 GB, free: 81.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000954/1.747, allocations: 0.5533 MB / 0.795 GB, free: 81.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.694e-05/1.747, allocations: 33.61 kB / 0.795 GB, free: 81.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/1.747, allocations: 447.8 kB / 0.7954 GB, free: 80.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/1.747, allocations: 128 kB / 0.7955 GB, free: 80.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/1.747, allocations: 15 kB / 0.7956 GB, free: 80.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.804e-05/1.748, allocations: 341.9 kB / 0.7959 GB, free: 80.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/1.748, allocations: 171.8 kB / 0.7961 GB, free: 80.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/1.749, allocations: 0.5776 MB / 0.7966 GB, free: 79.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00055/1.749, allocations: 297.1 kB / 0.7969 GB, free: 79.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/1.749, allocations: 3.562 kB / 0.7969 GB, free: 79.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001563/1.751, allocations: 0.7469 MB / 0.7976 GB, free: 79.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/1.751, allocations: 10.41 kB / 0.7976 GB, free: 79.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/1.751, allocations: 13.38 kB / 0.7977 GB, free: 79.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-05/1.751, allocations: 22.09 kB / 0.7977 GB, free: 79.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/1.752, allocations: 214.7 kB / 0.7979 GB, free: 79.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.363e-05/1.752, allocations: 23.97 kB / 0.7979 GB, free: 79.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008367/1.753, allocations: 46.03 kB / 0.7979 GB, free: 79.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-05/1.753, allocations: 43.81 kB / 0.798 GB, free: 79.88 MB / 426.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.0004554/1.753, allocations: 261.2 kB / 0.7982 GB, free: 79.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/1.754, allocations: 68.97 kB / 0.7983 GB, free: 79.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000968/1.755, allocations: 432.1 kB / 0.7987 GB, free: 79.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/1.755, allocations: 4.656 kB / 0.7987 GB, free: 79.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.106e-06/1.755, allocations: 0 / 0.7987 GB, free: 79.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.65e-06/1.755, allocations: 0 / 0.7987 GB, free: 79.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/1.757, allocations: 1.216 MB / 0.7999 GB, free: 79.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.757, allocations: 4.031 kB / 0.7999 GB, free: 79.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/1.757, allocations: 69.16 kB / 0.8 GB, free: 79.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002715/1.758, allocations: 41.42 kB / 0.8 GB, free: 79.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/1.758, allocations: 10.81 kB / 0.8 GB, free: 79.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003607/1.758, allocations: 0.569 MB / 0.8006 GB, free: 78.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/1.758, allocations: 6 kB / 0.8006 GB, free: 78.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/1.759, allocations: 0.8303 MB / 0.8014 GB, free: 78.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/1.76, allocations: 181 kB / 0.8016 GB, free: 77.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/1.76, allocations: 19.5 kB / 0.8016 GB, free: 77.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005615/1.76, allocations: 22.31 kB / 0.8016 GB, free: 77.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/1.76, allocations: 38.41 kB / 0.8016 GB, free: 77.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/1.76, allocations: 22.61 kB / 0.8017 GB, free: 77.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006626/1.761, allocations: 424.1 kB / 0.8021 GB, free: 77.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.761, allocations: 0 / 0.8021 GB, free: 77.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001273/1.762, allocations: 214.2 kB / 0.8023 GB, free: 77.88 MB / 426.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.0007177/1.763, allocations: 343.8 kB / 0.8026 GB, free: 77.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001067/1.764, allocations: 460.8 kB / 0.803 GB, free: 77.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.697e-06/1.764, allocations: 1.469 kB / 0.803 GB, free: 77.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005045/1.765, allocations: 167.6 kB / 0.8032 GB, free: 77.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/1.766, allocations: 262.7 kB / 0.8035 GB, free: 77.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/1.769, allocations: 1.549 MB / 0.805 GB, free: 77.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/1.77, allocations: 0.9439 MB / 0.8059 GB, free: 76.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/1.77, allocations: 68.67 kB / 0.806 GB, free: 76.32 MB / 426.7 MB Notification: Performance of SimCode: time 2.15e-06/1.77, allocations: 1.875 kB / 0.806 GB, free: 76.32 MB / 426.7 MB Notification: Performance of Templates: time 0.0203/1.79, allocations: 12.36 MB / 0.818 GB, free: 75.98 MB / 426.7 MB