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.578/2.578, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006615/0.0006617, allocations: 8 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3983, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.215/1.614, allocations: 401.8 MB / 0.7531 GB, free: 80.73 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/1.614, allocations: 94.33 kB / 0.7532 GB, free: 80.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.061/2.675, allocations: 191.5 MB / 0.9401 GB, free: 94.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.365e-06/2.675, allocations: 0 / 0.9401 GB, free: 94.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.686e-05/2.675, allocations: 20.62 kB / 0.9402 GB, free: 94.88 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.005113/2.68, allocations: 1.472 MB / 0.9416 GB, free: 93.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/2.68, allocations: 8.031 kB / 0.9416 GB, free: 93.35 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000426/2.68, allocations: 118.5 kB / 0.9417 GB, free: 93.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005801/2.681, allocations: 118.8 kB / 0.9418 GB, free: 93.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002479/2.684, allocations: 0.805 MB / 0.9426 GB, free: 92.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/2.684, allocations: 124.6 kB / 0.9427 GB, free: 92.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/2.684, allocations: 59.98 kB / 0.9428 GB, free: 92.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/2.687, allocations: 1.207 MB / 0.944 GB, free: 90.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/2.687, allocations: 0 / 0.944 GB, free: 90.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/2.687, allocations: 27.98 kB / 0.944 GB, free: 90.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/2.687, allocations: 73.89 kB / 0.9441 GB, free: 90.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002884/2.69, allocations: 1.191 MB / 0.9452 GB, free: 89.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01222/2.703, allocations: 4.772 MB / 0.9499 GB, free: 84.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/2.705, allocations: 0.6594 MB / 0.9505 GB, free: 83.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004967/2.71, allocations: 2.463 MB / 0.9529 GB, free: 81.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/2.71, allocations: 42.95 kB / 0.953 GB, free: 81.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 3.797e-06/2.71, allocations: 0 / 0.953 GB, free: 81.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=56): time 0.01142/2.721, allocations: 2.898 MB / 0.9558 GB, free: 78.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/2.721, allocations: 162.8 kB / 0.956 GB, free: 77.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/2.723, allocations: 0.7814 MB / 0.9567 GB, free: 77.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002162/2.723, allocations: 37.7 kB / 0.9568 GB, free: 77.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/2.723, allocations: 0.4894 MB / 0.9572 GB, free: 76.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/2.724, allocations: 197.2 kB / 0.9574 GB, free: 76.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/2.724, allocations: 23.94 kB / 0.9575 GB, free: 76.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/2.724, allocations: 350.8 kB / 0.9578 GB, free: 76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/2.725, allocations: 429.7 kB / 0.9582 GB, free: 75.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/2.726, allocations: 0.7247 MB / 0.9589 GB, free: 74.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/2.728, allocations: 0.5028 MB / 0.9594 GB, free: 74.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/2.728, allocations: 4 kB / 0.9594 GB, free: 74.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003952/2.732, allocations: 1.457 MB / 0.9608 GB, free: 72.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007028/2.732, allocations: 3.574 MB / 0.9643 GB, free: 68.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/2.732, allocations: 12.03 kB / 0.9643 GB, free: 68.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002658/2.735, allocations: 0.5098 MB / 0.9648 GB, free: 68.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/2.737, allocations: 199.6 kB / 0.965 GB, free: 68.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/2.74, allocations: 2.908 MB / 0.9679 GB, free: 65.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/2.741, allocations: 68 kB / 0.9679 GB, free: 64.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/2.742, allocations: 47.97 kB / 0.968 GB, free: 64.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/2.742, allocations: 6.031 kB / 0.968 GB, free: 64.92 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003568/2.745, allocations: 1.306 MB / 0.9692 GB, free: 63.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/2.745, allocations: 12 kB / 0.9693 GB, free: 63.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/2.747, allocations: 310.2 kB / 0.9696 GB, free: 63.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/2.748, allocations: 199.7 kB / 0.9697 GB, free: 63.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/2.751, allocations: 2.689 MB / 0.9724 GB, free: 60.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/2.752, allocations: 64.16 kB / 0.9724 GB, free: 60.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/2.752, allocations: 47.98 kB / 0.9725 GB, free: 60.09 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 () * 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.0008243/2.753, allocations: 372.7 kB / 0.9728 GB, free: 59.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/2.753, allocations: 90.88 kB / 0.9729 GB, free: 59.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003559/2.757, allocations: 1.355 MB / 0.9742 GB, free: 58.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/2.757, allocations: 15.94 kB / 0.9743 GB, free: 58.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/2.757, allocations: 0 / 0.9743 GB, free: 58.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/2.757, allocations: 0 / 0.9743 GB, free: 58.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005358/2.762, allocations: 2.295 MB / 0.9765 GB, free: 55.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/2.762, allocations: 4.125 kB / 0.9765 GB, free: 55.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008869/2.763, allocations: 95.88 kB / 0.9766 GB, free: 55.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002526/2.766, allocations: 0.506 MB / 0.9771 GB, free: 55.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/2.766, allocations: 23.98 kB / 0.9771 GB, free: 55.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/2.769, allocations: 2.919 MB / 0.98 GB, free: 52.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/2.769, allocations: 4.031 kB / 0.98 GB, free: 52.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004082/2.773, allocations: 1.765 MB / 0.9817 GB, free: 50.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007301/2.774, allocations: 291.7 kB / 0.982 GB, free: 49.94 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/2.774, allocations: 12 kB / 0.982 GB, free: 49.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/2.775, allocations: 51.92 kB / 0.982 GB, free: 49.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/2.775, allocations: 48.48 kB / 0.9821 GB, free: 49.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.535e-05/2.776, allocations: 27.97 kB / 0.9821 GB, free: 49.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001108/2.777, allocations: 0.5888 MB / 0.9827 GB, free: 49.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/2.777, allocations: 4 kB / 0.9827 GB, free: 49.22 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003523/2.78, allocations: 0.8625 MB / 0.9835 GB, free: 48.36 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 () * 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.006924/2.787, allocations: 3.179 MB / 0.9866 GB, free: 45.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007208/2.794, allocations: 1.821 MB / 0.9884 GB, free: 43.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/2.795, allocations: 3.938 kB / 0.9884 GB, free: 43.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002909/2.797, allocations: 0.5721 MB / 0.989 GB, free: 42.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0039/2.801, allocations: 333.7 kB / 0.9893 GB, free: 42.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00998/2.811, allocations: 9.528 MB / 0.9986 GB, free: 32.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000631/2.812, allocations: 1.078 MB / 0.9996 GB, free: 31.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008884/2.813, allocations: 359.3 kB / 1 GB, free: 31.12 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/2.813, allocations: 0 / 1 GB, free: 31.12 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.227/7.04, allocations: 34.61 MB / 1.034 GB, free: 108.5 MB / 490.7 MB