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.Incompressible.Glycol47.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.Incompressible.Glycol47,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.Glycol47") Notification: Performance of loadModel(ModelicaTest): time 1.95/1.95, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004356, allocations: 16 kB / 283.1 MB, free: 9.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3489, allocations: 48.7 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6491/0.998, allocations: 230.7 MB / 0.5494 GB, free: 35.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/0.9984, allocations: 94.58 kB / 0.5494 GB, free: 35.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623/2.621, allocations: 269.9 MB / 0.813 GB, free: 77.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/2.621, allocations: 0 / 0.813 GB, free: 77.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.275e-05/2.621, allocations: 24.75 kB / 0.8131 GB, free: 77.71 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.006226/2.627, allocations: 1.584 MB / 0.8146 GB, free: 77.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/2.628, allocations: 10.86 kB / 0.8146 GB, free: 77.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/2.629, allocations: 141.4 kB / 0.8148 GB, free: 76.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/2.63, allocations: 0.5604 MB / 0.8153 GB, free: 76.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/2.631, allocations: 100.3 kB / 0.8154 GB, free: 76.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/2.631, allocations: 45.84 kB / 0.8154 GB, free: 76.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/2.633, allocations: 0.8239 MB / 0.8162 GB, free: 76.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/2.633, allocations: 7.328 kB / 0.8163 GB, free: 76.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/2.633, allocations: 27.48 kB / 0.8163 GB, free: 76.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.696e-05/2.633, allocations: 40.36 kB / 0.8163 GB, free: 76.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/2.635, allocations: 0.5828 MB / 0.8169 GB, free: 76.45 MB / 426.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.006331/2.641, allocations: 4.414 MB / 0.8212 GB, free: 73.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009886/2.642, allocations: 301.6 kB / 0.8215 GB, free: 73.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/2.642, allocations: 346.7 kB / 0.8218 GB, free: 72.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/2.642, allocations: 42.09 kB / 0.8219 GB, free: 72.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.065e-06/2.642, allocations: 0 / 0.8219 GB, free: 72.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.005875/2.648, allocations: 1.494 MB / 0.8233 GB, free: 72.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/2.648, allocations: 135.9 kB / 0.8234 GB, free: 72.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/2.649, allocations: 0.6381 MB / 0.8241 GB, free: 72.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.076e-05/2.649, allocations: 33.48 kB / 0.8241 GB, free: 72.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/2.65, allocations: 431.6 kB / 0.8245 GB, free: 71.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/2.65, allocations: 131.5 kB / 0.8246 GB, free: 71.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/2.65, allocations: 17.44 kB / 0.8247 GB, free: 71.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.888e-05/2.65, allocations: 349 kB / 0.825 GB, free: 71.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/2.651, allocations: 196.7 kB / 0.8252 GB, free: 71.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000717/2.651, allocations: 0.5321 MB / 0.8257 GB, free: 71.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/2.652, allocations: 304.8 kB / 0.826 GB, free: 71.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/2.652, allocations: 0 / 0.826 GB, free: 71.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00201/2.654, allocations: 0.8427 MB / 0.8268 GB, free: 71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/2.654, allocations: 10.62 kB / 0.8268 GB, free: 71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/2.654, allocations: 11.5 kB / 0.8268 GB, free: 71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001941/2.656, allocations: 278.1 kB / 0.8271 GB, free: 70.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007126/2.657, allocations: 130.6 kB / 0.8272 GB, free: 70.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/2.658, allocations: 1.374 MB / 0.8286 GB, free: 69.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009422/2.659, allocations: 39.83 kB / 0.8286 GB, free: 69.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/2.659, allocations: 44.92 kB / 0.8286 GB, free: 69.93 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 () * Number of clocked 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.0005014/2.66, allocations: 250.9 kB / 0.8289 GB, free: 69.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/2.66, allocations: 75.92 kB / 0.829 GB, free: 69.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/2.662, allocations: 0.6897 MB / 0.8296 GB, free: 69.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/2.662, allocations: 5.656 kB / 0.8296 GB, free: 69.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/2.662, allocations: 0 / 0.8296 GB, free: 69.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/2.662, allocations: 2.906 kB / 0.8296 GB, free: 69.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/2.665, allocations: 1.195 MB / 0.8308 GB, free: 69.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/2.665, allocations: 10.69 kB / 0.8308 GB, free: 69.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/2.665, allocations: 46.3 kB / 0.8309 GB, free: 69.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001306/2.667, allocations: 201.3 kB / 0.831 GB, free: 69.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/2.667, allocations: 12.34 kB / 0.8311 GB, free: 69.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/2.668, allocations: 1.291 MB / 0.8323 GB, free: 68.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/2.668, allocations: 7.109 kB / 0.8323 GB, free: 68.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/2.67, allocations: 0.7753 MB / 0.8331 GB, free: 68.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003976/2.67, allocations: 204.2 kB / 0.8333 GB, free: 67.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/2.67, allocations: 7.406 kB / 0.8333 GB, free: 67.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006818/2.671, allocations: 23.69 kB / 0.8333 GB, free: 67.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/2.671, allocations: 29.97 kB / 0.8333 GB, free: 67.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.061e-05/2.671, allocations: 17.62 kB / 0.8334 GB, free: 67.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007671/2.672, allocations: 437.6 kB / 0.8338 GB, free: 67.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/2.672, allocations: 0 / 0.8338 GB, free: 67.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001791/2.674, allocations: 368.8 kB / 0.8341 GB, free: 67.8 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 () * Number of clocked 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.001214/2.675, allocations: 451.6 kB / 0.8346 GB, free: 67.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001578/2.677, allocations: 0.5176 MB / 0.8351 GB, free: 67.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/2.677, allocations: 0 / 0.8351 GB, free: 67.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007205/2.677, allocations: 219.1 kB / 0.8353 GB, free: 67.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/2.68, allocations: 281.2 kB / 0.8355 GB, free: 67.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/2.683, allocations: 1.634 MB / 0.8371 GB, free: 66.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/2.683, allocations: 0.9455 MB / 0.8381 GB, free: 66.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/2.684, allocations: 65.53 kB / 0.8381 GB, free: 66.28 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/2.684, allocations: 3.812 kB / 0.8381 GB, free: 66.28 MB / 426.7 MB Notification: Performance of Templates: time 0.03256/2.716, allocations: 18.03 MB / 0.8557 GB, free: 65.74 MB / 426.7 MB