Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(ModelicaTest): time 2.222/2.222, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.636e-05, allocations: 4 kB / 309.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3158, allocations: 54.85 MB / 364.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6844/1, allocations: 347.8 MB / 0.6957 GB, free: 3.914 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/1.001, allocations: 89.45 kB / 0.6958 GB, free: 3.867 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7264/1.727, allocations: 129.4 MB / 0.8221 GB, free: 99.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.551e-06/1.727, allocations: 4 kB / 0.8221 GB, free: 99.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.893e-05/1.727, allocations: 19.98 kB / 0.8221 GB, free: 99.64 MB / 490.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.00194/1.729, allocations: 0.8845 MB / 0.823 GB, free: 98.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/1.729, allocations: 12.03 kB / 0.823 GB, free: 98.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004895/1.73, allocations: 83.11 kB / 0.8231 GB, free: 98.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/1.731, allocations: 0.552 MB / 0.8236 GB, free: 98.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/1.731, allocations: 104.4 kB / 0.8237 GB, free: 97.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/1.732, allocations: 44 kB / 0.8238 GB, free: 97.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003176/1.735, allocations: 0.8037 MB / 0.8246 GB, free: 96.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.134e-05/1.735, allocations: 3.938 kB / 0.8246 GB, free: 96.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/1.735, allocations: 23.98 kB / 0.8246 GB, free: 96.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/1.735, allocations: 44.94 kB / 0.8246 GB, free: 96.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/1.738, allocations: 0.6088 MB / 0.8252 GB, free: 96.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009945/1.748, allocations: 4.023 MB / 0.8292 GB, free: 92.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/1.75, allocations: 328.7 kB / 0.8295 GB, free: 91.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007098/1.75, allocations: 169.4 kB / 0.8296 GB, free: 91.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004726/1.755, allocations: 1.811 MB / 0.8314 GB, free: 89.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.728e-05/1.755, allocations: 42.56 kB / 0.8314 GB, free: 89.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=23): time 6.202e-06/1.755, allocations: 0 / 0.8314 GB, free: 89.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.00698/1.762, allocations: 1.118 MB / 0.8325 GB, free: 88.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.738e-05/1.762, allocations: 136.5 kB / 0.8327 GB, free: 88.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/1.764, allocations: 0.55 MB / 0.8332 GB, free: 87.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.992e-05/1.764, allocations: 33.7 kB / 0.8332 GB, free: 87.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/1.765, allocations: 452.3 kB / 0.8337 GB, free: 87.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/1.765, allocations: 126.3 kB / 0.8338 GB, free: 86.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.224e-05/1.765, allocations: 12 kB / 0.8338 GB, free: 86.92 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/1.765, allocations: 342.8 kB / 0.8341 GB, free: 86.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007762/1.766, allocations: 169.5 kB / 0.8343 GB, free: 86.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/1.767, allocations: 0.5711 MB / 0.8348 GB, free: 85.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/1.768, allocations: 291.6 kB / 0.8351 GB, free: 85.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-05/1.768, allocations: 4 kB / 0.8351 GB, free: 85.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003168/1.772, allocations: 0.7196 MB / 0.8358 GB, free: 84.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/1.772, allocations: 12 kB / 0.8358 GB, free: 84.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.47e-05/1.772, allocations: 16.78 kB / 0.8359 GB, free: 84.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.281e-05/1.772, allocations: 23.94 kB / 0.8359 GB, free: 84.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/1.774, allocations: 215.7 kB / 0.8361 GB, free: 84.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.622e-05/1.774, allocations: 23.88 kB / 0.8361 GB, free: 84.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/1.776, allocations: 51.88 kB / 0.8362 GB, free: 84.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/1.776, allocations: 44 kB / 0.8362 GB, free: 84.25 MB / 490.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.000351/1.777, allocations: 164.6 kB / 0.8364 GB, free: 84.08 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/1.777, allocations: 67.25 kB / 0.8364 GB, free: 84.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/1.779, allocations: 430.2 kB / 0.8368 GB, free: 83.58 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/1.779, allocations: 4 kB / 0.8368 GB, free: 83.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.779, allocations: 0 / 0.8368 GB, free: 83.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/1.779, allocations: 4 kB / 0.8368 GB, free: 83.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004049/1.783, allocations: 1.205 MB / 0.838 GB, free: 82.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/1.783, allocations: 7.953 kB / 0.838 GB, free: 82.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007649/1.784, allocations: 67.84 kB / 0.8381 GB, free: 82.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005155/1.785, allocations: 40.84 kB / 0.8381 GB, free: 82.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.785e-05/1.785, allocations: 12.39 kB / 0.8381 GB, free: 82.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000672/1.785, allocations: 0.5641 MB / 0.8387 GB, free: 81.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/1.786, allocations: 4 kB / 0.8387 GB, free: 81.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/1.788, allocations: 0.8247 MB / 0.8395 GB, free: 80.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006974/1.789, allocations: 184.2 kB / 0.8397 GB, free: 80.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002858/1.789, allocations: 15.98 kB / 0.8397 GB, free: 80.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.79, allocations: 20.06 kB / 0.8397 GB, free: 80.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/1.79, allocations: 39.98 kB / 0.8397 GB, free: 80.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.79, allocations: 19.98 kB / 0.8398 GB, free: 80.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001386/1.792, allocations: 423.1 kB / 0.8402 GB, free: 79.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.35e-06/1.792, allocations: 3.938 kB / 0.8402 GB, free: 79.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002621/1.794, allocations: 219.9 kB / 0.8404 GB, free: 79.63 MB / 490.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.001229/1.796, allocations: 325.1 kB / 0.8407 GB, free: 79.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001888/1.798, allocations: 456 kB / 0.8411 GB, free: 78.87 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.444e-06/1.798, allocations: 4 kB / 0.8411 GB, free: 78.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009111/1.799, allocations: 160 kB / 0.8413 GB, free: 78.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/1.802, allocations: 274.9 kB / 0.8415 GB, free: 78.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/1.806, allocations: 0.9406 MB / 0.8425 GB, free: 77.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009292/1.807, allocations: 0.9453 MB / 0.8434 GB, free: 76.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/1.808, allocations: 63.42 kB / 0.8435 GB, free: 76.39 MB / 490.7 MB Notification: Performance of SimCode: time 2.9e-06/1.808, allocations: 0 / 0.8435 GB, free: 76.39 MB / 490.7 MB Notification: Performance of Templates: time 0.0221/1.83, allocations: 12.35 MB / 0.8555 GB, free: 64.06 MB / 490.7 MB