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.Glycol47.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.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.83/1.83, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.036e-05/3.056e-05, allocations: 4 kB / 277.8 MB, free: 15.28 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0854/0.08545, allocations: 48.7 MB / 326.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7495/0.835, allocations: 230.6 MB / 0.5441 GB, free: 111.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.8353, allocations: 88.53 kB / 0.5442 GB, free: 111.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.093/1.928, allocations: 269.3 MB / 0.8072 GB, free: 37.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.292e-06/1.928, allocations: 4 kB / 0.8072 GB, free: 37.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.494e-05/1.928, allocations: 20 kB / 0.8072 GB, free: 37.46 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.003647/1.932, allocations: 1.499 MB / 0.8087 GB, free: 35.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/1.932, allocations: 12.03 kB / 0.8087 GB, free: 35.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/1.933, allocations: 146.9 kB / 0.8088 GB, free: 35.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/1.934, allocations: 0.5559 MB / 0.8094 GB, free: 35.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/1.935, allocations: 104.4 kB / 0.8095 GB, free: 35.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/1.935, allocations: 48 kB / 0.8095 GB, free: 35.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/1.936, allocations: 0.7967 MB / 0.8103 GB, free: 34.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/1.936, allocations: 3.938 kB / 0.8103 GB, free: 34.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/1.936, allocations: 27.98 kB / 0.8103 GB, free: 34.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.525e-05/1.937, allocations: 44.98 kB / 0.8104 GB, free: 34.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/1.938, allocations: 0.562 MB / 0.8109 GB, free: 33.5 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.005461/1.943, allocations: 4.427 MB / 0.8152 GB, free: 28.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/1.944, allocations: 317.4 kB / 0.8155 GB, free: 28.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/1.944, allocations: 128.8 kB / 0.8157 GB, free: 28.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002399/1.945, allocations: 344.6 kB / 0.816 GB, free: 27.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/1.945, allocations: 34.56 kB / 0.816 GB, free: 27.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.543e-06/1.945, allocations: 0 / 0.816 GB, free: 27.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.003976/1.949, allocations: 1.223 MB / 0.8172 GB, free: 26.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/1.949, allocations: 132.5 kB / 0.8173 GB, free: 26.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008587/1.95, allocations: 0.5579 MB / 0.8179 GB, free: 25.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/1.95, allocations: 33.7 kB / 0.8179 GB, free: 25.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/1.95, allocations: 444.7 kB / 0.8183 GB, free: 25.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/1.95, allocations: 126.2 kB / 0.8185 GB, free: 25.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/1.95, allocations: 16 kB / 0.8185 GB, free: 25.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.466e-05/1.95, allocations: 338.8 kB / 0.8188 GB, free: 24.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/1.951, allocations: 193.5 kB / 0.819 GB, free: 24.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005278/1.951, allocations: 0.5171 MB / 0.8195 GB, free: 24.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/1.952, allocations: 295.1 kB / 0.8198 GB, free: 23.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.952, allocations: 0 / 0.8198 GB, free: 23.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00175/1.954, allocations: 0.8301 MB / 0.8206 GB, free: 22.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/1.954, allocations: 12 kB / 0.8206 GB, free: 22.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/1.954, allocations: 8 kB / 0.8206 GB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/1.955, allocations: 273.8 kB / 0.8209 GB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006245/1.956, allocations: 135.8 kB / 0.821 GB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/1.957, allocations: 1.366 MB / 0.8223 GB, free: 21.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009543/1.958, allocations: 39.98 kB / 0.8224 GB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.883e-05/1.958, allocations: 51.98 kB / 0.8224 GB, free: 20.97 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.0002085/1.959, allocations: 159.1 kB / 0.8226 GB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/1.959, allocations: 79.12 kB / 0.8226 GB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/1.961, allocations: 0.6772 MB / 0.8233 GB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/1.961, allocations: 8 kB / 0.8233 GB, free: 20.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.445e-06/1.961, allocations: 0 / 0.8233 GB, free: 20.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.962e-06/1.961, allocations: 0 / 0.8233 GB, free: 20.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/1.963, allocations: 1.193 MB / 0.8245 GB, free: 18.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.519e-06/1.963, allocations: 8 kB / 0.8245 GB, free: 18.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/1.964, allocations: 35.98 kB / 0.8245 GB, free: 18.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/1.965, allocations: 197.4 kB / 0.8247 GB, free: 18.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.061e-05/1.965, allocations: 12 kB / 0.8247 GB, free: 18.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/1.966, allocations: 1.292 MB / 0.826 GB, free: 17.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.61e-06/1.966, allocations: 0 / 0.826 GB, free: 17.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/1.968, allocations: 0.7938 MB / 0.8268 GB, free: 16.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/1.968, allocations: 200.2 kB / 0.8269 GB, free: 16.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/1.968, allocations: 11.94 kB / 0.827 GB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005487/1.969, allocations: 24.05 kB / 0.827 GB, free: 16.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/1.969, allocations: 23.97 kB / 0.827 GB, free: 16.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/1.969, allocations: 19.98 kB / 0.827 GB, free: 16.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006656/1.97, allocations: 435.1 kB / 0.8274 GB, free: 15.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.207e-06/1.97, allocations: 0 / 0.8274 GB, free: 15.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001651/1.971, allocations: 363.7 kB / 0.8278 GB, free: 15.26 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.001119/1.972, allocations: 463.4 kB / 0.8282 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/1.974, allocations: 0.5061 MB / 0.8287 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.921e-06/1.974, allocations: 4 kB / 0.8287 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005799/1.974, allocations: 212.1 kB / 0.8289 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/1.976, allocations: 282.7 kB / 0.8292 GB, free: 13.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/1.979, allocations: 1.008 MB / 0.8302 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/1.979, allocations: 0.9422 MB / 0.8311 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/1.979, allocations: 71.39 kB / 0.8312 GB, free: 11.73 MB / 426.7 MB Notification: Performance of SimCode: time 1.956e-06/1.979, allocations: 0 / 0.8312 GB, free: 11.73 MB / 426.7 MB Notification: Performance of Templates: time 0.2732/2.252, allocations: 18 MB / 0.8487 GB, free: 66.2 MB / 426.7 MB