Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.172/2.172, allocations: 209.2 MB / 225.4 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006226/0.0006229, allocations: 8 kB / 283.1 MB, free: 9.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3678, allocations: 48.7 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.685/8.053, allocations: 2.514 GB / 2.838 GB, free: 6.234 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/8.054, allocations: 101.1 kB / 2.839 GB, free: 6.176 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.55/10.6, allocations: 489.1 MB / 3.316 GB, free: 38.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.715e-06/10.6, allocations: 0 / 3.316 GB, free: 38.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001267/10.6, allocations: 21.91 kB / 3.316 GB, free: 38.19 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.008573/10.61, allocations: 1.734 MB / 3.318 GB, free: 37.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/10.61, allocations: 9.281 kB / 3.318 GB, free: 37.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/10.61, allocations: 226.2 kB / 3.318 GB, free: 37.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/10.62, allocations: 0.5851 MB / 3.319 GB, free: 36.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/10.62, allocations: 110.2 kB / 3.319 GB, free: 36.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/10.62, allocations: 61.34 kB / 3.319 GB, free: 36.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/10.62, allocations: 1.06 MB / 3.32 GB, free: 36.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/10.62, allocations: 11.66 kB / 3.32 GB, free: 36.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/10.62, allocations: 34.31 kB / 3.32 GB, free: 36.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-05/10.62, allocations: 38.91 kB / 3.32 GB, free: 36.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/10.62, allocations: 0.8085 MB / 3.321 GB, free: 35.75 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.007598/10.63, allocations: 5.519 MB / 3.326 GB, free: 31.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/10.63, allocations: 0.522 MB / 3.327 GB, free: 31.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.486/11.12, allocations: 53.22 MB / 3.379 GB, free: 58.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.985e-05/11.12, allocations: 40.22 kB / 3.379 GB, free: 58.06 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 3.406e-06/11.12, allocations: 0 / 3.379 GB, free: 58.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.008925/11.13, allocations: 2.081 MB / 3.381 GB, free: 57.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/11.13, allocations: 193.5 kB / 3.381 GB, free: 57.37 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009779/11.13, allocations: 0.6187 MB / 3.381 GB, free: 57.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.699e-05/11.13, allocations: 33.23 kB / 3.381 GB, free: 57.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/11.13, allocations: 440.4 kB / 3.382 GB, free: 56.94 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/11.13, allocations: 170.4 kB / 3.382 GB, free: 56.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/11.13, allocations: 12.94 kB / 3.382 GB, free: 56.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.468e-05/11.13, allocations: 342.5 kB / 3.382 GB, free: 56.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005685/11.13, allocations: 233.6 kB / 3.383 GB, free: 56.55 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008008/11.13, allocations: 0.6069 MB / 3.383 GB, free: 56.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008708/11.13, allocations: 348 kB / 3.384 GB, free: 56.06 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/11.13, allocations: 4.125 kB / 3.384 GB, free: 56.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002231/11.13, allocations: 0.8753 MB / 3.384 GB, free: 56 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/11.13, allocations: 10.06 kB / 3.384 GB, free: 56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/11.13, allocations: 16.12 kB / 3.384 GB, free: 56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006725/11.14, allocations: 262.1 kB / 3.385 GB, free: 55.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/11.14, allocations: 292.9 kB / 3.385 GB, free: 55.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/11.14, allocations: 2.028 MB / 3.387 GB, free: 54.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/11.14, allocations: 63.92 kB / 3.387 GB, free: 54.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.202e-05/11.14, allocations: 41.84 kB / 3.387 GB, free: 54.15 MB / 458.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 () * Number of clocked 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.0006037/11.15, allocations: 278 kB / 3.387 GB, free: 54.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/11.15, allocations: 73.91 kB / 3.387 GB, free: 54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003459/11.15, allocations: 2.013 MB / 3.389 GB, free: 53.79 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.201e-05/11.15, allocations: 25.22 kB / 3.389 GB, free: 53.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/11.15, allocations: 0 / 3.389 GB, free: 53.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/11.15, allocations: 5.266 kB / 3.389 GB, free: 53.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005114/11.15, allocations: 2.986 MB / 3.392 GB, free: 53.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/11.15, allocations: 0 / 3.392 GB, free: 53.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/11.16, allocations: 185.9 kB / 3.392 GB, free: 53.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003155/11.16, allocations: 305.3 kB / 3.393 GB, free: 53.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/11.16, allocations: 14.95 kB / 3.393 GB, free: 53.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/11.16, allocations: 2.09 MB / 3.395 GB, free: 51.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/11.16, allocations: 1.125 kB / 3.395 GB, free: 51.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003038/11.16, allocations: 1.923 MB / 3.397 GB, free: 51.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006231/11.17, allocations: 287 kB / 3.397 GB, free: 50.96 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/11.17, allocations: 9 kB / 3.397 GB, free: 50.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008165/11.17, allocations: 39.67 kB / 3.397 GB, free: 50.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/11.17, allocations: 30.52 kB / 3.397 GB, free: 50.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/11.17, allocations: 20.77 kB / 3.397 GB, free: 50.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001059/11.17, allocations: 0.5533 MB / 3.398 GB, free: 50.86 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.81e-07/11.17, allocations: 3.75 kB / 3.398 GB, free: 50.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00588/11.17, allocations: 1.127 MB / 3.399 GB, free: 50.86 MB / 458.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 () * Number of clocked 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.009665/11.18, allocations: 1.553 MB / 3.4 GB, free: 50.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003117/11.19, allocations: 0.915 MB / 3.401 GB, free: 50.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/11.19, allocations: 0 / 3.401 GB, free: 50.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001971/11.19, allocations: 0.6234 MB / 3.402 GB, free: 50.69 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/11.19, allocations: 367.3 kB / 3.402 GB, free: 50.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/11.2, allocations: 2.624 MB / 3.405 GB, free: 49.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006541/11.2, allocations: 1.112 MB / 3.406 GB, free: 48.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/11.2, allocations: 65.69 kB / 3.406 GB, free: 48.88 MB / 458.7 MB Notification: Performance of SimCode: time 1.222e-06/11.2, allocations: 0 / 3.406 GB, free: 48.88 MB / 458.7 MB Notification: Performance of Templates: time 0.07589/11.27, allocations: 39.94 MB / 3.445 GB, free: 46.46 MB / 458.7 MB