Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadModel(ModelicaTest): time 1.926/1.926, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004308, allocations: 16 kB / 282.5 MB, free: 9.625 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2812, allocations: 48.7 MB / 331.2 MB, free: 6.457 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.1947/0.4759, allocations: 129.1 MB / 460.3 MB, free: 13.1 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01749/0.4935, allocations: 9.127 MB / 469.4 MB, free: 3.957 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.4947, allocations: 39.62 kB / 469.5 MB, free: 3.918 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.496, allocations: 358.2 kB / 469.8 MB, free: 3.566 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.5002, allocations: 1.184 MB / 471 MB, free: 2.379 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007414/0.5076, allocations: 2.108 MB / 473.1 MB, free: 272 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.2711/0.7787, allocations: 1.662 MB / 474.8 MB, free: 3.043 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.78, allocations: 0.6232 MB / 475.4 MB, free: 2.988 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.7819, allocations: 0.8266 MB / 476.2 MB, free: 2.984 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.7835, allocations: 0.799 MB / 477 MB, free: 2.98 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002179/0.7837, allocations: 53.09 kB / 477.1 MB, free: 2.98 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004485/0.7882, allocations: 1.876 MB / 479 MB, free: 2.977 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006297/0.7889, allocations: 317.8 kB / 479.3 MB, free: 2.977 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005007/0.7894, allocations: 217 kB / 479.5 MB, free: 2.945 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004025/0.7934, allocations: 1.832 MB / 481.3 MB, free: 2.805 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.361e-06/0.7935, allocations: 0.875 kB / 481.3 MB, free: 2.805 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.168e-06/0.7935, allocations: 0 / 481.3 MB, free: 2.805 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.7935, allocations: 0 / 481.3 MB, free: 2.805 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.003826/0.7973, allocations: 1.372 MB / 482.7 MB, free: 18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.7974, allocations: 13.88 kB / 482.7 MB, free: 17.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006061/0.798, allocations: 119.8 kB / 482.8 MB, free: 17.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.7996, allocations: 0.705 MB / 483.5 MB, free: 17.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.7997, allocations: 117.8 kB / 483.6 MB, free: 17.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.7999, allocations: 69.78 kB / 483.7 MB, free: 17.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/0.8025, allocations: 1.194 MB / 484.9 MB, free: 17.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.8025, allocations: 0.9688 kB / 484.9 MB, free: 17.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.8027, allocations: 31.5 kB / 484.9 MB, free: 17.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001435/0.8029, allocations: 79.22 kB / 485 MB, free: 17.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.8053, allocations: 1.196 MB / 486.2 MB, free: 17.46 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.01033/0.8157, allocations: 5.031 MB / 491.2 MB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.8172, allocations: 0.6627 MB / 491.9 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004299/0.8215, allocations: 2.494 MB / 494.4 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.8216, allocations: 40.69 kB / 494.4 MB, free: 13.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 4.199e-06/0.8216, allocations: 0 / 494.4 MB, free: 13.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=56): time 0.008916/0.8305, allocations: 2.931 MB / 497.4 MB, free: 13.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.8307, allocations: 165.4 kB / 497.5 MB, free: 12.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.832, allocations: 0.8776 MB / 498.4 MB, free: 12.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.8322, allocations: 34.8 kB / 498.4 MB, free: 12.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.8325, allocations: 0.4921 MB / 498.9 MB, free: 12.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.8327, allocations: 204.8 kB / 499.1 MB, free: 12.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.499e-05/0.8328, allocations: 19.84 kB / 499.1 MB, free: 12.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.833, allocations: 353.9 kB / 499.5 MB, free: 12.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009065/0.8339, allocations: 431.1 kB / 499.9 MB, free: 12.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.835, allocations: 0.7473 MB / 0.4889 GB, free: 11.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.8361, allocations: 0.5089 MB / 0.4894 GB, free: 11.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.838e-06/0.8361, allocations: 2.875 kB / 0.4894 GB, free: 11.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003108/0.8392, allocations: 1.475 MB / 0.4909 GB, free: 11.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000287/0.8395, allocations: 367.9 kB / 0.4912 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.8396, allocations: 13.12 kB / 0.4912 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002096/0.8417, allocations: 0.5177 MB / 0.4917 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000985/0.8427, allocations: 195.9 kB / 0.4919 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003549/0.8463, allocations: 2.921 MB / 0.4948 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.8476, allocations: 62.06 kB / 0.4948 GB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.8477, allocations: 48.66 kB / 0.4949 GB, free: 8.656 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/0.8478, allocations: 5.031 kB / 0.4949 GB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003018/0.8508, allocations: 1.325 MB / 0.4962 GB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.8508, allocations: 8.062 kB / 0.4962 GB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.852, allocations: 321.3 kB / 0.4965 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009705/0.853, allocations: 206.1 kB / 0.4967 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/0.8559, allocations: 2.694 MB / 0.4993 GB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009934/0.8569, allocations: 54.59 kB / 0.4994 GB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.8571, allocations: 55.45 kB / 0.4994 GB, free: 6.082 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.0008322/0.8579, allocations: 382.1 kB / 0.4998 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.8582, allocations: 86.38 kB / 0.4999 GB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003234/0.8614, allocations: 1.365 MB / 0.5012 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.8615, allocations: 5.719 kB / 0.5012 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.692e-06/0.8615, allocations: 0 / 0.5012 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/0.8615, allocations: 6.578 kB / 0.5012 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004869/0.8664, allocations: 2.307 MB / 0.5035 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.568e-06/0.8665, allocations: 0 / 0.5035 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006007/0.8671, allocations: 90.19 kB / 0.5035 GB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002099/0.8692, allocations: 0.5144 MB / 0.504 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-05/0.8693, allocations: 13.91 kB / 0.5041 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003468/0.8728, allocations: 2.915 MB / 0.5069 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.8728, allocations: 2.875 kB / 0.5069 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003651/0.8765, allocations: 1.738 MB / 0.5086 GB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007832/0.8773, allocations: 294.9 kB / 0.5089 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.8775, allocations: 16.34 kB / 0.5089 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000786/0.8783, allocations: 40.72 kB / 0.5089 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.8785, allocations: 62.42 kB / 0.509 GB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-05/0.8786, allocations: 29.45 kB / 0.509 GB, free: 1.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001013/0.8797, allocations: 0.5903 MB / 0.5096 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.8797, allocations: 0 / 0.5096 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002769/0.8824, allocations: 0.7811 MB / 0.5104 GB, free: 0.7773 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.001828/0.8843, allocations: 0.6197 MB / 0.511 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004493/0.8888, allocations: 1.847 MB / 0.5128 GB, free: 32 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.009e-06/0.8889, allocations: 0 / 0.5128 GB, free: 32 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.8906, allocations: 0.5782 MB / 0.5133 GB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.8927, allocations: 333.8 kB / 0.5137 GB, free: 15.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004955/0.8977, allocations: 2.317 MB / 0.5159 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009108/0.8986, allocations: 1.078 MB / 0.517 GB, free: 13.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/0.8991, allocations: 95.14 kB / 0.5171 GB, free: 13.56 MB / 426.7 MB Notification: Performance of SimCode: time 1.758e-06/0.8991, allocations: 0 / 0.5171 GB, free: 13.56 MB / 426.7 MB Notification: Performance of Templates: time 0.05231/0.9514, allocations: 30.17 MB / 0.5465 GB, free: 15.64 MB / 458.7 MB