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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.404/2.404, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.841e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3587, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.59, allocations: 401 MB / 0.7414 GB, free: 93.29 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/1.59, allocations: 87.14 kB / 0.7415 GB, free: 93.24 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.005/2.595, allocations: 189.5 MB / 0.9265 GB, free: 112.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.224e-06/2.595, allocations: 3.938 kB / 0.9265 GB, free: 112.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001033/2.595, allocations: 34.28 kB / 0.9265 GB, free: 112.2 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.004856/2.6, allocations: 1.335 MB / 0.9278 GB, free: 110.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/2.6, allocations: 12.02 kB / 0.9278 GB, free: 110.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000848/2.601, allocations: 118.7 kB / 0.9279 GB, free: 110.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/2.604, allocations: 0.7957 MB / 0.9287 GB, free: 109.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/2.604, allocations: 100.7 kB / 0.9288 GB, free: 109.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/2.604, allocations: 40 kB / 0.9288 GB, free: 109.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002643/2.607, allocations: 1.069 MB / 0.9299 GB, free: 108.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/2.609, allocations: 1.095 MB / 0.931 GB, free: 107.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/2.61, allocations: 0 / 0.931 GB, free: 107.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/2.61, allocations: 4 kB / 0.931 GB, free: 107.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000155/2.61, allocations: 69.95 kB / 0.931 GB, free: 107.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01221/2.622, allocations: 4.621 MB / 0.9355 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/2.624, allocations: 0.6284 MB / 0.9362 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007873/2.625, allocations: 398.4 kB / 0.9365 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004727/2.629, allocations: 2.544 MB / 0.939 GB, free: 98.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/2.629, allocations: 39 kB / 0.9391 GB, free: 98.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 5.27e-06/2.63, allocations: 0 / 0.9391 GB, free: 98.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.01439/2.644, allocations: 3.008 MB / 0.942 GB, free: 95.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/2.644, allocations: 162.8 kB / 0.9422 GB, free: 95.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/2.645, allocations: 0.6169 MB / 0.9428 GB, free: 94.83 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/2.645, allocations: 25.7 kB / 0.9428 GB, free: 94.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00031/2.646, allocations: 0.5085 MB / 0.9433 GB, free: 94.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/2.646, allocations: 192 kB / 0.9435 GB, free: 94.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.055e-05/2.646, allocations: 0 / 0.9435 GB, free: 94.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.767e-05/2.646, allocations: 350.8 kB / 0.9438 GB, free: 93.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008857/2.647, allocations: 402.5 kB / 0.9442 GB, free: 93.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/2.648, allocations: 0.7145 MB / 0.9449 GB, free: 92.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01243/2.66, allocations: 1.608 MB / 0.9464 GB, free: 90.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/2.661, allocations: 4 kB / 0.9464 GB, free: 90.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01494/2.676, allocations: 2.485 MB / 0.9489 GB, free: 88.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007679/2.676, allocations: 3.658 MB / 0.9524 GB, free: 84.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/2.676, allocations: 8 kB / 0.9525 GB, free: 84.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/2.678, allocations: 422.3 kB / 0.9529 GB, free: 83.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/2.68, allocations: 199.6 kB / 0.953 GB, free: 83.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00473/2.684, allocations: 3.131 MB / 0.9561 GB, free: 80.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/2.686, allocations: 40.06 kB / 0.9561 GB, free: 80.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/2.686, allocations: 51.97 kB / 0.9562 GB, free: 80.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/2.686, allocations: 6.812 kB / 0.9562 GB, free: 80.41 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01309/2.699, allocations: 2.102 MB / 0.9583 GB, free: 78.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/2.7, allocations: 12 kB / 0.9583 GB, free: 78.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/2.701, allocations: 286.7 kB / 0.9585 GB, free: 77.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/2.702, allocations: 199.6 kB / 0.9587 GB, free: 77.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/2.704, allocations: 2.66 MB / 0.9613 GB, free: 74.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/2.706, allocations: 40.12 kB / 0.9614 GB, free: 74.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/2.706, allocations: 43.98 kB / 0.9614 GB, free: 74.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0003763/2.706, allocations: 144.6 kB / 0.9615 GB, free: 74.73 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004623/2.711, allocations: 1.204 MB / 0.9627 GB, free: 73.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/2.711, allocations: 82.97 kB / 0.9628 GB, free: 73.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005155/2.716, allocations: 1.447 MB / 0.9642 GB, free: 71.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/2.716, allocations: 15.95 kB / 0.9642 GB, free: 71.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/2.716, allocations: 3.938 kB / 0.9642 GB, free: 71.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/2.716, allocations: 3.984 kB / 0.9642 GB, free: 71.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00697/2.723, allocations: 2.342 MB / 0.9665 GB, free: 69.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/2.724, allocations: 3.938 kB / 0.9665 GB, free: 69.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008718/2.724, allocations: 91.88 kB / 0.9666 GB, free: 69.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001544/2.726, allocations: 414.3 kB / 0.967 GB, free: 68.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/2.726, allocations: 12.11 kB / 0.967 GB, free: 68.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004467/2.731, allocations: 3.071 MB / 0.97 GB, free: 65.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/2.731, allocations: 0 / 0.97 GB, free: 65.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005533/2.736, allocations: 1.889 MB / 0.9719 GB, free: 63.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007911/2.737, allocations: 279.9 kB / 0.9721 GB, free: 63.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/2.737, allocations: 0 / 0.9721 GB, free: 63.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/2.738, allocations: 31.94 kB / 0.9722 GB, free: 63.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/2.738, allocations: 64.41 kB / 0.9722 GB, free: 63.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.921e-05/2.739, allocations: 31.92 kB / 0.9723 GB, free: 63.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008129/2.739, allocations: 459.1 kB / 0.9727 GB, free: 62.92 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.739, allocations: 4 kB / 0.9727 GB, free: 62.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004006/2.743, allocations: 0.8078 MB / 0.9735 GB, free: 62.11 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.008479/2.752, allocations: 3.282 MB / 0.9767 GB, free: 58.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004518/2.757, allocations: 1.707 MB / 0.9784 GB, free: 57.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/2.757, allocations: 0 / 0.9784 GB, free: 57.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001535/2.758, allocations: 0.5347 MB / 0.9789 GB, free: 56.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/2.761, allocations: 321.1 kB / 0.9792 GB, free: 56.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007016/2.768, allocations: 1.963 MB / 0.9811 GB, free: 54.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/2.769, allocations: 1.077 MB / 0.9822 GB, free: 53.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008678/2.77, allocations: 351.3 kB / 0.9825 GB, free: 52.76 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/2.77, allocations: 0 / 0.9825 GB, free: 52.76 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.744/6.513, allocations: 34.34 MB / 1.016 GB, free: 18.39 MB / 490.7 MB