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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 2.058/2.058, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.937e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2664, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9054/1.172, allocations: 394.6 MB / 0.6979 GB, free: 56.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/1.172, allocations: 88.06 kB / 0.698 GB, free: 56.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8279/2, allocations: 189.5 MB / 0.883 GB, free: 43.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.116e-06/2, allocations: 3.938 kB / 0.883 GB, free: 43.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.01e-05/2, allocations: 27.98 kB / 0.883 GB, free: 43.53 MB / 426.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.003549/2.004, allocations: 1.336 MB / 0.8843 GB, free: 42.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/2.004, allocations: 12.03 kB / 0.8844 GB, free: 42.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006684/2.005, allocations: 114.8 kB / 0.8845 GB, free: 42.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/2.007, allocations: 0.7998 MB / 0.8852 GB, free: 41.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/2.007, allocations: 92.66 kB / 0.8853 GB, free: 41.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/2.007, allocations: 36 kB / 0.8854 GB, free: 41.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002187/2.009, allocations: 1.069 MB / 0.8864 GB, free: 39.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/2.011, allocations: 1.095 MB / 0.8875 GB, free: 38.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/2.011, allocations: 3.938 kB / 0.8875 GB, free: 38.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/2.011, allocations: 4 kB / 0.8875 GB, free: 38.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/2.012, allocations: 69.95 kB / 0.8876 GB, free: 38.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009662/2.021, allocations: 4.607 MB / 0.8921 GB, free: 33.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/2.023, allocations: 0.6392 MB / 0.8927 GB, free: 33.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006622/2.023, allocations: 391.1 kB / 0.893 GB, free: 32.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003832/2.027, allocations: 2.55 MB / 0.8955 GB, free: 30.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/2.027, allocations: 43 kB / 0.8956 GB, free: 30.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 3.092e-06/2.027, allocations: 0 / 0.8956 GB, free: 30.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.01166/2.039, allocations: 3.008 MB / 0.8985 GB, free: 26.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/2.039, allocations: 166.7 kB / 0.8987 GB, free: 26.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009602/2.04, allocations: 0.6131 MB / 0.8993 GB, free: 26.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/2.04, allocations: 25.7 kB / 0.8993 GB, free: 26.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/2.04, allocations: 0.5123 MB / 0.8998 GB, free: 25.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/2.041, allocations: 189.2 kB / 0.9 GB, free: 25.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/2.041, allocations: 0 / 0.9 GB, free: 25.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.335e-05/2.041, allocations: 350.8 kB / 0.9003 GB, free: 25.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007666/2.042, allocations: 406.5 kB / 0.9007 GB, free: 24.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009028/2.042, allocations: 0.7067 MB / 0.9014 GB, free: 23.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00944/2.052, allocations: 1.604 MB / 0.903 GB, free: 22.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/2.052, allocations: 4 kB / 0.903 GB, free: 22.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0123/2.064, allocations: 2.478 MB / 0.9054 GB, free: 19.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007086/2.065, allocations: 3.668 MB / 0.909 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/2.065, allocations: 12 kB / 0.909 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/2.066, allocations: 422.3 kB / 0.9094 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009891/2.067, allocations: 195.7 kB / 0.9096 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/2.071, allocations: 3.129 MB / 0.9126 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/2.073, allocations: 40.05 kB / 0.9127 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/2.073, allocations: 51.98 kB / 0.9127 GB, free: 11.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/2.073, allocations: 0 / 0.9127 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009901/2.083, allocations: 2.106 MB / 0.9148 GB, free: 9.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/2.083, allocations: 8 kB / 0.9148 GB, free: 9.555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000969/2.084, allocations: 290.6 kB / 0.9151 GB, free: 9.262 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/2.085, allocations: 195.7 kB / 0.9152 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/2.087, allocations: 2.657 MB / 0.9178 GB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009546/2.088, allocations: 44.03 kB / 0.9179 GB, free: 6.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/2.088, allocations: 51.92 kB / 0.9179 GB, free: 6.152 MB / 426.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.000327/2.089, allocations: 140.6 kB / 0.9181 GB, free: 6.008 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/2.089, allocations: 83.02 kB / 0.9181 GB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004629/2.094, allocations: 1.447 MB / 0.9196 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/2.094, allocations: 8 kB / 0.9196 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.483e-06/2.094, allocations: 0 / 0.9196 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/2.094, allocations: 7.984 kB / 0.9196 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006424/2.1, allocations: 2.346 MB / 0.9219 GB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.091e-06/2.1, allocations: 3.938 kB / 0.9219 GB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006093/2.101, allocations: 91.94 kB / 0.9219 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/2.102, allocations: 414.2 kB / 0.9223 GB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/2.102, allocations: 11.98 kB / 0.9224 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2473/2.35, allocations: 3.066 MB / 0.9254 GB, free: 78.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/2.35, allocations: 3.984 kB / 0.9254 GB, free: 78.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005793/2.355, allocations: 1.885 MB / 0.9272 GB, free: 77.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007291/2.356, allocations: 269.1 kB / 0.9275 GB, free: 77.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/2.356, allocations: 5.031 kB / 0.9275 GB, free: 77.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009005/2.357, allocations: 37.03 kB / 0.9275 GB, free: 77.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/2.358, allocations: 57.89 kB / 0.9275 GB, free: 77.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/2.358, allocations: 29.88 kB / 0.9276 GB, free: 77.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007804/2.358, allocations: 467.7 kB / 0.928 GB, free: 77.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.92e-07/2.358, allocations: 0 / 0.928 GB, free: 77.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003395/2.362, allocations: 0.8098 MB / 0.9288 GB, free: 77.62 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 () * 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.002381/2.364, allocations: 0.8179 MB / 0.9296 GB, free: 77.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003983/2.368, allocations: 1.707 MB / 0.9313 GB, free: 77.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.116e-06/2.368, allocations: 0 / 0.9313 GB, free: 77.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/2.37, allocations: 0.5334 MB / 0.9318 GB, free: 77.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/2.372, allocations: 308.7 kB / 0.9321 GB, free: 77.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/2.376, allocations: 1.552 MB / 0.9336 GB, free: 76.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/2.377, allocations: 1.078 MB / 0.9347 GB, free: 76.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/2.377, allocations: 94.16 kB / 0.9348 GB, free: 76.15 MB / 426.7 MB Notification: Performance of SimCode: time 2.12e-06/2.377, allocations: 0 / 0.9348 GB, free: 76.15 MB / 426.7 MB Notification: Performance of Templates: time 0.04305/2.42, allocations: 30.18 MB / 0.9642 GB, free: 75.23 MB / 426.7 MB