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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.994/1.994, allocations: 209.4 MB / 217.3 MB, free: 4.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.33e-05/2.336e-05, allocations: 7.984 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2666, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5081/0.7748, allocations: 230 MB / 0.5371 GB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.7751, allocations: 96.31 kB / 0.5372 GB, free: 12.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.333/2.108, allocations: 267.1 MB / 0.7981 GB, free: 84.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.025e-06/2.108, allocations: 0 / 0.7981 GB, free: 84.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.207e-05/2.108, allocations: 25.42 kB / 0.7981 GB, free: 84.81 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.003732/2.112, allocations: 1.512 MB / 0.7996 GB, free: 84.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/2.112, allocations: 13.62 kB / 0.7996 GB, free: 84.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/2.113, allocations: 134.2 kB / 0.7997 GB, free: 84.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/2.115, allocations: 0.5636 MB / 0.8003 GB, free: 83.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.76e-05/2.115, allocations: 83.5 kB / 0.8003 GB, free: 83.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/2.115, allocations: 30.94 kB / 0.8004 GB, free: 83.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001058/2.116, allocations: 0.4916 MB / 0.8008 GB, free: 83.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/2.117, allocations: 0.7257 MB / 0.8016 GB, free: 83.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/2.117, allocations: 5.875 kB / 0.8016 GB, free: 83.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-05/2.117, allocations: 3.188 kB / 0.8016 GB, free: 83.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-05/2.118, allocations: 41.67 kB / 0.8016 GB, free: 83.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.005098/2.123, allocations: 4.316 MB / 0.8058 GB, free: 80.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005891/2.123, allocations: 289 kB / 0.8061 GB, free: 80.53 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/2.124, allocations: 118.1 kB / 0.8062 GB, free: 80.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/2.124, allocations: 343.8 kB / 0.8065 GB, free: 80.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/2.124, allocations: 37.97 kB / 0.8066 GB, free: 80.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.885e-06/2.124, allocations: 0 / 0.8066 GB, free: 80.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.004348/2.128, allocations: 1.205 MB / 0.8077 GB, free: 79.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/2.128, allocations: 134.2 kB / 0.8079 GB, free: 79.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006811/2.129, allocations: 468.6 kB / 0.8083 GB, free: 79.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/2.129, allocations: 29.17 kB / 0.8083 GB, free: 79.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/2.129, allocations: 450.6 kB / 0.8088 GB, free: 79.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/2.129, allocations: 122 kB / 0.8089 GB, free: 79.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/2.129, allocations: 0 / 0.8089 GB, free: 79.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.923e-05/2.129, allocations: 347 kB / 0.8092 GB, free: 78.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/2.13, allocations: 177.5 kB / 0.8094 GB, free: 78.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/2.13, allocations: 0.5066 MB / 0.8099 GB, free: 78.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/2.132, allocations: 344.8 kB / 0.8102 GB, free: 78.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.516e-06/2.132, allocations: 7.859 kB / 0.8102 GB, free: 78.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002187/2.134, allocations: 0.8076 MB / 0.811 GB, free: 78.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/2.134, allocations: 10.78 kB / 0.811 GB, free: 78.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/2.134, allocations: 9.688 kB / 0.811 GB, free: 78.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008946/2.135, allocations: 214.6 kB / 0.8112 GB, free: 78.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/2.135, allocations: 129.9 kB / 0.8114 GB, free: 78.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/2.137, allocations: 1.399 MB / 0.8127 GB, free: 77.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/2.138, allocations: 26.61 kB / 0.8128 GB, free: 77.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.202e-05/2.138, allocations: 46.58 kB / 0.8128 GB, free: 77.22 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.0001925/2.138, allocations: 138.4 kB / 0.8129 GB, free: 77.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/2.138, allocations: 61.88 kB / 0.813 GB, free: 77.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/2.14, allocations: 0.6877 MB / 0.8137 GB, free: 76.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.723e-06/2.14, allocations: 6.781 kB / 0.8137 GB, free: 76.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.963e-06/2.14, allocations: 0 / 0.8137 GB, free: 76.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/2.14, allocations: 3.188 kB / 0.8137 GB, free: 76.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/2.143, allocations: 1.137 MB / 0.8148 GB, free: 76.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.927e-06/2.143, allocations: 3.781 kB / 0.8148 GB, free: 76.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/2.143, allocations: 43 kB / 0.8148 GB, free: 76.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006514/2.144, allocations: 157.9 kB / 0.815 GB, free: 76.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/2.144, allocations: 3.469 kB / 0.815 GB, free: 76.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/2.145, allocations: 1.316 MB / 0.8163 GB, free: 75.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.041e-06/2.145, allocations: 6.234 kB / 0.8163 GB, free: 75.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/2.147, allocations: 0.7967 MB / 0.817 GB, free: 75.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/2.148, allocations: 192.1 kB / 0.8172 GB, free: 75.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/2.148, allocations: 7.344 kB / 0.8172 GB, free: 75.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005083/2.148, allocations: 14.45 kB / 0.8173 GB, free: 75.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/2.149, allocations: 27.34 kB / 0.8173 GB, free: 75.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/2.149, allocations: 21.53 kB / 0.8173 GB, free: 75.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005132/2.149, allocations: 349.2 kB / 0.8176 GB, free: 75.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.76e-07/2.149, allocations: 0 / 0.8176 GB, free: 75.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001591/2.151, allocations: 343.8 kB / 0.818 GB, free: 75.13 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.001076/2.152, allocations: 435.3 kB / 0.8184 GB, free: 75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001158/2.153, allocations: 496.8 kB / 0.8188 GB, free: 74.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.074e-06/2.153, allocations: 0 / 0.8188 GB, free: 74.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005327/2.154, allocations: 206.5 kB / 0.819 GB, free: 74.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/2.155, allocations: 241.3 kB / 0.8193 GB, free: 74.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/2.157, allocations: 0.9694 MB / 0.8202 GB, free: 74.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/2.158, allocations: 0.9454 MB / 0.8211 GB, free: 73.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/2.158, allocations: 70.81 kB / 0.8212 GB, free: 73.97 MB / 426.7 MB Notification: Performance of SimCode: time 2.297e-06/2.158, allocations: 0 / 0.8212 GB, free: 73.97 MB / 426.7 MB Notification: Performance of Templates: time 0.02536/2.183, allocations: 17.53 MB / 0.8383 GB, free: 73.47 MB / 426.7 MB