Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.971/1.971, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004455, allocations: 16 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4843/0.4848, allocations: 48.7 MB / 331.8 MB, free: 6.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.178/1.663, allocations: 395.4 MB / 0.7101 GB, free: 91.21 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/1.663, allocations: 90.64 kB / 0.7102 GB, free: 91.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.006/2.669, allocations: 191.4 MB / 0.8972 GB, free: 88.03 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.154e-06/2.669, allocations: 0 / 0.8972 GB, free: 88.03 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.693e-05/2.67, allocations: 35.77 kB / 0.8972 GB, free: 88 MB / 442.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.004428/2.674, allocations: 1.448 MB / 0.8986 GB, free: 86.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/2.674, allocations: 8.031 kB / 0.8986 GB, free: 86.51 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005521/2.675, allocations: 126.7 kB / 0.8988 GB, free: 86.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/2.677, allocations: 0.8029 MB / 0.8995 GB, free: 85.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/2.677, allocations: 114.7 kB / 0.8997 GB, free: 85.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/2.677, allocations: 63.91 kB / 0.8997 GB, free: 85.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002688/2.68, allocations: 1.207 MB / 0.9009 GB, free: 84.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/2.68, allocations: 0 / 0.9009 GB, free: 84.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/2.68, allocations: 31.81 kB / 0.9009 GB, free: 84.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001373/2.68, allocations: 81.84 kB / 0.901 GB, free: 84.03 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002782/2.683, allocations: 1.187 MB / 0.9022 GB, free: 82.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/2.694, allocations: 4.776 MB / 0.9068 GB, free: 77.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/2.696, allocations: 0.6608 MB / 0.9075 GB, free: 77.19 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004194/2.7, allocations: 2.454 MB / 0.9099 GB, free: 74.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/2.7, allocations: 43 kB / 0.9099 GB, free: 74.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=51): time 3.246e-06/2.7, allocations: 3.984 kB / 0.9099 GB, free: 74.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=56): time 0.01043/2.711, allocations: 2.918 MB / 0.9128 GB, free: 71.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/2.711, allocations: 166.8 kB / 0.9129 GB, free: 71.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/2.712, allocations: 0.872 MB / 0.9138 GB, free: 70.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.63e-05/2.712, allocations: 37.7 kB / 0.9138 GB, free: 70.31 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/2.713, allocations: 0.4963 MB / 0.9143 GB, free: 69.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/2.713, allocations: 200.8 kB / 0.9145 GB, free: 69.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/2.713, allocations: 20 kB / 0.9145 GB, free: 69.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.485e-05/2.713, allocations: 354.7 kB / 0.9148 GB, free: 69.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/2.714, allocations: 425.7 kB / 0.9153 GB, free: 68.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/2.715, allocations: 0.7362 MB / 0.916 GB, free: 67.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/2.717, allocations: 0.5067 MB / 0.9165 GB, free: 67.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/2.717, allocations: 0 / 0.9165 GB, free: 67.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003533/2.72, allocations: 1.461 MB / 0.9179 GB, free: 65.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/2.72, allocations: 358.1 kB / 0.9182 GB, free: 65.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/2.72, allocations: 8 kB / 0.9182 GB, free: 65.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002466/2.723, allocations: 0.5098 MB / 0.9187 GB, free: 64.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/2.724, allocations: 199.6 kB / 0.9189 GB, free: 64.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002883/2.727, allocations: 2.919 MB / 0.9218 GB, free: 61.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/2.729, allocations: 59.81 kB / 0.9218 GB, free: 61.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/2.729, allocations: 48.17 kB / 0.9219 GB, free: 61.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/2.729, allocations: 8 kB / 0.9219 GB, free: 61.54 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003303/2.732, allocations: 1.3 MB / 0.9232 GB, free: 60.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/2.732, allocations: 8 kB / 0.9232 GB, free: 60.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/2.733, allocations: 310.5 kB / 0.9235 GB, free: 59.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/2.735, allocations: 195.7 kB / 0.9237 GB, free: 59.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/2.737, allocations: 2.689 MB / 0.9263 GB, free: 56.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/2.738, allocations: 51.97 kB / 0.9263 GB, free: 56.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/2.738, allocations: 47.98 kB / 0.9264 GB, free: 56.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (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.0007958/2.739, allocations: 388.9 kB / 0.9267 GB, free: 56.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/2.739, allocations: 90.88 kB / 0.9268 GB, free: 56.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003435/2.743, allocations: 1.358 MB / 0.9282 GB, free: 54.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/2.743, allocations: 8 kB / 0.9282 GB, free: 54.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/2.743, allocations: 0 / 0.9282 GB, free: 54.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/2.743, allocations: 3.984 kB / 0.9282 GB, free: 54.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004965/2.748, allocations: 2.306 MB / 0.9304 GB, free: 52.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/2.748, allocations: 4.078 kB / 0.9304 GB, free: 52.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008357/2.749, allocations: 95.88 kB / 0.9305 GB, free: 52.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002397/2.751, allocations: 0.5098 MB / 0.931 GB, free: 51.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.982e-05/2.751, allocations: 19.98 kB / 0.931 GB, free: 51.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002904/2.754, allocations: 2.915 MB / 0.9339 GB, free: 48.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/2.754, allocations: 4.031 kB / 0.9339 GB, free: 48.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004568/2.759, allocations: 1.738 MB / 0.9356 GB, free: 46.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009548/2.76, allocations: 291.7 kB / 0.9359 GB, free: 46.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003042/2.76, allocations: 12 kB / 0.9359 GB, free: 46.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/2.761, allocations: 40.03 kB / 0.9359 GB, free: 46.58 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/2.761, allocations: 56.47 kB / 0.936 GB, free: 46.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/2.762, allocations: 23.98 kB / 0.936 GB, free: 46.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001232/2.763, allocations: 0.5927 MB / 0.9366 GB, free: 45.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/2.763, allocations: 0 / 0.9366 GB, free: 45.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003884/2.767, allocations: 0.8702 MB / 0.9374 GB, free: 45.04 MB / 442.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.002766/2.77, allocations: 0.8116 MB / 0.9382 GB, free: 44.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00513/2.775, allocations: 1.833 MB / 0.94 GB, free: 42.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/2.775, allocations: 3.938 kB / 0.94 GB, free: 42.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/2.776, allocations: 0.5759 MB / 0.9406 GB, free: 41.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/2.779, allocations: 325.9 kB / 0.9409 GB, free: 41.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/2.785, allocations: 2.421 MB / 0.9432 GB, free: 39.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/2.785, allocations: 1.074 MB / 0.9443 GB, free: 37.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/2.786, allocations: 103.3 kB / 0.9444 GB, free: 37.85 MB / 442.7 MB Notification: Performance of SimCode: time 8.62e-07/2.786, allocations: 0 / 0.9444 GB, free: 37.85 MB / 442.7 MB Notification: Performance of Templates: time 0.05095/2.837, allocations: 30.68 MB / 0.9743 GB, free: 7.18 MB / 442.7 MB