Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.425/2.425, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.802e-05, allocations: 0 / 309.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4262, allocations: 54.85 MB / 364.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/1.648, allocations: 401.7 MB / 0.7484 GB, free: 132.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/1.649, allocations: 85.73 kB / 0.7485 GB, free: 132.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.007/2.656, allocations: 190.9 MB / 0.9349 GB, free: 109.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/2.656, allocations: 0 / 0.9349 GB, free: 109.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001034/2.656, allocations: 28.56 kB / 0.9349 GB, free: 109.3 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.004601/2.66, allocations: 1.342 MB / 0.9362 GB, free: 108.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/2.66, allocations: 11.72 kB / 0.9362 GB, free: 108.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003052/2.661, allocations: 119.8 kB / 0.9363 GB, free: 108.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006471/2.661, allocations: 120.6 kB / 0.9365 GB, free: 108.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/2.664, allocations: 0.799 MB / 0.9372 GB, free: 108.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/2.664, allocations: 117.8 kB / 0.9374 GB, free: 108.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/2.664, allocations: 63.89 kB / 0.9374 GB, free: 108.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/2.667, allocations: 1.194 MB / 0.9386 GB, free: 108 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/2.667, allocations: 3.594 kB / 0.9386 GB, free: 108 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/2.667, allocations: 30.89 kB / 0.9386 GB, free: 108 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001946/2.668, allocations: 76.88 kB / 0.9387 GB, free: 108 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/2.67, allocations: 1.16 MB / 0.9398 GB, free: 108 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01414/2.685, allocations: 4.772 MB / 0.9445 GB, free: 106.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/2.686, allocations: 0.6462 MB / 0.9451 GB, free: 106.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008494/2.687, allocations: 404.2 kB / 0.9455 GB, free: 106.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004696/2.692, allocations: 2.52 MB / 0.948 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/2.692, allocations: 45.92 kB / 0.948 GB, free: 104.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 3.536e-06/2.692, allocations: 5.625 kB / 0.948 GB, free: 104.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=56): time 0.007051/2.699, allocations: 2.257 MB / 0.9502 GB, free: 104.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/2.699, allocations: 165.5 kB / 0.9504 GB, free: 104 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/2.701, allocations: 0.7735 MB / 0.9511 GB, free: 103.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/2.701, allocations: 33.39 kB / 0.9512 GB, free: 103.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000323/2.701, allocations: 0.4909 MB / 0.9516 GB, free: 103.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/2.701, allocations: 193.6 kB / 0.9518 GB, free: 103.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.409e-05/2.702, allocations: 22.61 kB / 0.9518 GB, free: 103.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.831e-05/2.702, allocations: 355.2 kB / 0.9522 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/2.703, allocations: 416.5 kB / 0.9526 GB, free: 103.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/2.704, allocations: 0.7161 MB / 0.9533 GB, free: 102.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/2.705, allocations: 0.5023 MB / 0.9538 GB, free: 102.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/2.705, allocations: 3.875 kB / 0.9538 GB, free: 102.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00346/2.709, allocations: 1.437 MB / 0.9552 GB, free: 102.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007951/2.709, allocations: 3.574 MB / 0.9587 GB, free: 98.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/2.709, allocations: 6.5 kB / 0.9587 GB, free: 98.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00262/2.712, allocations: 0.4966 MB / 0.9592 GB, free: 98.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/2.714, allocations: 198.3 kB / 0.9593 GB, free: 98.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/2.717, allocations: 2.916 MB / 0.9622 GB, free: 96.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/2.718, allocations: 57.56 kB / 0.9622 GB, free: 96.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/2.719, allocations: 47.64 kB / 0.9623 GB, free: 96.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/2.719, allocations: 3.969 kB / 0.9623 GB, free: 96.53 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003295/2.722, allocations: 1.285 MB / 0.9635 GB, free: 96.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/2.722, allocations: 15.31 kB / 0.9636 GB, free: 96.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/2.723, allocations: 310 kB / 0.9639 GB, free: 96.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/2.725, allocations: 205.5 kB / 0.9641 GB, free: 96.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/2.727, allocations: 2.667 MB / 0.9667 GB, free: 94.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/2.728, allocations: 59.08 kB / 0.9667 GB, free: 94.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/2.728, allocations: 51.09 kB / 0.9668 GB, free: 94.07 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.0003938/2.729, allocations: 172.3 kB / 0.9669 GB, free: 93.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/2.729, allocations: 90.66 kB / 0.967 GB, free: 93.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003446/2.732, allocations: 1.338 MB / 0.9683 GB, free: 93.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/2.732, allocations: 7.828 kB / 0.9683 GB, free: 93.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/2.732, allocations: 3.938 kB / 0.9683 GB, free: 93.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/2.732, allocations: 3.562 kB / 0.9683 GB, free: 93.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005024/2.738, allocations: 2.288 MB / 0.9706 GB, free: 93.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/2.738, allocations: 3.969 kB / 0.9706 GB, free: 93.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008419/2.738, allocations: 91.09 kB / 0.9707 GB, free: 93.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002334/2.741, allocations: 0.499 MB / 0.9711 GB, free: 93.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.734e-05/2.741, allocations: 18.34 kB / 0.9712 GB, free: 93.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/2.744, allocations: 2.912 MB / 0.974 GB, free: 90.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/2.744, allocations: 0 / 0.974 GB, free: 90.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00376/2.748, allocations: 1.745 MB / 0.9757 GB, free: 90.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007015/2.748, allocations: 285.9 kB / 0.976 GB, free: 90.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/2.748, allocations: 16.23 kB / 0.976 GB, free: 90.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/2.75, allocations: 46.91 kB / 0.976 GB, free: 90.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/2.75, allocations: 60.53 kB / 0.9761 GB, free: 90.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.491e-05/2.75, allocations: 25.66 kB / 0.9761 GB, free: 90.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00108/2.751, allocations: 0.5807 MB / 0.9767 GB, free: 90.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.751, allocations: 0 / 0.9767 GB, free: 90.13 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003311/2.754, allocations: 0.8637 MB / 0.9775 GB, free: 89.91 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.006755/2.761, allocations: 3.142 MB / 0.9806 GB, free: 88.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004819/2.766, allocations: 1.795 MB / 0.9824 GB, free: 87.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/2.766, allocations: 6.219 kB / 0.9824 GB, free: 87.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001624/2.768, allocations: 0.5548 MB / 0.9829 GB, free: 87.22 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/2.77, allocations: 348.3 kB / 0.9832 GB, free: 87.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007366/2.778, allocations: 2.068 MB / 0.9853 GB, free: 86.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/2.778, allocations: 1.075 MB / 0.9863 GB, free: 85.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008444/2.779, allocations: 360.4 kB / 0.9867 GB, free: 85.31 MB / 490.7 MB Notification: Performance of SimCode: time 1.412e-06/2.779, allocations: 0 / 0.9867 GB, free: 85.31 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.809/6.588, allocations: 34.88 MB / 1.021 GB, free: 69.73 MB / 490.7 MB