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/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.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.122/2.122, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.36e-05/1.372e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2665, allocations: 48.69 MB / 320 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.309/6.576, allocations: 2.514 GB / 2.826 GB, free: 85.29 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/6.576, allocations: 96.94 kB / 2.826 GB, free: 85.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.832/8.408, allocations: 482.9 MB / 3.298 GB, free: 360 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.046e-06/8.408, allocations: 0 / 3.298 GB, free: 360 kB / 442.7 MB Notification: Performance of Transformations before backend: time 7.63e-05/8.408, allocations: 19.84 kB / 3.298 GB, free: 344 kB / 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.2745/8.682, allocations: 1.656 MB / 3.3 GB, free: 45.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/8.683, allocations: 9.406 kB / 3.3 GB, free: 45.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/8.685, allocations: 214.8 kB / 3.3 GB, free: 45.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/8.687, allocations: 0.5968 MB / 3.3 GB, free: 45.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/8.687, allocations: 91.5 kB / 3.3 GB, free: 45.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/8.687, allocations: 32.91 kB / 3.3 GB, free: 45.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001504/8.688, allocations: 0.628 MB / 3.301 GB, free: 45.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/8.69, allocations: 0.8701 MB / 3.302 GB, free: 45.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/8.69, allocations: 5.969 kB / 3.302 GB, free: 45.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/8.69, allocations: 3.094 kB / 3.302 GB, free: 45.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.059e-05/8.69, allocations: 45.73 kB / 3.302 GB, free: 45.11 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.148/8.838, allocations: 67.64 MB / 3.368 GB, free: 35.37 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007322/8.839, allocations: 338.4 kB / 3.368 GB, free: 35.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/8.84, allocations: 143.4 kB / 3.368 GB, free: 35.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1226/8.962, allocations: 53.43 MB / 3.421 GB, free: 32.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/8.962, allocations: 32.31 kB / 3.421 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 3.402e-06/8.962, allocations: 2.625 kB / 3.421 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.006954/8.969, allocations: 1.586 MB / 3.422 GB, free: 32.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.413e-05/8.969, allocations: 142.4 kB / 3.422 GB, free: 32.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000758/8.97, allocations: 0.4904 MB / 3.423 GB, free: 32.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/8.97, allocations: 29.7 kB / 3.423 GB, free: 32.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/8.97, allocations: 479 kB / 3.423 GB, free: 31.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/8.971, allocations: 131.6 kB / 3.423 GB, free: 31.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/8.971, allocations: 0 / 3.423 GB, free: 31.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001787/8.971, allocations: 345.4 kB / 3.424 GB, free: 31.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/8.971, allocations: 206.3 kB / 3.424 GB, free: 31.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/8.972, allocations: 0.5815 MB / 3.425 GB, free: 30.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/8.974, allocations: 426.7 kB / 3.425 GB, free: 30.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.551e-06/8.974, allocations: 6.234 kB / 3.425 GB, free: 30.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002807/8.976, allocations: 0.874 MB / 3.426 GB, free: 30.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/8.976, allocations: 10.75 kB / 3.426 GB, free: 30.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/8.977, allocations: 13.16 kB / 3.426 GB, free: 30.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000292/8.977, allocations: 75.41 kB / 3.426 GB, free: 30.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/8.978, allocations: 289.1 kB / 3.426 GB, free: 30.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/8.981, allocations: 2.079 MB / 3.428 GB, free: 29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/8.982, allocations: 44.52 kB / 3.428 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.504e-05/8.982, allocations: 47.73 kB / 3.428 GB, free: 28.99 MB / 0.4948 GB 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.0002431/8.983, allocations: 142.7 kB / 3.428 GB, free: 28.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/8.983, allocations: 65.03 kB / 3.428 GB, free: 28.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/8.985, allocations: 1.498 MB / 3.43 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/8.985, allocations: 19.48 kB / 3.43 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.577e-06/8.985, allocations: 1.312 kB / 3.43 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.472e-06/8.985, allocations: 3.75 kB / 3.43 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/8.989, allocations: 2.35 MB / 3.432 GB, free: 28.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/8.989, allocations: 0 / 3.432 GB, free: 28.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/8.99, allocations: 170.5 kB / 3.432 GB, free: 28.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004042/8.99, allocations: 117.8 kB / 3.433 GB, free: 28.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/8.99, allocations: 6.641 kB / 3.433 GB, free: 28.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/8.993, allocations: 2.074 MB / 3.435 GB, free: 26.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.683e-06/8.993, allocations: 2.734 kB / 3.435 GB, free: 26.44 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/8.995, allocations: 1.514 MB / 3.436 GB, free: 26.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005093/8.996, allocations: 195.1 kB / 3.436 GB, free: 26.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/8.996, allocations: 9.781 kB / 3.436 GB, free: 26.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005175/8.996, allocations: 24.19 kB / 3.436 GB, free: 26.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/8.997, allocations: 31.48 kB / 3.436 GB, free: 26.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/8.997, allocations: 14 kB / 3.436 GB, free: 26.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005616/8.997, allocations: 358.2 kB / 3.437 GB, free: 25.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.31e-07/8.997, allocations: 0.9375 kB / 3.437 GB, free: 25.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004785/9.002, allocations: 1.079 MB / 3.438 GB, free: 25.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.007811/9.01, allocations: 1.653 MB / 3.439 GB, free: 25.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002144/9.012, allocations: 0.7858 MB / 3.44 GB, free: 25.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.554e-06/9.012, allocations: 3.75 kB / 3.44 GB, free: 25.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/9.013, allocations: 0.5291 MB / 3.441 GB, free: 25.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/9.015, allocations: 268.6 kB / 3.441 GB, free: 25.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/9.018, allocations: 1.427 MB / 3.442 GB, free: 25.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008051/9.019, allocations: 1.047 MB / 3.443 GB, free: 24.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/9.019, allocations: 70.97 kB / 3.443 GB, free: 24.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.726e-06/9.019, allocations: 2.438 kB / 3.443 GB, free: 24.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.05738/9.076, allocations: 37.97 MB / 3.48 GB, free: 7.367 MB / 0.4948 GB