Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadModel(ModelicaTest): time 2.22/2.22, allocations: 235 MB / 248.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.614e-05/2.628e-05, allocations: 0 / 309.7 MB, free: 1.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3203, allocations: 54.85 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5433/0.8637, allocations: 237.1 MB / 0.5876 GB, free: 114.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.864, allocations: 85.17 kB / 0.5877 GB, free: 114.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.171/2.035, allocations: 273.9 MB / 0.8552 GB, free: 8.762 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.062e-06/2.035, allocations: 0 / 0.8552 GB, free: 8.762 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.688e-05/2.035, allocations: 12 kB / 0.8552 GB, free: 8.75 MB / 458.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.003717/2.039, allocations: 1.511 MB / 0.8567 GB, free: 7.191 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/2.039, allocations: 8.031 kB / 0.8567 GB, free: 7.184 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/2.04, allocations: 143 kB / 0.8568 GB, free: 7.043 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/2.042, allocations: 0.5443 MB / 0.8573 GB, free: 6.457 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/2.042, allocations: 112.3 kB / 0.8574 GB, free: 6.336 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/2.042, allocations: 48 kB / 0.8575 GB, free: 6.289 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/2.044, allocations: 0.8161 MB / 0.8583 GB, free: 5.391 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/2.044, allocations: 3.938 kB / 0.8583 GB, free: 5.387 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/2.044, allocations: 28 kB / 0.8583 GB, free: 5.359 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.81e-05/2.044, allocations: 40.97 kB / 0.8583 GB, free: 5.316 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/2.045, allocations: 0.5581 MB / 0.8589 GB, free: 4.762 MB / 458.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.00533/2.051, allocations: 4.417 MB / 0.8632 GB, free: 28 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009491/2.052, allocations: 302.6 kB / 0.8635 GB, free: 15.72 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/2.052, allocations: 140.8 kB / 0.8636 GB, free: 15.58 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003859/2.052, allocations: 340.6 kB / 0.864 GB, free: 15.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/2.052, allocations: 42.52 kB / 0.864 GB, free: 15.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 3.384e-06/2.052, allocations: 0 / 0.864 GB, free: 15.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.00441/2.057, allocations: 1.214 MB / 0.8652 GB, free: 13.85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.387e-05/2.057, allocations: 136.5 kB / 0.8653 GB, free: 13.69 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/2.058, allocations: 0.5657 MB / 0.8659 GB, free: 13.12 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.871e-05/2.058, allocations: 33.7 kB / 0.8659 GB, free: 13.08 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/2.058, allocations: 436.8 kB / 0.8663 GB, free: 12.65 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/2.059, allocations: 134.1 kB / 0.8664 GB, free: 12.52 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/2.059, allocations: 12 kB / 0.8665 GB, free: 12.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001865/2.059, allocations: 346.8 kB / 0.8668 GB, free: 12.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004674/2.059, allocations: 189.5 kB / 0.867 GB, free: 11.97 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007615/2.06, allocations: 0.5211 MB / 0.8675 GB, free: 11.29 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/2.061, allocations: 302.8 kB / 0.8678 GB, free: 11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/2.061, allocations: 4 kB / 0.8678 GB, free: 11 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002056/2.063, allocations: 0.8263 MB / 0.8686 GB, free: 10.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/2.063, allocations: 11.98 kB / 0.8686 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/2.063, allocations: 12 kB / 0.8686 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/2.065, allocations: 270 kB / 0.8689 GB, free: 9.863 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/2.065, allocations: 135.7 kB / 0.869 GB, free: 9.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/2.067, allocations: 1.372 MB / 0.8703 GB, free: 8.309 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008629/2.068, allocations: 35.98 kB / 0.8704 GB, free: 8.273 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/2.068, allocations: 43.98 kB / 0.8704 GB, free: 8.23 MB / 474.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.0002432/2.068, allocations: 164.7 kB / 0.8706 GB, free: 8.062 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/2.068, allocations: 71.11 kB / 0.8706 GB, free: 7.992 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/2.071, allocations: 0.6698 MB / 0.8713 GB, free: 7.301 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/2.071, allocations: 4 kB / 0.8713 GB, free: 7.297 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.976e-06/2.071, allocations: 4 kB / 0.8713 GB, free: 7.293 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.635e-06/2.071, allocations: 0 / 0.8713 GB, free: 7.293 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/2.073, allocations: 1.193 MB / 0.8724 GB, free: 6.027 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.215e-06/2.073, allocations: 4 kB / 0.8725 GB, free: 6.023 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/2.074, allocations: 47.91 kB / 0.8725 GB, free: 5.977 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/2.075, allocations: 189.7 kB / 0.8727 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/2.075, allocations: 8.062 kB / 0.8727 GB, free: 5.777 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/2.077, allocations: 1.3 MB / 0.874 GB, free: 4.426 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.434e-06/2.077, allocations: 4.031 kB / 0.874 GB, free: 4.422 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/2.078, allocations: 0.786 MB / 0.8747 GB, free: 3.594 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004505/2.079, allocations: 204.1 kB / 0.8749 GB, free: 3.375 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/2.079, allocations: 16.06 kB / 0.8749 GB, free: 3.359 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005414/2.08, allocations: 15.98 kB / 0.875 GB, free: 3.344 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.791e-05/2.08, allocations: 27.92 kB / 0.875 GB, free: 3.316 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/2.08, allocations: 19.98 kB / 0.875 GB, free: 3.297 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008122/2.081, allocations: 439.1 kB / 0.8754 GB, free: 2.875 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.98e-07/2.081, allocations: 0 / 0.8754 GB, free: 2.875 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001922/2.083, allocations: 371.7 kB / 0.8758 GB, free: 2.512 MB / 474.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.0015/2.084, allocations: 455.3 kB / 0.8762 GB, free: 2.062 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001637/2.086, allocations: 0.505 MB / 0.8767 GB, free: 1.559 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.667e-06/2.086, allocations: 0.75 kB / 0.8767 GB, free: 1.559 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006909/2.087, allocations: 215.8 kB / 0.8769 GB, free: 1.348 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/2.088, allocations: 284.5 kB / 0.8772 GB, free: 1.074 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/2.091, allocations: 1 MB / 0.8782 GB, free: 40 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2927/2.384, allocations: 0.9365 MB / 0.8791 GB, free: 87.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/2.384, allocations: 69 kB / 0.8791 GB, free: 87.5 MB / 474.7 MB Notification: Performance of SimCode: time 2.038e-06/2.384, allocations: 2.875 kB / 0.8791 GB, free: 87.5 MB / 474.7 MB Notification: Performance of Templates: time 0.03149/2.416, allocations: 18 MB / 0.8967 GB, free: 87.21 MB / 474.7 MB