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.Incompressible.Essotherm650.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.Incompressible.Essotherm650,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.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadModel(ModelicaTest): time 1.912/1.912, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.624e-05, allocations: 8 kB / 277.9 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08876/0.08882, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.844/0.9329, allocations: 230.5 MB / 0.544 GB, free: 144 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.9332, allocations: 92.56 kB / 0.5441 GB, free: 144 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.096/2.029, allocations: 280.9 MB / 0.8184 GB, free: 35.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.637e-06/2.029, allocations: 0 / 0.8184 GB, free: 35.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.174e-05/2.029, allocations: 23.98 kB / 0.8184 GB, free: 35.58 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.003754/2.033, allocations: 1.511 MB / 0.8199 GB, free: 34.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/2.033, allocations: 12.03 kB / 0.8199 GB, free: 34.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/2.034, allocations: 139 kB / 0.82 GB, free: 33.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/2.035, allocations: 0.5598 MB / 0.8206 GB, free: 33.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/2.036, allocations: 100.4 kB / 0.8207 GB, free: 33.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/2.036, allocations: 55.98 kB / 0.8207 GB, free: 33.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/2.037, allocations: 0.8122 MB / 0.8215 GB, free: 32.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/2.037, allocations: 0 / 0.8215 GB, free: 32.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/2.038, allocations: 24 kB / 0.8215 GB, free: 32.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.7e-05/2.038, allocations: 44.92 kB / 0.8216 GB, free: 32.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/2.039, allocations: 0.562 MB / 0.8221 GB, free: 31.59 MB / 426.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.005374/2.044, allocations: 4.423 MB / 0.8265 GB, free: 26.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008452/2.045, allocations: 321 kB / 0.8268 GB, free: 26.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/2.045, allocations: 132.8 kB / 0.8269 GB, free: 26.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/2.046, allocations: 348.6 kB / 0.8272 GB, free: 25.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/2.046, allocations: 34.56 kB / 0.8272 GB, free: 25.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 4.001e-06/2.046, allocations: 0 / 0.8272 GB, free: 25.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.004157/2.05, allocations: 1.216 MB / 0.8284 GB, free: 24.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/2.05, allocations: 132.5 kB / 0.8286 GB, free: 24.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008948/2.051, allocations: 0.5579 MB / 0.8291 GB, free: 23.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.998e-05/2.051, allocations: 33.7 kB / 0.8291 GB, free: 23.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/2.051, allocations: 436.7 kB / 0.8296 GB, free: 23.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/2.051, allocations: 130.2 kB / 0.8297 GB, free: 23.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/2.052, allocations: 19.94 kB / 0.8297 GB, free: 23.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.677e-05/2.052, allocations: 347.2 kB / 0.83 GB, free: 22.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/2.052, allocations: 193.5 kB / 0.8302 GB, free: 22.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005375/2.053, allocations: 0.5133 MB / 0.8307 GB, free: 22.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005357/2.053, allocations: 298.8 kB / 0.831 GB, free: 21.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.461e-06/2.053, allocations: 0 / 0.831 GB, free: 21.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001673/2.055, allocations: 0.8268 MB / 0.8318 GB, free: 21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/2.055, allocations: 19.97 kB / 0.8318 GB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/2.055, allocations: 8 kB / 0.8318 GB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/2.057, allocations: 261.4 kB / 0.8321 GB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/2.057, allocations: 135.8 kB / 0.8322 GB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/2.058, allocations: 1.366 MB / 0.8335 GB, free: 19.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008878/2.059, allocations: 40.11 kB / 0.8336 GB, free: 19.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.916e-05/2.059, allocations: 47.98 kB / 0.8336 GB, free: 19.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (75): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002026/2.059, allocations: 156.6 kB / 0.8338 GB, free: 18.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/2.06, allocations: 75.09 kB / 0.8339 GB, free: 18.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/2.062, allocations: 0.6806 MB / 0.8345 GB, free: 18.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.769e-06/2.062, allocations: 4 kB / 0.8345 GB, free: 18.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/2.062, allocations: 4.062 kB / 0.8345 GB, free: 18.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.109e-06/2.062, allocations: 7.938 kB / 0.8345 GB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/2.064, allocations: 1.197 MB / 0.8357 GB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.574e-06/2.064, allocations: 0 / 0.8357 GB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/2.064, allocations: 35.98 kB / 0.8357 GB, free: 16.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/2.065, allocations: 201.7 kB / 0.8359 GB, free: 16.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/2.066, allocations: 15.98 kB / 0.8359 GB, free: 16.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/2.067, allocations: 1.292 MB / 0.8372 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/2.067, allocations: 0 / 0.8372 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/2.068, allocations: 0.7975 MB / 0.838 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/2.069, allocations: 192.3 kB / 0.8382 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/2.069, allocations: 11.98 kB / 0.8382 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005925/2.069, allocations: 27.84 kB / 0.8382 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-05/2.07, allocations: 28.03 kB / 0.8382 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-05/2.07, allocations: 19.98 kB / 0.8383 GB, free: 14.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006564/2.07, allocations: 435.1 kB / 0.8387 GB, free: 13.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.42e-07/2.07, allocations: 0 / 0.8387 GB, free: 13.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001582/2.072, allocations: 371.6 kB / 0.839 GB, free: 13.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/2.073, allocations: 447.3 kB / 0.8394 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/2.074, allocations: 0.5133 MB / 0.8399 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.238e-06/2.074, allocations: 4 kB / 0.84 GB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005824/2.075, allocations: 204.9 kB / 0.8401 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/2.077, allocations: 286.7 kB / 0.8404 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/2.079, allocations: 1.004 MB / 0.8414 GB, free: 10.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/2.08, allocations: 0.9422 MB / 0.8423 GB, free: 9.898 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/2.08, allocations: 71.41 kB / 0.8424 GB, free: 9.828 MB / 426.7 MB Notification: Performance of SimCode: time 1.682e-06/2.08, allocations: 0 / 0.8424 GB, free: 9.828 MB / 426.7 MB Notification: Performance of Templates: time 0.2758/2.356, allocations: 17.99 MB / 0.86 GB, free: 67.11 MB / 426.7 MB