Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.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.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadModel(ModelicaTest): time 1.893/1.893, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.177e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08365/0.0837, allocations: 48.71 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.114/1.198, allocations: 395.3 MB / 0.7049 GB, free: 142.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/1.198, allocations: 82.42 kB / 0.705 GB, free: 142.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9036/2.102, allocations: 190.9 MB / 0.8914 GB, free: 79.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.239e-06/2.102, allocations: 0 / 0.8914 GB, free: 79.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.499e-05/2.102, allocations: 25.56 kB / 0.8914 GB, free: 79.54 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003786/2.106, allocations: 1.334 MB / 0.8927 GB, free: 78.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/2.106, allocations: 11.22 kB / 0.8927 GB, free: 78.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007747/2.107, allocations: 119 kB / 0.8929 GB, free: 78.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/2.109, allocations: 0.7933 MB / 0.8936 GB, free: 78.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/2.109, allocations: 122.9 kB / 0.8937 GB, free: 78.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/2.109, allocations: 66.89 kB / 0.8938 GB, free: 78.49 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/2.112, allocations: 1.19 MB / 0.895 GB, free: 78.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/2.112, allocations: 5.625 kB / 0.895 GB, free: 78.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/2.112, allocations: 32.34 kB / 0.895 GB, free: 78.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/2.112, allocations: 73.88 kB / 0.8951 GB, free: 78.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/2.115, allocations: 1.163 MB / 0.8962 GB, free: 78.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/2.125, allocations: 4.777 MB / 0.9009 GB, free: 76.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/2.127, allocations: 0.6419 MB / 0.9015 GB, free: 76.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007158/2.127, allocations: 400.7 kB / 0.9019 GB, free: 76.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004148/2.132, allocations: 2.523 MB / 0.9044 GB, free: 75.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/2.132, allocations: 41.41 kB / 0.9044 GB, free: 75.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=51): time 3.558e-06/2.132, allocations: 2.812 kB / 0.9044 GB, free: 75.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=56): time 0.006288/2.138, allocations: 2.27 MB / 0.9066 GB, free: 74.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/2.138, allocations: 165 kB / 0.9068 GB, free: 74.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/2.139, allocations: 0.7626 MB / 0.9075 GB, free: 74.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/2.14, allocations: 36.11 kB / 0.9075 GB, free: 74.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/2.14, allocations: 0.4923 MB / 0.908 GB, free: 73.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/2.14, allocations: 199 kB / 0.9082 GB, free: 73.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.728e-05/2.14, allocations: 18.56 kB / 0.9082 GB, free: 73.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.629e-05/2.14, allocations: 351.2 kB / 0.9086 GB, free: 73.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000843/2.141, allocations: 421.3 kB / 0.909 GB, free: 73.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009809/2.142, allocations: 0.7105 MB / 0.9097 GB, free: 73.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/2.143, allocations: 0.502 MB / 0.9102 GB, free: 73.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.368e-06/2.143, allocations: 3.969 kB / 0.9102 GB, free: 73.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003175/2.146, allocations: 1.443 MB / 0.9116 GB, free: 72.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007135/2.147, allocations: 3.578 MB / 0.9151 GB, free: 69.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/2.147, allocations: 11.53 kB / 0.9151 GB, free: 69.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002296/2.15, allocations: 0.4998 MB / 0.9156 GB, free: 69.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/2.151, allocations: 200.2 kB / 0.9158 GB, free: 69.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002776/2.154, allocations: 2.907 MB / 0.9186 GB, free: 66.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/2.155, allocations: 62.89 kB / 0.9187 GB, free: 66.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/2.155, allocations: 49.38 kB / 0.9187 GB, free: 66.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/2.155, allocations: 2.812 kB / 0.9187 GB, free: 66.67 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002987/2.158, allocations: 1.287 MB / 0.92 GB, free: 66.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/2.158, allocations: 11.78 kB / 0.92 GB, free: 66.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/2.159, allocations: 294.5 kB / 0.9203 GB, free: 66.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/2.161, allocations: 204.6 kB / 0.9204 GB, free: 66.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/2.163, allocations: 2.684 MB / 0.9231 GB, free: 63.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/2.164, allocations: 54.8 kB / 0.9231 GB, free: 63.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/2.164, allocations: 47.42 kB / 0.9232 GB, free: 63.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003612/2.164, allocations: 172.9 kB / 0.9233 GB, free: 63.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/2.164, allocations: 95.2 kB / 0.9234 GB, free: 63.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/2.168, allocations: 1.334 MB / 0.9247 GB, free: 62.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/2.168, allocations: 5.719 kB / 0.9247 GB, free: 62.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.467e-06/2.168, allocations: 0 / 0.9247 GB, free: 62.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/2.168, allocations: 3.562 kB / 0.9247 GB, free: 62.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004589/2.172, allocations: 2.284 MB / 0.927 GB, free: 61.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.397e-06/2.172, allocations: 0 / 0.927 GB, free: 61.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006854/2.173, allocations: 94.2 kB / 0.9271 GB, free: 61.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002173/2.175, allocations: 0.4999 MB / 0.9275 GB, free: 61.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/2.175, allocations: 19.11 kB / 0.9276 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002601/2.178, allocations: 2.912 MB / 0.9304 GB, free: 59.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.987e-06/2.178, allocations: 6.031 kB / 0.9304 GB, free: 59.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003422/2.181, allocations: 1.745 MB / 0.9321 GB, free: 58.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007362/2.182, allocations: 291.7 kB / 0.9324 GB, free: 57.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/2.182, allocations: 11.72 kB / 0.9324 GB, free: 57.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009369/2.183, allocations: 40.58 kB / 0.9324 GB, free: 57.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/2.184, allocations: 58.59 kB / 0.9325 GB, free: 57.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.992e-05/2.184, allocations: 29.33 kB / 0.9325 GB, free: 57.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009916/2.185, allocations: 0.5827 MB / 0.9331 GB, free: 57.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.87e-07/2.185, allocations: 0 / 0.9331 GB, free: 57.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00332/2.188, allocations: 0.8618 MB / 0.9339 GB, free: 57.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002376/2.19, allocations: 0.8413 MB / 0.9348 GB, free: 57.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004274/2.195, allocations: 1.797 MB / 0.9365 GB, free: 56.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.946e-06/2.195, allocations: 0 / 0.9365 GB, free: 56.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/2.196, allocations: 0.5535 MB / 0.9371 GB, free: 56.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/2.198, allocations: 328.2 kB / 0.9374 GB, free: 56.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/2.203, allocations: 1.63 MB / 0.939 GB, free: 55.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/2.203, allocations: 1.079 MB / 0.94 GB, free: 54.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/2.204, allocations: 93.17 kB / 0.9401 GB, free: 54.73 MB / 426.7 MB Notification: Performance of SimCode: time 1.67e-06/2.204, allocations: 0.5938 kB / 0.9401 GB, free: 54.73 MB / 426.7 MB Notification: Performance of Templates: time 0.0415/2.245, allocations: 30.64 MB / 0.97 GB, free: 32.92 MB / 426.7 MB