Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.192/2.192, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.828e-05/2.843e-05, allocations: 4 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3173, allocations: 54.85 MB / 364.5 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9915/1.309, allocations: 401.7 MB / 0.7483 GB, free: 133 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/1.309, allocations: 90.23 kB / 0.7484 GB, free: 133 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8616/2.171, allocations: 190.9 MB / 0.9348 GB, free: 108 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.89e-06/2.171, allocations: 0 / 0.9348 GB, free: 108 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.934e-05/2.171, allocations: 29.3 kB / 0.9348 GB, free: 108 MB / 490.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.003809/2.175, allocations: 1.339 MB / 0.9361 GB, free: 107.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/2.175, allocations: 7 kB / 0.9361 GB, free: 107.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006836/2.176, allocations: 114.7 kB / 0.9362 GB, free: 107.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/2.178, allocations: 0.8048 MB / 0.937 GB, free: 107 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/2.178, allocations: 119.1 kB / 0.9371 GB, free: 107 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/2.178, allocations: 63.66 kB / 0.9372 GB, free: 107 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/2.18, allocations: 1.186 MB / 0.9384 GB, free: 106.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/2.18, allocations: 3.156 kB / 0.9384 GB, free: 106.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/2.181, allocations: 33.31 kB / 0.9384 GB, free: 106.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/2.181, allocations: 76.95 kB / 0.9385 GB, free: 106.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/2.183, allocations: 1.161 MB / 0.9396 GB, free: 106.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/2.194, allocations: 4.782 MB / 0.9443 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/2.196, allocations: 0.64 MB / 0.9449 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007508/2.197, allocations: 403.3 kB / 0.9453 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004265/2.201, allocations: 2.52 MB / 0.9477 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/2.201, allocations: 44.72 kB / 0.9478 GB, free: 103.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 4.252e-06/2.201, allocations: 0 / 0.9478 GB, free: 103.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=56): time 0.006508/2.207, allocations: 2.27 MB / 0.95 GB, free: 103 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/2.208, allocations: 165.1 kB / 0.9502 GB, free: 102.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/2.209, allocations: 0.762 MB / 0.9509 GB, free: 102.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/2.209, allocations: 37.39 kB / 0.9509 GB, free: 102.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/2.209, allocations: 0.4886 MB / 0.9514 GB, free: 102.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/2.21, allocations: 198.2 kB / 0.9516 GB, free: 102.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.67e-05/2.21, allocations: 21.34 kB / 0.9516 GB, free: 102.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.859e-05/2.21, allocations: 349.5 kB / 0.952 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008493/2.211, allocations: 417.5 kB / 0.9524 GB, free: 101.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000984/2.212, allocations: 0.7138 MB / 0.953 GB, free: 101.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/2.213, allocations: 0.5096 MB / 0.9535 GB, free: 101.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.308e-06/2.213, allocations: 3.719 kB / 0.9535 GB, free: 101.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003281/2.216, allocations: 1.437 MB / 0.955 GB, free: 101.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000732/2.217, allocations: 3.572 MB / 0.9584 GB, free: 97.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/2.217, allocations: 8.188 kB / 0.9584 GB, free: 97.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/2.219, allocations: 0.4935 MB / 0.9589 GB, free: 97.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/2.22, allocations: 196.1 kB / 0.9591 GB, free: 97.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002829/2.223, allocations: 2.911 MB / 0.962 GB, free: 95.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/2.224, allocations: 60.72 kB / 0.962 GB, free: 95.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/2.225, allocations: 49.03 kB / 0.9621 GB, free: 95.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/2.225, allocations: 5.062 kB / 0.9621 GB, free: 95.34 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002913/2.228, allocations: 1.287 MB / 0.9633 GB, free: 95.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/2.228, allocations: 6.906 kB / 0.9633 GB, free: 95.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/2.229, allocations: 318.9 kB / 0.9636 GB, free: 95.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/2.23, allocations: 197.1 kB / 0.9638 GB, free: 95.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/2.232, allocations: 2.678 MB / 0.9664 GB, free: 92.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/2.233, allocations: 62.44 kB / 0.9665 GB, free: 92.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/2.233, allocations: 45.75 kB / 0.9665 GB, free: 92.88 MB / 490.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.0003675/2.234, allocations: 165 kB / 0.9667 GB, free: 92.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002749/2.234, allocations: 94.67 kB / 0.9668 GB, free: 92.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/2.237, allocations: 1.345 MB / 0.9681 GB, free: 92.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/2.237, allocations: 9.781 kB / 0.9681 GB, free: 92.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.999e-06/2.237, allocations: 3.953 kB / 0.9681 GB, free: 92.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/2.237, allocations: 7.094 kB / 0.9681 GB, free: 92.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00482/2.242, allocations: 2.282 MB / 0.9704 GB, free: 92.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.926e-06/2.242, allocations: 0 / 0.9704 GB, free: 92.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009007/2.243, allocations: 93.56 kB / 0.9704 GB, free: 92.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004169/2.247, allocations: 0.4939 MB / 0.9709 GB, free: 92.03 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/2.247, allocations: 21.77 kB / 0.9709 GB, free: 92.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004612/2.252, allocations: 2.917 MB / 0.9738 GB, free: 89.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/2.252, allocations: 0 / 0.9738 GB, free: 89.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006367/2.258, allocations: 1.738 MB / 0.9755 GB, free: 89.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/2.26, allocations: 294 kB / 0.9758 GB, free: 89.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003955/2.26, allocations: 20.27 kB / 0.9758 GB, free: 89.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/2.262, allocations: 37.27 kB / 0.9758 GB, free: 89.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003062/2.262, allocations: 57.88 kB / 0.9759 GB, free: 89.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/2.262, allocations: 29.05 kB / 0.9759 GB, free: 89.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00184/2.264, allocations: 0.5753 MB / 0.9765 GB, free: 89.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.345e-06/2.264, allocations: 0 / 0.9765 GB, free: 89.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005646/2.27, allocations: 0.8638 MB / 0.9773 GB, free: 88.97 MB / 490.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.003878/2.274, allocations: 0.8226 MB / 0.9781 GB, free: 88.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007438/2.281, allocations: 1.802 MB / 0.9799 GB, free: 88.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/2.281, allocations: 0 / 0.9799 GB, free: 88.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002479/2.284, allocations: 0.5623 MB / 0.9804 GB, free: 88.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/2.288, allocations: 342.3 kB / 0.9808 GB, free: 88.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007384/2.295, allocations: 1.619 MB / 0.9823 GB, free: 87.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/2.296, allocations: 1.08 MB / 0.9834 GB, free: 86.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007772/2.297, allocations: 97.02 kB / 0.9835 GB, free: 86.73 MB / 490.7 MB Notification: Performance of SimCode: time 3.061e-06/2.297, allocations: 0 / 0.9835 GB, free: 86.73 MB / 490.7 MB Notification: Performance of Templates: time 0.06463/2.362, allocations: 30.61 MB / 1.013 GB, free: 78.88 MB / 490.7 MB