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.WaterIF97_pT.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.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 1.855/1.855, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.964e-05/3.976e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08613/0.08621, allocations: 48.71 MB / 326.6 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.682/6.768, allocations: 2.514 GB / 2.833 GB, free: 114.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/6.768, allocations: 96.27 kB / 2.833 GB, free: 114.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.147/8.915, allocations: 487.7 MB / 3.31 GB, free: 40.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.01e-06/8.915, allocations: 0 / 3.31 GB, free: 40.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.827e-05/8.916, allocations: 23.11 kB / 3.31 GB, free: 40.02 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.00685/8.922, allocations: 1.658 MB / 3.311 GB, free: 39.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/8.922, allocations: 9.906 kB / 3.311 GB, free: 39.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/8.925, allocations: 221.1 kB / 3.311 GB, free: 39.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/8.927, allocations: 0.5936 MB / 3.312 GB, free: 39.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/8.927, allocations: 107.2 kB / 3.312 GB, free: 39.06 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/8.927, allocations: 63.75 kB / 3.312 GB, free: 39.06 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/8.93, allocations: 1.074 MB / 3.313 GB, free: 38.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/8.93, allocations: 7.516 kB / 3.313 GB, free: 38.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/8.93, allocations: 27.58 kB / 3.313 GB, free: 38.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-05/8.93, allocations: 42.33 kB / 3.313 GB, free: 38.74 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/8.933, allocations: 0.8239 MB / 3.314 GB, free: 38.73 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.007642/8.94, allocations: 5.521 MB / 3.32 GB, free: 34.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/8.942, allocations: 0.5498 MB / 3.32 GB, free: 34.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004337/8.942, allocations: 210.4 kB / 3.32 GB, free: 34.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1228/9.065, allocations: 53.43 MB / 3.372 GB, free: 17.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.116e-05/9.065, allocations: 39.31 kB / 3.372 GB, free: 17.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 3.668e-06/9.065, allocations: 0 / 3.372 GB, free: 17.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.008219/9.074, allocations: 1.996 MB / 3.374 GB, free: 33 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/9.074, allocations: 186.6 kB / 3.375 GB, free: 32.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000845/9.075, allocations: 0.5453 MB / 3.375 GB, free: 32.65 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/9.075, allocations: 37.08 kB / 3.375 GB, free: 32.62 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/9.075, allocations: 436.7 kB / 3.376 GB, free: 32.33 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/9.075, allocations: 164 kB / 3.376 GB, free: 32.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/9.075, allocations: 18.47 kB / 3.376 GB, free: 32.23 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001865/9.075, allocations: 348.8 kB / 3.376 GB, free: 31.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/9.076, allocations: 221.7 kB / 3.376 GB, free: 31.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006386/9.076, allocations: 0.6019 MB / 3.377 GB, free: 31.42 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006047/9.077, allocations: 344.1 kB / 3.377 GB, free: 31.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.087e-06/9.077, allocations: 3.969 kB / 3.377 GB, free: 31.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001724/9.079, allocations: 0.8591 MB / 3.378 GB, free: 31.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/9.079, allocations: 7.281 kB / 3.378 GB, free: 31.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/9.079, allocations: 14.97 kB / 3.378 GB, free: 31.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00424/9.083, allocations: 274.5 kB / 3.378 GB, free: 31.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/9.085, allocations: 290.2 kB / 3.379 GB, free: 31.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/9.087, allocations: 2.026 MB / 3.381 GB, free: 29.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/9.088, allocations: 62.39 kB / 3.381 GB, free: 29.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.79e-05/9.088, allocations: 47.02 kB / 3.381 GB, free: 29.46 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.000265/9.089, allocations: 177.6 kB / 3.381 GB, free: 29.34 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/9.089, allocations: 71.12 kB / 3.381 GB, free: 29.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/9.092, allocations: 2.009 MB / 3.383 GB, free: 29.04 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/9.092, allocations: 21.66 kB / 3.383 GB, free: 29.04 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.36e-06/9.092, allocations: 0 / 3.383 GB, free: 29.04 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/9.092, allocations: 7.172 kB / 3.383 GB, free: 29.04 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/9.096, allocations: 2.962 MB / 3.386 GB, free: 28.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/9.096, allocations: 7.938 kB / 3.386 GB, free: 28.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/9.098, allocations: 190.4 kB / 3.386 GB, free: 28.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002035/9.1, allocations: 297.5 kB / 3.386 GB, free: 28.56 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.36e-05/9.1, allocations: 14.12 kB / 3.386 GB, free: 28.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/9.102, allocations: 2.068 MB / 3.388 GB, free: 26.72 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.202e-06/9.102, allocations: 0 / 3.388 GB, free: 26.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002601/9.105, allocations: 1.941 MB / 3.39 GB, free: 26.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006257/9.105, allocations: 286.8 kB / 3.391 GB, free: 26.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/9.105, allocations: 13.95 kB / 3.391 GB, free: 26.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007367/9.106, allocations: 37.47 kB / 3.391 GB, free: 26.11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.933e-05/9.106, allocations: 33.16 kB / 3.391 GB, free: 26.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.221e-05/9.106, allocations: 20.06 kB / 3.391 GB, free: 26.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009334/9.107, allocations: 0.5386 MB / 3.391 GB, free: 26.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.64e-07/9.107, allocations: 7.844 kB / 3.391 GB, free: 26.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00515/9.112, allocations: 1.13 MB / 3.392 GB, free: 25.87 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008247/9.121, allocations: 1.558 MB / 3.394 GB, free: 25.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00229/9.123, allocations: 0.8871 MB / 3.395 GB, free: 25.51 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/9.123, allocations: 0 / 3.395 GB, free: 25.51 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001493/9.125, allocations: 0.6201 MB / 3.395 GB, free: 25.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/9.127, allocations: 345 kB / 3.396 GB, free: 25.48 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/9.13, allocations: 1.661 MB / 3.397 GB, free: 25.02 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008521/9.131, allocations: 1.115 MB / 3.398 GB, free: 24.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/9.132, allocations: 70.94 kB / 3.398 GB, free: 24.29 MB / 474.7 MB Notification: Performance of SimCode: time 2.484e-06/9.132, allocations: 0 / 3.398 GB, free: 24.29 MB / 474.7 MB Notification: Performance of Templates: time 0.06148/9.193, allocations: 39.7 MB / 3.437 GB, free: 21.14 MB / 474.7 MB