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.863/1.863, allocations: 209.3 MB / 222.4 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.473e-05/2.492e-05, allocations: 4 kB / 277.9 MB, free: 12.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08583/0.08588, allocations: 48.7 MB / 326.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.189, allocations: 341.4 MB / 0.6523 GB, free: 111.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/1.19, allocations: 90.55 kB / 0.6524 GB, free: 111.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3821/1.572, allocations: 129.4 MB / 0.7787 GB, free: 22.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.287e-06/1.572, allocations: 0 / 0.7787 GB, free: 22.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.764e-05/1.572, allocations: 16 kB / 0.7788 GB, free: 22.53 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.001881/1.574, allocations: 0.8888 MB / 0.7796 GB, free: 21.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.574, allocations: 12.03 kB / 0.7796 GB, free: 21.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005121/1.574, allocations: 87.06 kB / 0.7797 GB, free: 21.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/1.576, allocations: 0.5443 MB / 0.7802 GB, free: 20.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/1.576, allocations: 108.4 kB / 0.7803 GB, free: 20.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/1.576, allocations: 44 kB / 0.7804 GB, free: 20.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/1.578, allocations: 0.7997 MB / 0.7812 GB, free: 19.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/1.578, allocations: 3.938 kB / 0.7812 GB, free: 19.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/1.578, allocations: 24 kB / 0.7812 GB, free: 19.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-05/1.578, allocations: 40.98 kB / 0.7812 GB, free: 19.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/1.579, allocations: 0.6049 MB / 0.7818 GB, free: 19.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005279/1.584, allocations: 4.021 MB / 0.7858 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007/1.585, allocations: 323.5 kB / 0.7861 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/1.586, allocations: 165.4 kB / 0.7862 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002427/1.588, allocations: 1.831 MB / 0.788 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/1.588, allocations: 38.56 kB / 0.788 GB, free: 12.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 4.226e-06/1.588, allocations: 0 / 0.788 GB, free: 12.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.003381/1.591, allocations: 1.132 MB / 0.7892 GB, free: 11.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/1.592, allocations: 132.5 kB / 0.7893 GB, free: 10.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008078/1.592, allocations: 0.5423 MB / 0.7898 GB, free: 10.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/1.592, allocations: 33.7 kB / 0.7898 GB, free: 10.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/1.593, allocations: 448.3 kB / 0.7903 GB, free: 9.949 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.246e-05/1.593, allocations: 126.3 kB / 0.7904 GB, free: 9.824 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/1.593, allocations: 12 kB / 0.7904 GB, free: 9.812 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.651e-05/1.593, allocations: 346.8 kB / 0.7907 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/1.593, allocations: 165.5 kB / 0.7909 GB, free: 9.305 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/1.594, allocations: 0.5711 MB / 0.7914 GB, free: 8.539 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005101/1.594, allocations: 294.3 kB / 0.7917 GB, free: 8.254 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.761e-06/1.594, allocations: 4 kB / 0.7917 GB, free: 8.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001416/1.596, allocations: 0.7397 MB / 0.7925 GB, free: 7.504 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/1.596, allocations: 15.44 kB / 0.7925 GB, free: 7.492 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/1.596, allocations: 16 kB / 0.7925 GB, free: 7.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.686e-05/1.596, allocations: 20 kB / 0.7925 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/1.597, allocations: 207.7 kB / 0.7927 GB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.652e-05/1.597, allocations: 23.88 kB / 0.7927 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008905/1.598, allocations: 55.94 kB / 0.7928 GB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/1.598, allocations: 44 kB / 0.7928 GB, free: 7.133 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 () * 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.0001805/1.598, allocations: 164.4 kB / 0.793 GB, free: 6.965 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/1.598, allocations: 75.09 kB / 0.793 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009284/1.599, allocations: 426.2 kB / 0.7935 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.599, allocations: 4 kB / 0.7935 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.908e-06/1.599, allocations: 0 / 0.7935 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.554e-06/1.599, allocations: 0 / 0.7935 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/1.601, allocations: 1.209 MB / 0.7946 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-06/1.601, allocations: 8.344 kB / 0.7946 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/1.602, allocations: 67.91 kB / 0.7947 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002712/1.602, allocations: 44.83 kB / 0.7948 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/1.602, allocations: 16 kB / 0.7948 GB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003456/1.603, allocations: 0.56 MB / 0.7953 GB, free: 4.398 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.231e-06/1.603, allocations: 4.031 kB / 0.7953 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/1.604, allocations: 0.8198 MB / 0.7961 GB, free: 3.434 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/1.604, allocations: 180.2 kB / 0.7963 GB, free: 3.238 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/1.604, allocations: 24.05 kB / 0.7963 GB, free: 3.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005333/1.605, allocations: 19.98 kB / 0.7963 GB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/1.605, allocations: 35.86 kB / 0.7964 GB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/1.605, allocations: 23.98 kB / 0.7964 GB, free: 3.137 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006432/1.605, allocations: 419.2 kB / 0.7968 GB, free: 2.734 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.14e-07/1.605, allocations: 0 / 0.7968 GB, free: 2.734 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001181/1.607, allocations: 215.9 kB / 0.797 GB, free: 2.523 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 () * 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.0006576/1.607, allocations: 332.1 kB / 0.7973 GB, free: 2.195 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009215/1.608, allocations: 446.1 kB / 0.7977 GB, free: 1.762 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.608, allocations: 4 kB / 0.7977 GB, free: 1.758 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004443/1.609, allocations: 157.3 kB / 0.7979 GB, free: 1.605 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/1.61, allocations: 278.9 kB / 0.7982 GB, free: 1.336 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/1.612, allocations: 0.9368 MB / 0.7991 GB, free: 336 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2829/1.895, allocations: 0.9457 MB / 0.8 GB, free: 84.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/1.896, allocations: 62.39 kB / 0.8001 GB, free: 84.86 MB / 426.7 MB Notification: Performance of SimCode: time 2.801e-06/1.896, allocations: 0 / 0.8001 GB, free: 84.86 MB / 426.7 MB Notification: Performance of Templates: time 0.03183/1.928, allocations: 12.37 MB / 0.8121 GB, free: 84.67 MB / 426.7 MB