Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.269/2.269, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007787/0.0007792, allocations: 12 kB / 314.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3026, allocations: 54.87 MB / 369.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.5577/0.8604, allocations: 129.1 MB / 498.3 MB, free: 15.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01395/0.8744, allocations: 9.143 MB / 0.4956 GB, free: 15.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.8758, allocations: 37.12 kB / 0.4956 GB, free: 15.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.8772, allocations: 357.7 kB / 0.4959 GB, free: 15.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004227/0.8814, allocations: 1.181 MB / 0.4971 GB, free: 15.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007084/0.8886, allocations: 2.1 MB / 0.4991 GB, free: 15.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002812/0.8914, allocations: 1.669 MB / 0.5008 GB, free: 15.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.8926, allocations: 0.6208 MB / 0.5014 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.8943, allocations: 0.828 MB / 0.5022 GB, free: 15.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.8957, allocations: 0.7901 MB / 0.503 GB, free: 15.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.8959, allocations: 52.34 kB / 0.503 GB, free: 15.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004512/0.9004, allocations: 1.871 MB / 0.5048 GB, free: 14.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006019/0.9011, allocations: 328 kB / 0.5051 GB, free: 14.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004274/0.9015, allocations: 215.8 kB / 0.5054 GB, free: 14.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003845/0.9054, allocations: 1.834 MB / 0.5071 GB, free: 13.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.9054, allocations: 0 / 0.5071 GB, free: 13.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.516e-06/0.9055, allocations: 0 / 0.5071 GB, free: 13.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.9055, allocations: 2.594 kB / 0.5071 GB, free: 13.67 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.003733/0.9092, allocations: 1.378 MB / 0.5085 GB, free: 12.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.9093, allocations: 14.94 kB / 0.5085 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005543/0.9098, allocations: 111 kB / 0.5086 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.9114, allocations: 0.7023 MB / 0.5093 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.9116, allocations: 118.7 kB / 0.5094 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.9117, allocations: 65.39 kB / 0.5095 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.9142, allocations: 1.2 MB / 0.5106 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.9143, allocations: 6.516 kB / 0.5107 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.9144, allocations: 32.72 kB / 0.5107 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/0.9146, allocations: 74.11 kB / 0.5108 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002603/0.9172, allocations: 1.197 MB / 0.5119 GB, free: 11.61 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.01093/0.9281, allocations: 5.028 MB / 0.5168 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.9298, allocations: 0.6584 MB / 0.5175 GB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004498/0.9343, allocations: 2.495 MB / 0.5199 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.9344, allocations: 41.47 kB / 0.52 GB, free: 6.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 3.471e-06/0.9344, allocations: 0 / 0.52 GB, free: 6.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=56): time 0.009391/0.9438, allocations: 2.93 MB / 0.5228 GB, free: 5.621 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.944, allocations: 167.4 kB / 0.523 GB, free: 5.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.9457, allocations: 0.8872 MB / 0.5238 GB, free: 5.145 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001906/0.9459, allocations: 34.86 kB / 0.5239 GB, free: 5.113 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/0.9465, allocations: 0.49 MB / 0.5244 GB, free: 4.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.9469, allocations: 205 kB / 0.5245 GB, free: 4.645 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-05/0.947, allocations: 20.31 kB / 0.5246 GB, free: 4.645 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.9472, allocations: 353.1 kB / 0.5249 GB, free: 4.316 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.9482, allocations: 429.3 kB / 0.5253 GB, free: 4.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.9495, allocations: 0.7485 MB / 0.526 GB, free: 3.777 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.9506, allocations: 0.5052 MB / 0.5265 GB, free: 3.707 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.636e-06/0.9506, allocations: 3.25 kB / 0.5265 GB, free: 3.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003376/0.954, allocations: 1.468 MB / 0.528 GB, free: 3.297 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003441/0.9544, allocations: 378.5 kB / 0.5283 GB, free: 2.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.9544, allocations: 8 kB / 0.5283 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002318/0.9568, allocations: 0.5128 MB / 0.5288 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.9579, allocations: 198.1 kB / 0.529 GB, free: 2.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003823/0.9617, allocations: 2.921 MB / 0.5319 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.963, allocations: 56.66 kB / 0.5319 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.9632, allocations: 48.36 kB / 0.532 GB, free: 15.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.9632, allocations: 6.625 kB / 0.532 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003297/0.9665, allocations: 1.326 MB / 0.5333 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.9666, allocations: 8 kB / 0.5333 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.9678, allocations: 319.1 kB / 0.5336 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.9689, allocations: 201 kB / 0.5338 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00301/0.9719, allocations: 2.699 MB / 0.5364 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008972/0.9729, allocations: 54.84 kB / 0.5365 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.973, allocations: 50.47 kB / 0.5365 GB, free: 11.21 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.0007478/0.9738, allocations: 383 kB / 0.5369 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.9741, allocations: 94.12 kB / 0.537 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/0.9775, allocations: 1.363 MB / 0.5383 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.9775, allocations: 8 kB / 0.5383 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.315e-06/0.9775, allocations: 2.531 kB / 0.5383 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.9776, allocations: 3.984 kB / 0.5383 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005022/0.9826, allocations: 2.323 MB / 0.5406 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.912e-06/0.9826, allocations: 0 / 0.5406 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/0.9833, allocations: 88.95 kB / 0.5407 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00216/0.9855, allocations: 0.504 MB / 0.5412 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.644e-05/0.9856, allocations: 21.67 kB / 0.5412 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003626/0.9893, allocations: 2.917 MB / 0.544 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.23e-06/0.9893, allocations: 4.031 kB / 0.544 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003866/0.9932, allocations: 1.745 MB / 0.5457 GB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007012/0.9939, allocations: 290.2 kB / 0.546 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.9941, allocations: 11.81 kB / 0.546 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007873/0.9949, allocations: 45.19 kB / 0.5461 GB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.9951, allocations: 57.27 kB / 0.5461 GB, free: 3.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.549e-05/0.9952, allocations: 33.34 kB / 0.5462 GB, free: 3.121 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001086/0.9963, allocations: 0.5906 MB / 0.5467 GB, free: 2.691 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.9963, allocations: 192 / 0.5467 GB, free: 2.691 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002756/0.9991, allocations: 0.7808 MB / 0.5475 GB, free: 1.965 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.001813/1.001, allocations: 0.6266 MB / 0.5481 GB, free: 1.391 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004711/1.006, allocations: 1.845 MB / 0.5499 GB, free: 64 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.96e-06/1.006, allocations: 0 / 0.5499 GB, free: 64 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001666/1.007, allocations: 0.5786 MB / 0.5505 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/1.009, allocations: 326.2 kB / 0.5508 GB, free: 15.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005014/1.014, allocations: 2.305 MB / 0.553 GB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009521/1.015, allocations: 1.079 MB / 0.5541 GB, free: 12.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/1.016, allocations: 94.45 kB / 0.5542 GB, free: 12.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.95e-06/1.016, allocations: 0 / 0.5542 GB, free: 12.1 MB / 442.7 MB Notification: Performance of Templates: time 0.0512/1.067, allocations: 30.18 MB / 0.5837 GB, free: 14.11 MB / 474.7 MB