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 2.028/2.028, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004294, allocations: 15.94 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3431, allocations: 48.71 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.2201/0.5632, allocations: 129.1 MB / 460.4 MB, free: 13.07 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01905/0.5823, allocations: 9.133 MB / 469.5 MB, free: 3.926 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.5837, allocations: 39.62 kB / 469.6 MB, free: 3.887 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.5854, allocations: 350.2 kB / 469.9 MB, free: 3.543 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004898/0.5903, allocations: 1.188 MB / 471.1 MB, free: 2.352 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00837/0.5987, allocations: 2.105 MB / 473.2 MB, free: 248 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.351/0.9497, allocations: 1.664 MB / 474.9 MB, free: 2.977 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.9515, allocations: 0.6351 MB / 475.5 MB, free: 2.918 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002828/0.9544, allocations: 0.8192 MB / 476.3 MB, free: 2.918 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002508/0.9569, allocations: 0.7991 MB / 477.1 MB, free: 2.914 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004908/0.9575, allocations: 53.44 kB / 477.2 MB, free: 2.914 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006107/0.9636, allocations: 1.868 MB / 479 MB, free: 2.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009629/0.9646, allocations: 326.3 kB / 479.4 MB, free: 2.91 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006612/0.9653, allocations: 211.8 kB / 479.6 MB, free: 2.879 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005241/0.9705, allocations: 1.826 MB / 481.4 MB, free: 2.742 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.9706, allocations: 0 / 481.4 MB, free: 2.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.9706, allocations: 0 / 481.4 MB, free: 2.742 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.515e-05/0.9707, allocations: 5.062 kB / 481.4 MB, free: 2.738 MB / 394.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.005928/0.9766, allocations: 1.374 MB / 482.8 MB, free: 17.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.9767, allocations: 9.031 kB / 482.8 MB, free: 17.93 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005465/0.9772, allocations: 120.7 kB / 482.9 MB, free: 17.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00071/0.978, allocations: 120.8 kB / 483 MB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.9802, allocations: 0.7104 MB / 483.7 MB, free: 17.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.9804, allocations: 118.3 kB / 483.8 MB, free: 17.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000313/0.9808, allocations: 66.94 kB / 483.9 MB, free: 17.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003534/0.9843, allocations: 1.193 MB / 485.1 MB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.9844, allocations: 3.812 kB / 485.1 MB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.9846, allocations: 34.67 kB / 485.1 MB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/0.9847, allocations: 77.69 kB / 485.2 MB, free: 17.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003238/0.988, allocations: 1.195 MB / 486.4 MB, free: 17.36 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01484/1.003, allocations: 5.034 MB / 491.4 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/1.005, allocations: 0.6583 MB / 492.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005664/1.011, allocations: 2.491 MB / 494.6 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/1.011, allocations: 44.28 kB / 494.6 MB, free: 13.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 5.1e-06/1.011, allocations: 2.906 kB / 494.6 MB, free: 13.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=56): time 0.01272/1.024, allocations: 2.923 MB / 497.6 MB, free: 13.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.024, allocations: 166.6 kB / 497.7 MB, free: 12.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/1.025, allocations: 0.8765 MB / 498.6 MB, free: 12.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002528/1.026, allocations: 34.08 kB / 498.6 MB, free: 12.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/1.026, allocations: 0.4977 MB / 499.1 MB, free: 12.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/1.026, allocations: 204.7 kB / 499.3 MB, free: 12.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/1.027, allocations: 19.81 kB / 499.4 MB, free: 12.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/1.027, allocations: 350.6 kB / 499.7 MB, free: 11.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/1.028, allocations: 432.3 kB / 0.4884 GB, free: 11.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/1.029, allocations: 0.7404 MB / 0.4891 GB, free: 11.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/1.031, allocations: 0.5157 MB / 0.4896 GB, free: 11.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/1.031, allocations: 4.906 kB / 0.4896 GB, free: 11.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.004225/1.035, allocations: 1.467 MB / 0.4911 GB, free: 11.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003153/1.036, allocations: 372.2 kB / 0.4914 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/1.036, allocations: 15 kB / 0.4914 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002844/1.038, allocations: 0.5187 MB / 0.4919 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/1.04, allocations: 199.8 kB / 0.4921 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003976/1.044, allocations: 2.924 MB / 0.495 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/1.046, allocations: 59.66 kB / 0.495 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/1.046, allocations: 52.81 kB / 0.4951 GB, free: 8.547 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/1.046, allocations: 7.156 kB / 0.4951 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004039/1.05, allocations: 1.316 MB / 0.4964 GB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.233e-05/1.051, allocations: 15.78 kB / 0.4964 GB, free: 8.395 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/1.052, allocations: 316 kB / 0.4967 GB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/1.054, allocations: 205.2 kB / 0.4969 GB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/1.057, allocations: 2.69 MB / 0.4995 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/1.058, allocations: 57.81 kB / 0.4996 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/1.058, allocations: 45.58 kB / 0.4996 GB, free: 5.988 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (107): * Single equations (assignments): 104 * 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.0009187/1.059, allocations: 379.1 kB / 0.5 GB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/1.059, allocations: 95.42 kB / 0.5001 GB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004002/1.063, allocations: 1.357 MB / 0.5014 GB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/1.064, allocations: 15.47 kB / 0.5014 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.064, allocations: 0 / 0.5014 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/1.064, allocations: 5.734 kB / 0.5014 GB, free: 5.246 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006267/1.07, allocations: 2.304 MB / 0.5037 GB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/1.07, allocations: 2.688 kB / 0.5037 GB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009248/1.071, allocations: 91.67 kB / 0.5038 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/1.073, allocations: 0.5044 MB / 0.5042 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000186/1.074, allocations: 18.73 kB / 0.5043 GB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00387/1.078, allocations: 2.919 MB / 0.5071 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.078, allocations: 3.219 kB / 0.5071 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00461/1.082, allocations: 1.731 MB / 0.5088 GB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000985/1.083, allocations: 295.1 kB / 0.5091 GB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003582/1.084, allocations: 17.41 kB / 0.5091 GB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/1.085, allocations: 45.55 kB / 0.5092 GB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/1.085, allocations: 59.67 kB / 0.5092 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/1.085, allocations: 28.83 kB / 0.5092 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001264/1.087, allocations: 0.5896 MB / 0.5098 GB, free: 0.793 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.087, allocations: 7.344 kB / 0.5098 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003969/1.091, allocations: 0.7765 MB / 0.5106 GB, free: 0.6758 MB / 410.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.007298/1.098, allocations: 2.812 MB / 0.5133 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006401/1.104, allocations: 1.844 MB / 0.5151 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.996e-06/1.104, allocations: 0 / 0.5151 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002355/1.107, allocations: 0.5721 MB / 0.5157 GB, free: 14.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/1.11, allocations: 342.8 kB / 0.516 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00979/1.12, allocations: 3.398 MB / 0.5193 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009068/1.121, allocations: 1.071 MB / 0.5204 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009517/1.122, allocations: 360.8 kB / 0.5207 GB, free: 10.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.352e-06/1.122, allocations: 4 kB / 0.5207 GB, free: 10.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.564/4.686, allocations: 34.11 MB / 0.554 GB, free: 8.805 MB / 458.7 MB