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 2.065/2.065, allocations: 209.2 MB / 224.8 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004514/0.0004515, allocations: 12 kB / 282.6 MB, free: 9.621 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2849, allocations: 48.7 MB / 331.3 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5193/0.8042, allocations: 230.6 MB / 0.5487 GB, free: 37.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.8045, allocations: 94.88 kB / 0.5488 GB, free: 37.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.339/2.143, allocations: 281.5 MB / 0.8237 GB, free: 79.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.324e-06/2.143, allocations: 1.938 kB / 0.8237 GB, free: 79.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.467e-05/2.143, allocations: 17.66 kB / 0.8238 GB, free: 79.29 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.004166/2.148, allocations: 1.593 MB / 0.8253 GB, free: 78.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/2.148, allocations: 11.34 kB / 0.8253 GB, free: 78.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/2.149, allocations: 144.7 kB / 0.8255 GB, free: 78.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/2.151, allocations: 0.5542 MB / 0.826 GB, free: 78.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/2.151, allocations: 108.1 kB / 0.8261 GB, free: 78.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/2.151, allocations: 48.06 kB / 0.8262 GB, free: 78.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/2.153, allocations: 0.822 MB / 0.827 GB, free: 78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/2.153, allocations: 0 / 0.827 GB, free: 78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/2.153, allocations: 21.56 kB / 0.827 GB, free: 78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.939e-05/2.153, allocations: 47.06 kB / 0.827 GB, free: 78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/2.154, allocations: 0.5772 MB / 0.8276 GB, free: 78 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.005663/2.16, allocations: 4.409 MB / 0.8319 GB, free: 74.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009143/2.161, allocations: 322.6 kB / 0.8322 GB, free: 74.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/2.161, allocations: 337.6 kB / 0.8325 GB, free: 74.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/2.161, allocations: 34.19 kB / 0.8326 GB, free: 74.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.64e-06/2.161, allocations: 6.344 kB / 0.8326 GB, free: 74.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.005226/2.167, allocations: 1.491 MB / 0.834 GB, free: 74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/2.167, allocations: 135.7 kB / 0.8342 GB, free: 73.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000934/2.168, allocations: 0.559 MB / 0.8347 GB, free: 73.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.178e-05/2.168, allocations: 33.23 kB / 0.8347 GB, free: 73.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/2.168, allocations: 433.6 kB / 0.8351 GB, free: 73.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/2.168, allocations: 134 kB / 0.8353 GB, free: 73.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/2.168, allocations: 15.03 kB / 0.8353 GB, free: 73.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.304e-05/2.168, allocations: 346.4 kB / 0.8356 GB, free: 73.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/2.169, allocations: 199.7 kB / 0.8358 GB, free: 73.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006142/2.169, allocations: 0.5254 MB / 0.8363 GB, free: 72.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006202/2.17, allocations: 302.4 kB / 0.8366 GB, free: 72.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.028e-06/2.17, allocations: 3.688 kB / 0.8366 GB, free: 72.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001912/2.172, allocations: 0.8442 MB / 0.8374 GB, free: 72.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/2.172, allocations: 11.44 kB / 0.8374 GB, free: 72.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/2.172, allocations: 12.94 kB / 0.8375 GB, free: 72.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/2.174, allocations: 284.4 kB / 0.8377 GB, free: 72.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/2.175, allocations: 134.3 kB / 0.8379 GB, free: 72.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/2.176, allocations: 1.372 MB / 0.8392 GB, free: 71.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000918/2.177, allocations: 37.56 kB / 0.8392 GB, free: 71.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/2.177, allocations: 48.42 kB / 0.8393 GB, free: 71.47 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.0004736/2.177, allocations: 252.4 kB / 0.8395 GB, free: 71.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/2.178, allocations: 70.56 kB / 0.8396 GB, free: 71.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/2.179, allocations: 0.6895 MB / 0.8403 GB, free: 71.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.486e-06/2.179, allocations: 7.625 kB / 0.8403 GB, free: 71.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.488e-06/2.18, allocations: 0 / 0.8403 GB, free: 71.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.078e-06/2.18, allocations: 3.609 kB / 0.8403 GB, free: 71.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/2.182, allocations: 1.201 MB / 0.8414 GB, free: 70.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.476e-06/2.182, allocations: 0 / 0.8414 GB, free: 70.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/2.182, allocations: 40.05 kB / 0.8415 GB, free: 70.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/2.184, allocations: 195.1 kB / 0.8417 GB, free: 70.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/2.184, allocations: 14.03 kB / 0.8417 GB, free: 70.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/2.185, allocations: 1.292 MB / 0.8429 GB, free: 69.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/2.185, allocations: 3.703 kB / 0.8429 GB, free: 69.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/2.187, allocations: 0.8134 MB / 0.8437 GB, free: 69.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003953/2.187, allocations: 193.5 kB / 0.8439 GB, free: 69.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/2.187, allocations: 10.55 kB / 0.8439 GB, free: 69.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/2.188, allocations: 24.17 kB / 0.844 GB, free: 69.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/2.188, allocations: 21.08 kB / 0.844 GB, free: 69.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/2.188, allocations: 27.39 kB / 0.844 GB, free: 69.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000698/2.189, allocations: 438.6 kB / 0.8444 GB, free: 69.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.51e-07/2.189, allocations: 0 / 0.8444 GB, free: 69.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001656/2.19, allocations: 369.6 kB / 0.8448 GB, free: 69.25 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.001085/2.191, allocations: 450.8 kB / 0.8452 GB, free: 69.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001411/2.193, allocations: 0.5182 MB / 0.8457 GB, free: 69.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.082e-06/2.193, allocations: 0 / 0.8457 GB, free: 69.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006207/2.194, allocations: 224 kB / 0.8459 GB, free: 69.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/2.195, allocations: 289.3 kB / 0.8462 GB, free: 69.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/2.198, allocations: 1.623 MB / 0.8478 GB, free: 68.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/2.199, allocations: 0.9417 MB / 0.8487 GB, free: 67.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/2.199, allocations: 74.36 kB / 0.8488 GB, free: 67.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.652e-06/2.199, allocations: 0 / 0.8488 GB, free: 67.64 MB / 426.7 MB Notification: Performance of Templates: time 0.02688/2.226, allocations: 18.04 MB / 0.8664 GB, free: 66.93 MB / 426.7 MB