Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.927/1.927, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004693/0.0004694, allocations: 16 kB / 282.7 MB, free: 9.535 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3548, allocations: 48.69 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.591, allocations: 395.4 MB / 0.7097 GB, free: 90.72 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/1.591, allocations: 87.33 kB / 0.7098 GB, free: 90.67 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.064/2.655, allocations: 191.5 MB / 0.8968 GB, free: 87.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.875e-06/2.655, allocations: 4 kB / 0.8968 GB, free: 87.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001025/2.655, allocations: 27.77 kB / 0.8968 GB, free: 87.45 MB / 442.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.005513/2.661, allocations: 1.456 MB / 0.8982 GB, free: 85.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/2.661, allocations: 12.03 kB / 0.8982 GB, free: 85.95 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005319/2.662, allocations: 126.2 kB / 0.8984 GB, free: 85.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006077/2.662, allocations: 118.7 kB / 0.8985 GB, free: 85.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/2.665, allocations: 0.8031 MB / 0.8993 GB, free: 84.87 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/2.665, allocations: 116.5 kB / 0.8994 GB, free: 84.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/2.665, allocations: 63.91 kB / 0.8994 GB, free: 84.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003132/2.668, allocations: 1.202 MB / 0.9006 GB, free: 83.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/2.669, allocations: 4 kB / 0.9006 GB, free: 83.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/2.669, allocations: 43.55 kB / 0.9006 GB, free: 83.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/2.669, allocations: 77.88 kB / 0.9007 GB, free: 83.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003018/2.672, allocations: 1.183 MB / 0.9019 GB, free: 82.17 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01271/2.685, allocations: 4.758 MB / 0.9065 GB, free: 77.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/2.687, allocations: 0.6721 MB / 0.9072 GB, free: 76.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00535/2.692, allocations: 2.454 MB / 0.9096 GB, free: 73.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/2.692, allocations: 39 kB / 0.9096 GB, free: 73.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=51): time 4.308e-06/2.692, allocations: 4 kB / 0.9096 GB, free: 73.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=56): time 0.01209/2.704, allocations: 2.918 MB / 0.9125 GB, free: 70.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/2.704, allocations: 166.7 kB / 0.9126 GB, free: 70.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/2.706, allocations: 0.7775 MB / 0.9134 GB, free: 69.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000244/2.706, allocations: 37.7 kB / 0.9134 GB, free: 69.74 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/2.707, allocations: 499.1 kB / 0.9139 GB, free: 69.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/2.707, allocations: 201.1 kB / 0.9141 GB, free: 69.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.73e-05/2.707, allocations: 24 kB / 0.9141 GB, free: 69.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.403e-05/2.707, allocations: 350.8 kB / 0.9144 GB, free: 68.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/2.708, allocations: 425.7 kB / 0.9149 GB, free: 68.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/2.71, allocations: 0.7283 MB / 0.9156 GB, free: 67.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/2.711, allocations: 0.5028 MB / 0.9161 GB, free: 66.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/2.711, allocations: 4 kB / 0.9161 GB, free: 66.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003793/2.715, allocations: 1.457 MB / 0.9175 GB, free: 65.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007659/2.716, allocations: 3.576 MB / 0.921 GB, free: 61.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/2.716, allocations: 12 kB / 0.921 GB, free: 61.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002646/2.718, allocations: 0.5056 MB / 0.9215 GB, free: 61.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/2.72, allocations: 203.6 kB / 0.9217 GB, free: 60.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003178/2.723, allocations: 2.911 MB / 0.9245 GB, free: 57.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/2.725, allocations: 64.08 kB / 0.9246 GB, free: 57.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/2.725, allocations: 47.98 kB / 0.9246 GB, free: 57.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/2.725, allocations: 4 kB / 0.9246 GB, free: 57.62 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003533/2.729, allocations: 1.296 MB / 0.9259 GB, free: 56.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/2.729, allocations: 8 kB / 0.9259 GB, free: 56.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/2.73, allocations: 310.5 kB / 0.9262 GB, free: 55.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/2.732, allocations: 195.7 kB / 0.9264 GB, free: 55.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/2.734, allocations: 2.697 MB / 0.929 GB, free: 52.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/2.735, allocations: 60.09 kB / 0.9291 GB, free: 52.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/2.735, allocations: 47.98 kB / 0.9291 GB, free: 52.79 MB / 442.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.0008836/2.736, allocations: 376.7 kB / 0.9295 GB, free: 52.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/2.737, allocations: 90.88 kB / 0.9296 GB, free: 52.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003651/2.74, allocations: 1.355 MB / 0.9309 GB, free: 50.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/2.74, allocations: 4 kB / 0.9309 GB, free: 50.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/2.74, allocations: 0 / 0.9309 GB, free: 50.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/2.74, allocations: 7.984 kB / 0.9309 GB, free: 50.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005438/2.746, allocations: 2.3 MB / 0.9331 GB, free: 48.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/2.746, allocations: 0 / 0.9331 GB, free: 48.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008701/2.747, allocations: 95.83 kB / 0.9332 GB, free: 48.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002466/2.749, allocations: 0.5136 MB / 0.9337 GB, free: 47.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/2.749, allocations: 15.98 kB / 0.9338 GB, free: 47.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003057/2.753, allocations: 2.923 MB / 0.9366 GB, free: 44.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/2.753, allocations: 0 / 0.9366 GB, free: 44.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004333/2.757, allocations: 1.769 MB / 0.9383 GB, free: 42.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008414/2.758, allocations: 283.8 kB / 0.9386 GB, free: 42.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/2.758, allocations: 16 kB / 0.9386 GB, free: 42.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/2.759, allocations: 35.91 kB / 0.9387 GB, free: 42.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/2.759, allocations: 64.53 kB / 0.9387 GB, free: 42.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.894e-05/2.76, allocations: 23.98 kB / 0.9387 GB, free: 42.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001166/2.761, allocations: 0.5888 MB / 0.9393 GB, free: 41.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.761, allocations: 0 / 0.9393 GB, free: 41.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003863/2.765, allocations: 0.8625 MB / 0.9402 GB, free: 41.09 MB / 442.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.007193/2.772, allocations: 3.178 MB / 0.9433 GB, free: 37.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00543/2.777, allocations: 1.832 MB / 0.9451 GB, free: 36.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.904e-06/2.777, allocations: 0 / 0.9451 GB, free: 36.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001798/2.779, allocations: 0.5602 MB / 0.9456 GB, free: 35.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/2.782, allocations: 335.1 kB / 0.9459 GB, free: 35.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/2.792, allocations: 9.525 MB / 0.9552 GB, free: 25.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006441/2.793, allocations: 1.078 MB / 0.9563 GB, free: 24.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009123/2.794, allocations: 359.2 kB / 0.9566 GB, free: 23.92 MB / 442.7 MB Notification: Performance of SimCode: time 1.553e-06/2.794, allocations: 0 / 0.9566 GB, free: 23.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.917/6.711, allocations: 34.62 MB / 0.9904 GB, free: 93.12 MB / 442.7 MB