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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.21/2.21, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.526e-05/1.531e-05, allocations: 0 / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3145, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9993/1.314, allocations: 401 MB / 0.7413 GB, free: 64.24 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/1.314, allocations: 84.14 kB / 0.7414 GB, free: 64.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9479/2.262, allocations: 189.4 MB / 0.9264 GB, free: 69.08 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.964e-06/2.262, allocations: 3.938 kB / 0.9264 GB, free: 69.08 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.2e-05/2.262, allocations: 24 kB / 0.9264 GB, free: 69.05 MB / 474.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.003692/2.266, allocations: 1.344 MB / 0.9277 GB, free: 67.68 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/2.266, allocations: 12.02 kB / 0.9277 GB, free: 67.66 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007915/2.267, allocations: 122.7 kB / 0.9278 GB, free: 67.54 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/2.269, allocations: 0.7955 MB / 0.9286 GB, free: 66.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/2.269, allocations: 88.72 kB / 0.9287 GB, free: 66.62 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/2.269, allocations: 43.98 kB / 0.9287 GB, free: 66.57 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002066/2.271, allocations: 1.057 MB / 0.9298 GB, free: 65.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/2.274, allocations: 1.107 MB / 0.9309 GB, free: 64.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/2.274, allocations: 4 kB / 0.9309 GB, free: 64.36 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/2.274, allocations: 0 / 0.9309 GB, free: 64.36 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/2.274, allocations: 77.94 kB / 0.9309 GB, free: 64.29 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009191/2.283, allocations: 4.604 MB / 0.9354 GB, free: 59.49 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/2.284, allocations: 0.6419 MB / 0.9361 GB, free: 58.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006515/2.285, allocations: 392.6 kB / 0.9364 GB, free: 58.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003789/2.289, allocations: 2.549 MB / 0.9389 GB, free: 55.68 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/2.289, allocations: 35 kB / 0.939 GB, free: 55.63 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 3.537e-06/2.289, allocations: 3.938 kB / 0.939 GB, free: 55.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=55): time 0.01167/2.301, allocations: 2.997 MB / 0.9419 GB, free: 52.55 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/2.301, allocations: 166.8 kB / 0.942 GB, free: 52.35 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/2.302, allocations: 0.6241 MB / 0.9427 GB, free: 51.72 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001772/2.302, allocations: 29.7 kB / 0.9427 GB, free: 51.69 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/2.302, allocations: 0.5045 MB / 0.9432 GB, free: 51.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/2.303, allocations: 193.2 kB / 0.9434 GB, free: 50.99 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/2.303, allocations: 0 / 0.9434 GB, free: 50.99 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.59e-05/2.303, allocations: 346.8 kB / 0.9437 GB, free: 50.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007831/2.303, allocations: 410.5 kB / 0.9441 GB, free: 50.24 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009077/2.304, allocations: 0.7066 MB / 0.9448 GB, free: 49.39 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009166/2.314, allocations: 1.608 MB / 0.9463 GB, free: 47.78 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/2.314, allocations: 4 kB / 0.9463 GB, free: 47.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0107/2.324, allocations: 2.482 MB / 0.9488 GB, free: 45.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007019/2.325, allocations: 3.657 MB / 0.9523 GB, free: 41.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/2.325, allocations: 12 kB / 0.9523 GB, free: 41.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/2.326, allocations: 441.1 kB / 0.9528 GB, free: 40.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/2.328, allocations: 195.7 kB / 0.953 GB, free: 40.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003946/2.332, allocations: 3.113 MB / 0.956 GB, free: 37.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/2.333, allocations: 44.11 kB / 0.956 GB, free: 37.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/2.333, allocations: 47.94 kB / 0.9561 GB, free: 37.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/2.333, allocations: 4 kB / 0.9561 GB, free: 37.31 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01021/2.343, allocations: 2.098 MB / 0.9581 GB, free: 35.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/2.343, allocations: 12 kB / 0.9581 GB, free: 35.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009243/2.344, allocations: 294.6 kB / 0.9584 GB, free: 34.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/2.345, allocations: 203.6 kB / 0.9586 GB, free: 34.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/2.347, allocations: 2.654 MB / 0.9612 GB, free: 31.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009496/2.348, allocations: 35.95 kB / 0.9613 GB, free: 31.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/2.349, allocations: 47.98 kB / 0.9613 GB, free: 31.77 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 () * 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.0003226/2.349, allocations: 148.6 kB / 0.9614 GB, free: 31.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/2.349, allocations: 82.97 kB / 0.9615 GB, free: 31.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004439/2.354, allocations: 1.447 MB / 0.9629 GB, free: 30.05 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/2.354, allocations: 8 kB / 0.9629 GB, free: 30.04 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.799e-06/2.354, allocations: 4 kB / 0.9629 GB, free: 30.04 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/2.354, allocations: 7.938 kB / 0.9629 GB, free: 30.03 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005826/2.36, allocations: 2.353 MB / 0.9652 GB, free: 27.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.695e-06/2.36, allocations: 4 kB / 0.9653 GB, free: 27.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/2.36, allocations: 91.88 kB / 0.9653 GB, free: 27.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/2.362, allocations: 422.2 kB / 0.9657 GB, free: 27.09 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/2.362, allocations: 7.938 kB / 0.9657 GB, free: 27.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00366/2.365, allocations: 3.071 MB / 0.9687 GB, free: 23.84 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.553e-06/2.365, allocations: 0 / 0.9687 GB, free: 23.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00472/2.37, allocations: 1.882 MB / 0.9706 GB, free: 21.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006883/2.371, allocations: 267.9 kB / 0.9708 GB, free: 21.62 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/2.371, allocations: 12 kB / 0.9709 GB, free: 21.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007999/2.372, allocations: 31.97 kB / 0.9709 GB, free: 21.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/2.372, allocations: 52.47 kB / 0.9709 GB, free: 21.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/2.372, allocations: 23.98 kB / 0.971 GB, free: 21.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007114/2.373, allocations: 467.1 kB / 0.9714 GB, free: 21.05 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.16e-07/2.373, allocations: 0 / 0.9714 GB, free: 21.05 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003164/2.376, allocations: 0.8117 MB / 0.9722 GB, free: 20.24 MB / 474.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 () * 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.002224/2.378, allocations: 0.8244 MB / 0.973 GB, free: 19.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00373/2.382, allocations: 1.711 MB / 0.9747 GB, free: 17.68 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.92e-06/2.382, allocations: 0 / 0.9747 GB, free: 17.68 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/2.383, allocations: 0.5309 MB / 0.9752 GB, free: 17.14 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/2.385, allocations: 318.2 kB / 0.9755 GB, free: 16.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/2.389, allocations: 1.549 MB / 0.977 GB, free: 15.24 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006139/2.39, allocations: 1.073 MB / 0.9781 GB, free: 14.13 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/2.39, allocations: 99.33 kB / 0.9781 GB, free: 14.03 MB / 474.7 MB Notification: Performance of SimCode: time 1.795e-06/2.39, allocations: 0 / 0.9781 GB, free: 14.03 MB / 474.7 MB Notification: Performance of Templates: time 0.3146/2.705, allocations: 30.17 MB / 1.008 GB, free: 93.96 MB / 474.7 MB