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.356/2.356, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004261/0.0004259, allocations: 8 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3355, allocations: 54.87 MB / 369.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.5474/0.8829, allocations: 129.1 MB / 498.4 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01608/0.899, allocations: 9.144 MB / 0.4956 GB, free: 15.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.9005, allocations: 38.66 kB / 0.4957 GB, free: 15.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.9019, allocations: 354.5 kB / 0.496 GB, free: 15.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004597/0.9065, allocations: 1.184 MB / 0.4972 GB, free: 15.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008147/0.9147, allocations: 2.099 MB / 0.4992 GB, free: 15.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003522/0.9182, allocations: 1.673 MB / 0.5009 GB, free: 15.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.9197, allocations: 0.6231 MB / 0.5015 GB, free: 15.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002155/0.9219, allocations: 0.8237 MB / 0.5023 GB, free: 15.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.9238, allocations: 0.7943 MB / 0.5031 GB, free: 15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002886/0.9241, allocations: 54.41 kB / 0.5031 GB, free: 15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005484/0.9296, allocations: 1.874 MB / 0.5049 GB, free: 14.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007066/0.9304, allocations: 322.4 kB / 0.5052 GB, free: 14.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004883/0.9309, allocations: 216.1 kB / 0.5054 GB, free: 14.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004531/0.9354, allocations: 1.833 MB / 0.5072 GB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.9355, allocations: 0 / 0.5072 GB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.9355, allocations: 4 kB / 0.5072 GB, free: 13.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.9355, allocations: 0 / 0.5072 GB, free: 13.61 MB / 410.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.004642/0.9402, allocations: 1.375 MB / 0.5086 GB, free: 12.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.9403, allocations: 10.33 kB / 0.5086 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002619/0.9405, allocations: 120.4 kB / 0.5087 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005544/0.9411, allocations: 122.2 kB / 0.5088 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.9428, allocations: 0.7002 MB / 0.5095 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.9429, allocations: 116.4 kB / 0.5096 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.9431, allocations: 65.94 kB / 0.5097 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/0.946, allocations: 1.204 MB / 0.5109 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.946, allocations: 3.953 kB / 0.5109 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.9462, allocations: 30.81 kB / 0.5109 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001564/0.9464, allocations: 74.98 kB / 0.511 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002963/0.9493, allocations: 1.195 MB / 0.5121 GB, free: 11.49 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.0131/0.9625, allocations: 5.032 MB / 0.517 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.9644, allocations: 0.6616 MB / 0.5177 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00498/0.9694, allocations: 2.491 MB / 0.5201 GB, free: 6.695 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.9695, allocations: 44.66 kB / 0.5202 GB, free: 6.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 2.564e-06/0.9695, allocations: 0 / 0.5202 GB, free: 6.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=56): time 0.01162/0.9811, allocations: 2.93 MB / 0.523 GB, free: 5.496 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.9813, allocations: 165.4 kB / 0.5232 GB, free: 5.309 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.9829, allocations: 0.8792 MB / 0.524 GB, free: 5.027 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.983, allocations: 45.11 kB / 0.5241 GB, free: 4.992 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/0.9834, allocations: 498.5 kB / 0.5246 GB, free: 4.664 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.9837, allocations: 203.5 kB / 0.5248 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.443e-05/0.9838, allocations: 21.62 kB / 0.5248 GB, free: 4.523 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.984, allocations: 348.6 kB / 0.5251 GB, free: 4.199 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.9851, allocations: 430.1 kB / 0.5255 GB, free: 4.133 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.9866, allocations: 0.7444 MB / 0.5262 GB, free: 3.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.9879, allocations: 0.5131 MB / 0.5267 GB, free: 3.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.9879, allocations: 2.812 kB / 0.5267 GB, free: 3.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003762/0.9917, allocations: 1.467 MB / 0.5282 GB, free: 3.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003217/0.992, allocations: 380 kB / 0.5285 GB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.9921, allocations: 8 kB / 0.5286 GB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002627/0.9947, allocations: 0.5185 MB / 0.5291 GB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.9962, allocations: 198.4 kB / 0.5292 GB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003907/1, allocations: 2.922 MB / 0.5321 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/1.002, allocations: 57.59 kB / 0.5322 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/1.002, allocations: 50.61 kB / 0.5322 GB, free: 15.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/1.002, allocations: 6.031 kB / 0.5322 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003807/1.006, allocations: 1.318 MB / 0.5335 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/1.006, allocations: 16.03 kB / 0.5335 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/1.007, allocations: 316.3 kB / 0.5338 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/1.009, allocations: 199 kB / 0.534 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/1.012, allocations: 2.7 MB / 0.5366 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.013, allocations: 45.98 kB / 0.5367 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/1.013, allocations: 49.3 kB / 0.5367 GB, free: 11.13 MB / 426.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.0008394/1.014, allocations: 396.2 kB / 0.5371 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003104/1.014, allocations: 90.88 kB / 0.5372 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003948/1.018, allocations: 1.36 MB / 0.5385 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/1.018, allocations: 4 kB / 0.5385 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.018, allocations: 0 / 0.5385 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/1.018, allocations: 3.984 kB / 0.5385 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00579/1.024, allocations: 2.322 MB / 0.5408 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.024, allocations: 0 / 0.5408 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009001/1.025, allocations: 89.62 kB / 0.5409 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002542/1.028, allocations: 0.5128 MB / 0.5414 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.981e-05/1.028, allocations: 19.11 kB / 0.5414 GB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003778/1.031, allocations: 2.909 MB / 0.5442 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.031, allocations: 6.5 kB / 0.5442 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004493/1.036, allocations: 1.737 MB / 0.5459 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007233/1.037, allocations: 294.4 kB / 0.5462 GB, free: 3.156 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/1.037, allocations: 19.88 kB / 0.5462 GB, free: 3.145 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/1.038, allocations: 49.25 kB / 0.5463 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/1.038, allocations: 57.12 kB / 0.5463 GB, free: 3.059 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/1.038, allocations: 25.42 kB / 0.5464 GB, free: 3.039 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001224/1.04, allocations: 0.5987 MB / 0.547 GB, free: 2.602 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.04, allocations: 0 / 0.547 GB, free: 2.602 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003004/1.043, allocations: 0.7773 MB / 0.5477 GB, free: 1.875 MB / 426.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.006858/1.05, allocations: 2.793 MB / 0.5504 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005786/1.055, allocations: 1.849 MB / 0.5522 GB, free: 14.28 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/1.055, allocations: 4 kB / 0.5523 GB, free: 14.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002174/1.058, allocations: 0.5692 MB / 0.5528 GB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/1.06, allocations: 336.5 kB / 0.5531 GB, free: 13.58 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008325/1.069, allocations: 3.397 MB / 0.5564 GB, free: 10.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009189/1.07, allocations: 1.081 MB / 0.5575 GB, free: 9.281 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008553/1.071, allocations: 357.8 kB / 0.5578 GB, free: 9.168 MB / 442.7 MB Notification: Performance of SimCode: time 1.914e-06/1.071, allocations: 0 / 0.5578 GB, free: 9.168 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.493/4.564, allocations: 34.13 MB / 0.5912 GB, free: 7.281 MB / 474.7 MB