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.794/1.794, allocations: 209.3 MB / 224.9 MB, free: 1.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000559/0.0005592, allocations: 16 kB / 282.6 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08584/0.08643, allocations: 48.71 MB / 331.3 MB, free: 8.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/1.233, allocations: 395.4 MB / 0.7096 GB, free: 105.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/1.233, allocations: 87.95 kB / 0.7097 GB, free: 105.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8713/2.104, allocations: 191.5 MB / 0.8967 GB, free: 78.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.487e-06/2.104, allocations: 4 kB / 0.8967 GB, free: 78.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.6e-05/2.105, allocations: 20 kB / 0.8967 GB, free: 78.55 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.003617/2.108, allocations: 1.464 MB / 0.8981 GB, free: 77.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/2.108, allocations: 16.02 kB / 0.8982 GB, free: 77.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005719/2.109, allocations: 114.7 kB / 0.8983 GB, free: 76.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/2.111, allocations: 0.7911 MB / 0.899 GB, free: 76.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/2.111, allocations: 120.5 kB / 0.8992 GB, free: 75.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002929/2.112, allocations: 67.91 kB / 0.8992 GB, free: 75.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004145/2.116, allocations: 1.198 MB / 0.9004 GB, free: 74.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.456e-05/2.116, allocations: 3.938 kB / 0.9004 GB, free: 74.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002597/2.116, allocations: 39.78 kB / 0.9004 GB, free: 74.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/2.116, allocations: 77.94 kB / 0.9005 GB, free: 74.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004582/2.121, allocations: 1.179 MB / 0.9017 GB, free: 73.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01589/2.137, allocations: 4.769 MB / 0.9063 GB, free: 68.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/2.139, allocations: 0.6528 MB / 0.907 GB, free: 67.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006621/2.146, allocations: 2.466 MB / 0.9094 GB, free: 65.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/2.146, allocations: 46.88 kB / 0.9094 GB, free: 65.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=51): time 5.7e-06/2.146, allocations: 0 / 0.9094 GB, free: 65.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=56): time 0.01478/2.161, allocations: 2.906 MB / 0.9122 GB, free: 62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/2.161, allocations: 166.8 kB / 0.9124 GB, free: 61.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/2.163, allocations: 0.7814 MB / 0.9132 GB, free: 61.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002364/2.164, allocations: 37.7 kB / 0.9132 GB, free: 60.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/2.164, allocations: 493 kB / 0.9137 GB, free: 60.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/2.164, allocations: 200.9 kB / 0.9139 GB, free: 60.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/2.165, allocations: 20 kB / 0.9139 GB, free: 60.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/2.165, allocations: 342.8 kB / 0.9142 GB, free: 59.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/2.166, allocations: 429.7 kB / 0.9146 GB, free: 59.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/2.168, allocations: 0.7362 MB / 0.9153 GB, free: 58.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/2.17, allocations: 0.5067 MB / 0.9158 GB, free: 58.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/2.17, allocations: 0 / 0.9158 GB, free: 58.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007726/2.178, allocations: 1.457 MB / 0.9173 GB, free: 56.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001375/2.179, allocations: 3.568 MB / 0.9207 GB, free: 52.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.093e-05/2.18, allocations: 8 kB / 0.9207 GB, free: 52.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00509/2.185, allocations: 0.5137 MB / 0.9212 GB, free: 52.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/2.186, allocations: 191.7 kB / 0.9214 GB, free: 52.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/2.189, allocations: 2.927 MB / 0.9243 GB, free: 48.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/2.19, allocations: 63.8 kB / 0.9244 GB, free: 48.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/2.19, allocations: 51.98 kB / 0.9244 GB, free: 48.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/2.19, allocations: 4.188 kB / 0.9244 GB, free: 48.85 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003199/2.194, allocations: 1.303 MB / 0.9257 GB, free: 47.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/2.194, allocations: 8 kB / 0.9257 GB, free: 47.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/2.195, allocations: 302.6 kB / 0.926 GB, free: 47.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/2.196, allocations: 199.7 kB / 0.9262 GB, free: 47.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/2.198, allocations: 2.693 MB / 0.9288 GB, free: 44.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009613/2.199, allocations: 51.97 kB / 0.9288 GB, free: 44.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/2.199, allocations: 47.98 kB / 0.9289 GB, free: 44.03 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 () * Number of clocked 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.000747/2.2, allocations: 388.7 kB / 0.9293 GB, free: 43.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/2.2, allocations: 90.88 kB / 0.9293 GB, free: 43.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003197/2.204, allocations: 1.351 MB / 0.9307 GB, free: 42.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/2.204, allocations: 12 kB / 0.9307 GB, free: 42.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.578e-06/2.204, allocations: 0 / 0.9307 GB, free: 42.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/2.204, allocations: 3.984 kB / 0.9307 GB, free: 42.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004657/2.208, allocations: 2.314 MB / 0.9329 GB, free: 39.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/2.208, allocations: 3.953 kB / 0.9329 GB, free: 39.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006105/2.209, allocations: 91.88 kB / 0.933 GB, free: 39.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002024/2.211, allocations: 0.502 MB / 0.9335 GB, free: 39.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/2.211, allocations: 19.98 kB / 0.9335 GB, free: 39.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002554/2.214, allocations: 2.935 MB / 0.9364 GB, free: 36.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.652e-06/2.214, allocations: 0 / 0.9364 GB, free: 36.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003418/2.217, allocations: 1.765 MB / 0.9381 GB, free: 34.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007166/2.218, allocations: 283.7 kB / 0.9384 GB, free: 33.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/2.218, allocations: 12 kB / 0.9384 GB, free: 33.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008196/2.219, allocations: 43.97 kB / 0.9385 GB, free: 33.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/2.219, allocations: 60.47 kB / 0.9385 GB, free: 33.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.637e-05/2.219, allocations: 23.98 kB / 0.9385 GB, free: 33.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009907/2.22, allocations: 0.5888 MB / 0.9391 GB, free: 33.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.99e-07/2.22, allocations: 4 kB / 0.9391 GB, free: 33.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003214/2.224, allocations: 0.8586 MB / 0.94 GB, free: 32.3 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 () * Number of clocked 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.002284/2.226, allocations: 0.8251 MB / 0.9408 GB, free: 31.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004331/2.23, allocations: 1.821 MB / 0.9425 GB, free: 29.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.76e-06/2.23, allocations: 448 / 0.9425 GB, free: 29.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001395/2.232, allocations: 0.5719 MB / 0.9431 GB, free: 29.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/2.234, allocations: 334.1 kB / 0.9434 GB, free: 28.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/2.239, allocations: 2.412 MB / 0.9458 GB, free: 26.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/2.239, allocations: 1.078 MB / 0.9468 GB, free: 25.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/2.24, allocations: 95.39 kB / 0.9469 GB, free: 25.12 MB / 426.7 MB Notification: Performance of SimCode: time 1.873e-06/2.24, allocations: 0 / 0.9469 GB, free: 25.12 MB / 426.7 MB Notification: Performance of Templates: time 0.2888/2.529, allocations: 30.68 MB / 0.9769 GB, free: 78.05 MB / 426.7 MB