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_ph.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_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.1/2.1, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.009e-05/3.041e-05, allocations: 8 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08978/0.08984, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.21/6.3, allocations: 2.516 GB / 2.835 GB, free: 113.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/6.3, allocations: 86.7 kB / 2.835 GB, free: 113.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.14/8.44, allocations: 489.9 MB / 3.313 GB, free: 39.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.828e-06/8.44, allocations: 0 / 3.313 GB, free: 39.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.784e-05/8.44, allocations: 21.2 kB / 3.313 GB, free: 39.07 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.006275/8.447, allocations: 1.719 MB / 3.315 GB, free: 38.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/8.447, allocations: 10.97 kB / 3.315 GB, free: 38.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00307/8.45, allocations: 310.4 kB / 3.315 GB, free: 38.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/8.451, allocations: 0.6063 MB / 3.316 GB, free: 38.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/8.452, allocations: 116.6 kB / 3.316 GB, free: 38.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/8.452, allocations: 62.72 kB / 3.316 GB, free: 38.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00309/8.455, allocations: 1.19 MB / 3.317 GB, free: 37.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/8.455, allocations: 4.438 kB / 3.317 GB, free: 37.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/8.455, allocations: 31.45 kB / 3.317 GB, free: 37.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-05/8.455, allocations: 43.88 kB / 3.317 GB, free: 37.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002886/8.458, allocations: 0.9847 MB / 3.318 GB, free: 37.79 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.007134/8.465, allocations: 5.6 MB / 3.324 GB, free: 34.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/8.468, allocations: 0.7366 MB / 3.325 GB, free: 34.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004497/8.468, allocations: 254.4 kB / 3.325 GB, free: 34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0359/8.504, allocations: 18.77 MB / 3.343 GB, free: 22.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/8.504, allocations: 40.89 kB / 3.343 GB, free: 22.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 3.532e-06/8.504, allocations: 4.062 kB / 3.343 GB, free: 22.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.006578/8.511, allocations: 2.005 MB / 3.345 GB, free: 21.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/8.511, allocations: 162 kB / 3.345 GB, free: 21.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009361/8.512, allocations: 0.5313 MB / 3.346 GB, free: 21.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/8.512, allocations: 40.11 kB / 3.346 GB, free: 21.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/8.512, allocations: 423.9 kB / 3.346 GB, free: 21.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/8.512, allocations: 177 kB / 3.346 GB, free: 21.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/8.512, allocations: 21.66 kB / 3.346 GB, free: 21.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.171e-05/8.512, allocations: 350 kB / 3.347 GB, free: 20.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/8.513, allocations: 237.5 kB / 3.347 GB, free: 20.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/8.513, allocations: 0.5911 MB / 3.348 GB, free: 20.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006146/8.514, allocations: 343.6 kB / 3.348 GB, free: 20.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.798e-05/8.514, allocations: 2.875 kB / 3.348 GB, free: 20.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001684/8.516, allocations: 0.8632 MB / 3.349 GB, free: 20.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/8.516, allocations: 8.969 kB / 3.349 GB, free: 20.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/8.516, allocations: 13.56 kB / 3.349 GB, free: 20.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003438/8.516, allocations: 64.48 kB / 3.349 GB, free: 20.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/8.518, allocations: 318.5 kB / 3.349 GB, free: 20.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/8.519, allocations: 1.986 MB / 3.351 GB, free: 18.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/8.52, allocations: 85.55 kB / 3.351 GB, free: 18.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.713e-05/8.521, allocations: 46.69 kB / 3.351 GB, free: 18.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000225/8.521, allocations: 161 kB / 3.351 GB, free: 18.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/8.521, allocations: 68.38 kB / 3.351 GB, free: 18.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/8.524, allocations: 2.575 MB / 3.354 GB, free: 17.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.363e-05/8.524, allocations: 34.64 kB / 3.354 GB, free: 17.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.24e-06/8.524, allocations: 3.953 kB / 3.354 GB, free: 17.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/8.524, allocations: 5.484 kB / 3.354 GB, free: 17.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004787/8.529, allocations: 3.75 MB / 3.358 GB, free: 17.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.567e-06/8.529, allocations: 0 / 3.358 GB, free: 17.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/8.53, allocations: 242.8 kB / 3.358 GB, free: 17.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00043/8.531, allocations: 87.72 kB / 3.358 GB, free: 17.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-05/8.531, allocations: 11.22 kB / 3.358 GB, free: 17.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/8.533, allocations: 1.996 MB / 3.36 GB, free: 31.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.025e-06/8.533, allocations: 0 / 3.36 GB, free: 31.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003026/8.536, allocations: 2.245 MB / 3.362 GB, free: 31.24 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000646/8.537, allocations: 321.3 kB / 3.362 GB, free: 31.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/8.537, allocations: 10.47 kB / 3.362 GB, free: 31.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008084/8.538, allocations: 65.58 kB / 3.362 GB, free: 31.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/8.538, allocations: 48.67 kB / 3.363 GB, free: 31.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-05/8.538, allocations: 27.5 kB / 3.363 GB, free: 31.05 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008839/8.539, allocations: 0.5296 MB / 3.363 GB, free: 30.95 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.47e-07/8.539, allocations: 0 / 3.363 GB, free: 30.95 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004887/8.544, allocations: 1.128 MB / 3.364 GB, free: 30.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007992/8.552, allocations: 1.56 MB / 3.366 GB, free: 30.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002471/8.555, allocations: 1.022 MB / 3.367 GB, free: 30.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/8.555, allocations: 4 kB / 3.367 GB, free: 30.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001523/8.556, allocations: 0.7484 MB / 3.367 GB, free: 30.49 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/8.559, allocations: 349.7 kB / 3.368 GB, free: 30.48 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003647/8.562, allocations: 1.945 MB / 3.37 GB, free: 30.05 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009435/8.563, allocations: 1.178 MB / 3.371 GB, free: 29.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/8.564, allocations: 75.42 kB / 3.371 GB, free: 29.34 MB / 458.7 MB Notification: Performance of SimCode: time 1.836e-06/8.564, allocations: 0 / 3.371 GB, free: 29.34 MB / 458.7 MB Notification: Performance of Templates: time 0.06109/8.625, allocations: 41.77 MB / 3.412 GB, free: 26.61 MB / 458.7 MB