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.956/1.956, allocations: 209.3 MB / 224.8 MB, free: 1.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.000448, allocations: 15.94 kB / 282.6 MB, free: 9.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08878/0.08925, allocations: 48.7 MB / 331.3 MB, free: 8.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7395/0.8288, allocations: 230.7 MB / 0.5488 GB, free: 76.53 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.8292, allocations: 98.5 kB / 0.5489 GB, free: 76.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342/2.171, allocations: 269.9 MB / 0.8125 GB, free: 69.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.374e-06/2.171, allocations: 7.281 kB / 0.8125 GB, free: 69.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.171e-05/2.171, allocations: 19.23 kB / 0.8125 GB, free: 69.79 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.004421/2.176, allocations: 1.587 MB / 0.8141 GB, free: 69.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/2.176, allocations: 8.969 kB / 0.8141 GB, free: 69.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/2.177, allocations: 137.1 kB / 0.8142 GB, free: 69.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/2.179, allocations: 0.5635 MB / 0.8148 GB, free: 69.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/2.179, allocations: 106.6 kB / 0.8149 GB, free: 69.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/2.179, allocations: 47.52 kB / 0.8149 GB, free: 69.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/2.181, allocations: 0.823 MB / 0.8157 GB, free: 68.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/2.181, allocations: 6.094 kB / 0.8157 GB, free: 68.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/2.181, allocations: 25.86 kB / 0.8158 GB, free: 68.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.351e-05/2.181, allocations: 40.45 kB / 0.8158 GB, free: 68.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/2.183, allocations: 0.5811 MB / 0.8164 GB, free: 68.8 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.005594/2.188, allocations: 4.412 MB / 0.8207 GB, free: 65.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009708/2.189, allocations: 312.2 kB / 0.821 GB, free: 65.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/2.19, allocations: 342.5 kB / 0.8213 GB, free: 65.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/2.19, allocations: 39.8 kB / 0.8213 GB, free: 65.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.592e-06/2.19, allocations: 1.125 kB / 0.8213 GB, free: 65.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.005448/2.195, allocations: 1.487 MB / 0.8228 GB, free: 64.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/2.195, allocations: 132.8 kB / 0.8229 GB, free: 64.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009969/2.196, allocations: 0.5597 MB / 0.8235 GB, free: 64.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.457e-05/2.196, allocations: 34.67 kB / 0.8235 GB, free: 64.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/2.197, allocations: 443 kB / 0.8239 GB, free: 64.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/2.197, allocations: 124.9 kB / 0.824 GB, free: 64.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/2.197, allocations: 13.31 kB / 0.8241 GB, free: 64.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.938e-05/2.197, allocations: 338.8 kB / 0.8244 GB, free: 63.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/2.197, allocations: 201 kB / 0.8246 GB, free: 63.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/2.198, allocations: 0.5248 MB / 0.8251 GB, free: 63.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006159/2.199, allocations: 305.2 kB / 0.8254 GB, free: 63.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/2.199, allocations: 2.438 kB / 0.8254 GB, free: 63.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001952/2.201, allocations: 0.8415 MB / 0.8262 GB, free: 63.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/2.201, allocations: 10.44 kB / 0.8262 GB, free: 63.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/2.201, allocations: 11.31 kB / 0.8262 GB, free: 63.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/2.202, allocations: 286.2 kB / 0.8265 GB, free: 63.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/2.203, allocations: 136.4 kB / 0.8266 GB, free: 63.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/2.204, allocations: 1.37 MB / 0.828 GB, free: 62.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008905/2.205, allocations: 43.7 kB / 0.828 GB, free: 62.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/2.205, allocations: 47.88 kB / 0.828 GB, free: 62.33 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.0004833/2.206, allocations: 253.5 kB / 0.8283 GB, free: 62.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/2.206, allocations: 68.72 kB / 0.8284 GB, free: 62.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/2.208, allocations: 0.6813 MB / 0.829 GB, free: 62.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/2.208, allocations: 6.188 kB / 0.829 GB, free: 62.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.207e-06/2.208, allocations: 3.953 kB / 0.829 GB, free: 62.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/2.208, allocations: 2.016 kB / 0.829 GB, free: 62.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/2.211, allocations: 1.204 MB / 0.8302 GB, free: 61.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.85e-06/2.211, allocations: 3.859 kB / 0.8302 GB, free: 61.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/2.211, allocations: 37.17 kB / 0.8302 GB, free: 61.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/2.212, allocations: 203.5 kB / 0.8304 GB, free: 61.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/2.212, allocations: 12.47 kB / 0.8305 GB, free: 61.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/2.214, allocations: 1.3 MB / 0.8317 GB, free: 60.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.119e-06/2.214, allocations: 0 / 0.8317 GB, free: 60.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/2.216, allocations: 0.798 MB / 0.8325 GB, free: 60.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000471/2.216, allocations: 200.6 kB / 0.8327 GB, free: 60.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/2.216, allocations: 11.58 kB / 0.8327 GB, free: 60.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005411/2.217, allocations: 25.81 kB / 0.8327 GB, free: 60.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.338e-05/2.217, allocations: 26.14 kB / 0.8328 GB, free: 60.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.011e-05/2.217, allocations: 18.95 kB / 0.8328 GB, free: 60.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007764/2.218, allocations: 440.1 kB / 0.8332 GB, free: 60.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.08e-07/2.218, allocations: 3.812 kB / 0.8332 GB, free: 60.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001794/2.22, allocations: 365.6 kB / 0.8335 GB, free: 60.18 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.001262/2.221, allocations: 460.4 kB / 0.834 GB, free: 60.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001513/2.222, allocations: 0.523 MB / 0.8345 GB, free: 60.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.91e-06/2.222, allocations: 4.922 kB / 0.8345 GB, free: 60.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006693/2.223, allocations: 210.6 kB / 0.8347 GB, free: 60.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/2.225, allocations: 280.2 kB / 0.835 GB, free: 60.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/2.228, allocations: 1.624 MB / 0.8366 GB, free: 59.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/2.229, allocations: 0.9453 MB / 0.8375 GB, free: 58.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/2.229, allocations: 70.73 kB / 0.8375 GB, free: 58.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.536e-06/2.229, allocations: 0 / 0.8375 GB, free: 58.66 MB / 426.7 MB Notification: Performance of Templates: time 0.02734/2.256, allocations: 18.05 MB / 0.8552 GB, free: 58.27 MB / 426.7 MB