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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.979/1.979, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.572e-05/1.581e-05, allocations: 0 / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2777, allocations: 48.68 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8984/1.176, allocations: 340.8 MB / 0.6453 GB, free: 104.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/1.176, allocations: 90.88 kB / 0.6454 GB, free: 104.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5843/1.761, allocations: 128.3 MB / 0.7707 GB, free: 102.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.196e-06/1.761, allocations: 0 / 0.7707 GB, free: 102.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.795e-05/1.761, allocations: 19.72 kB / 0.7707 GB, free: 102.4 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.001832/1.763, allocations: 0.8883 MB / 0.7715 GB, free: 102 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.763, allocations: 11.47 kB / 0.7716 GB, free: 102 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004262/1.763, allocations: 85.94 kB / 0.7716 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/1.764, allocations: 0.5547 MB / 0.7722 GB, free: 101.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.343e-05/1.764, allocations: 83 kB / 0.7723 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.933e-05/1.765, allocations: 27.22 kB / 0.7723 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001071/1.766, allocations: 0.5265 MB / 0.7728 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/1.767, allocations: 0.733 MB / 0.7735 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/1.767, allocations: 11.34 kB / 0.7735 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.638e-05/1.767, allocations: 3.844 kB / 0.7735 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.329e-05/1.767, allocations: 38.48 kB / 0.7736 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004807/1.772, allocations: 4.158 MB / 0.7776 GB, free: 98.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/1.773, allocations: 267.5 kB / 0.7779 GB, free: 98.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/1.773, allocations: 135.1 kB / 0.778 GB, free: 98.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001989/1.775, allocations: 1.489 MB / 0.7795 GB, free: 97.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/1.775, allocations: 34.47 kB / 0.7795 GB, free: 97.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.267e-06/1.775, allocations: 0 / 0.7795 GB, free: 97.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.002163/1.777, allocations: 0.7499 MB / 0.7802 GB, free: 96.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/1.777, allocations: 135 kB / 0.7804 GB, free: 96.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007525/1.778, allocations: 0.5264 MB / 0.7809 GB, free: 96.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/1.778, allocations: 28.55 kB / 0.7809 GB, free: 96.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/1.778, allocations: 489.8 kB / 0.7814 GB, free: 96.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.668e-05/1.778, allocations: 72.56 kB / 0.7814 GB, free: 96.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/1.778, allocations: 0 / 0.7814 GB, free: 96.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.699e-05/1.778, allocations: 347 kB / 0.7818 GB, free: 95.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/1.779, allocations: 140.6 kB / 0.7819 GB, free: 95.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/1.779, allocations: 0.5297 MB / 0.7824 GB, free: 95.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000611/1.78, allocations: 267.5 kB / 0.7827 GB, free: 95.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.038e-06/1.78, allocations: 7.188 kB / 0.7827 GB, free: 95.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001332/1.781, allocations: 0.5996 MB / 0.7833 GB, free: 95.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.781, allocations: 12.81 kB / 0.7833 GB, free: 95.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/1.781, allocations: 15.75 kB / 0.7833 GB, free: 95.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.721e-05/1.781, allocations: 18.81 kB / 0.7833 GB, free: 95.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009837/1.782, allocations: 212.5 kB / 0.7835 GB, free: 95.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.42e-05/1.782, allocations: 25.8 kB / 0.7835 GB, free: 95.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008966/1.783, allocations: 44.92 kB / 0.7836 GB, free: 95.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/1.783, allocations: 42.41 kB / 0.7836 GB, free: 95.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0001664/1.783, allocations: 142.7 kB / 0.7838 GB, free: 95.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/1.784, allocations: 58.31 kB / 0.7838 GB, free: 95.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/1.784, allocations: 259.9 kB / 0.7841 GB, free: 95.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.463e-06/1.784, allocations: 0 / 0.7841 GB, free: 95.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.532e-06/1.784, allocations: 0 / 0.7841 GB, free: 95.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.228e-06/1.784, allocations: 7.828 kB / 0.7841 GB, free: 95.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/1.786, allocations: 0.7546 MB / 0.7848 GB, free: 94.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.282e-06/1.786, allocations: 0 / 0.7848 GB, free: 94.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/1.786, allocations: 48.5 kB / 0.7848 GB, free: 94.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/1.786, allocations: 34.22 kB / 0.7849 GB, free: 94.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/1.786, allocations: 3.125 kB / 0.7849 GB, free: 94.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003826/1.787, allocations: 0.557 MB / 0.7854 GB, free: 94.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.694e-06/1.787, allocations: 3.281 kB / 0.7854 GB, free: 94.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007417/1.787, allocations: 499.8 kB / 0.7859 GB, free: 94.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/1.788, allocations: 163.1 kB / 0.7861 GB, free: 93.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/1.788, allocations: 3.719 kB / 0.7861 GB, free: 93.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/1.788, allocations: 13.36 kB / 0.7861 GB, free: 93.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/1.788, allocations: 19.09 kB / 0.7861 GB, free: 93.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.115e-05/1.788, allocations: 18.7 kB / 0.7861 GB, free: 93.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005493/1.789, allocations: 385.2 kB / 0.7865 GB, free: 93.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.84e-07/1.789, allocations: 0 / 0.7865 GB, free: 93.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00109/1.79, allocations: 195.7 kB / 0.7867 GB, free: 93.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * 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.0006262/1.791, allocations: 325.5 kB / 0.787 GB, free: 93.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006867/1.791, allocations: 356.3 kB / 0.7873 GB, free: 93.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.381e-06/1.791, allocations: 3.469 kB / 0.7873 GB, free: 93.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002349/1.792, allocations: 85.72 kB / 0.7874 GB, free: 93.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/1.793, allocations: 220.1 kB / 0.7876 GB, free: 93.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/1.795, allocations: 0.7819 MB / 0.7884 GB, free: 93.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/1.795, allocations: 0.9345 MB / 0.7893 GB, free: 92.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/1.795, allocations: 58.23 kB / 0.7893 GB, free: 92.71 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/1.795, allocations: 3.656 kB / 0.7893 GB, free: 92.71 MB / 426.7 MB Notification: Performance of Templates: time 0.01868/1.814, allocations: 11.7 MB / 0.8008 GB, free: 92.21 MB / 426.7 MB