Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002758/0.002764, allocations: 347.5 kB / 15.93 MB, free: 6.223 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.403/3.403, allocations: 341.5 MB / 358.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003736/0.003736, allocations: 218.1 kB / 397.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4924/0.4924, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006287/0.000629, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08995/0.09061, allocations: 48.69 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.356/1.447, allocations: 395.4 MB / 0.9929 GB, free: 106.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/1.447, allocations: 97.81 kB / 0.9929 GB, free: 106.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.027/2.474, allocations: 190 MB / 1.178 GB, free: 96.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.146e-06/2.474, allocations: 4 kB / 1.178 GB, free: 96.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000145/2.474, allocations: 23.38 kB / 1.178 GB, free: 96.16 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.006169/2.48, allocations: 1.455 MB / 1.18 GB, free: 95.06 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/2.48, allocations: 10.53 kB / 1.18 GB, free: 95.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/2.481, allocations: 130.6 kB / 1.18 GB, free: 95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/2.484, allocations: 0.7941 MB / 1.181 GB, free: 94.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/2.484, allocations: 114.5 kB / 1.181 GB, free: 94.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003624/2.485, allocations: 64.88 kB / 1.181 GB, free: 94.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003521/2.488, allocations: 1.214 MB / 1.182 GB, free: 93.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.828e-05/2.488, allocations: 3.969 kB / 1.182 GB, free: 93.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/2.489, allocations: 33.12 kB / 1.182 GB, free: 93.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/2.489, allocations: 76.09 kB / 1.182 GB, free: 93.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/2.492, allocations: 1.18 MB / 1.183 GB, free: 92.92 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/2.506, allocations: 4.724 MB / 1.188 GB, free: 89.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/2.508, allocations: 0.6504 MB / 1.189 GB, free: 88.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/2.509, allocations: 406.5 kB / 1.189 GB, free: 88.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004933/2.514, allocations: 2.512 MB / 1.192 GB, free: 86.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/2.514, allocations: 38.97 kB / 1.192 GB, free: 86.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=50): time 3.747e-06/2.514, allocations: 0 / 1.192 GB, free: 86.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=55): time 0.01171/2.526, allocations: 2.91 MB / 1.194 GB, free: 84.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/2.526, allocations: 165.9 kB / 1.195 GB, free: 84.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/2.528, allocations: 0.8749 MB / 1.195 GB, free: 83.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002471/2.528, allocations: 36.7 kB / 1.195 GB, free: 83.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/2.528, allocations: 486.4 kB / 1.196 GB, free: 83.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000288/2.529, allocations: 200.4 kB / 1.196 GB, free: 83.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/2.529, allocations: 19.97 kB / 1.196 GB, free: 83.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/2.529, allocations: 396.7 kB / 1.197 GB, free: 82.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/2.53, allocations: 427.2 kB / 1.197 GB, free: 82.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/2.532, allocations: 0.7409 MB / 1.198 GB, free: 81.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/2.533, allocations: 0.5067 MB / 1.198 GB, free: 81.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/2.533, allocations: 4 kB / 1.198 GB, free: 81.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004352/2.538, allocations: 1.503 MB / 1.2 GB, free: 79.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002244/2.538, allocations: 370.1 kB / 1.2 GB, free: 79.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/2.538, allocations: 12 kB / 1.2 GB, free: 79.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002632/2.541, allocations: 0.5012 MB / 1.2 GB, free: 78.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/2.542, allocations: 199.6 kB / 1.201 GB, free: 78.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003331/2.545, allocations: 2.908 MB / 1.203 GB, free: 75.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/2.547, allocations: 58.88 kB / 1.204 GB, free: 75.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/2.548, allocations: 55.97 kB / 1.204 GB, free: 75.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/2.548, allocations: 4 kB / 1.204 GB, free: 75.32 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003908/2.552, allocations: 1.3 MB / 1.205 GB, free: 73.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.305e-05/2.552, allocations: 8 kB / 1.205 GB, free: 73.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/2.553, allocations: 321.3 kB / 1.205 GB, free: 73.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/2.555, allocations: 199.7 kB / 1.205 GB, free: 73.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/2.557, allocations: 2.688 MB / 1.208 GB, free: 70.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/2.559, allocations: 63.97 kB / 1.208 GB, free: 70.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/2.559, allocations: 47.98 kB / 1.208 GB, free: 70.5 MB / 442.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 () * 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.0008145/2.56, allocations: 369.9 kB / 1.208 GB, free: 70.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/2.56, allocations: 98.77 kB / 1.209 GB, free: 70.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003609/2.564, allocations: 1.321 MB / 1.21 GB, free: 68.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/2.564, allocations: 7.984 kB / 1.21 GB, free: 68.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/2.564, allocations: 4 kB / 1.21 GB, free: 68.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/2.564, allocations: 0 / 1.21 GB, free: 68.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005615/2.569, allocations: 2.285 MB / 1.212 GB, free: 66.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.659e-06/2.569, allocations: 0 / 1.212 GB, free: 66.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008789/2.57, allocations: 91.88 kB / 1.212 GB, free: 66.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002489/2.573, allocations: 0.505 MB / 1.213 GB, free: 65.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/2.573, allocations: 20 kB / 1.213 GB, free: 65.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002959/2.576, allocations: 2.903 MB / 1.216 GB, free: 62.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/2.576, allocations: 11.95 kB / 1.216 GB, free: 62.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004157/2.58, allocations: 1.73 MB / 1.217 GB, free: 60.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008054/2.581, allocations: 271.8 kB / 1.217 GB, free: 60.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002717/2.581, allocations: 20.02 kB / 1.217 GB, free: 60.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/2.583, allocations: 39.91 kB / 1.218 GB, free: 60.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/2.583, allocations: 56.47 kB / 1.218 GB, free: 60.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/2.583, allocations: 31.98 kB / 1.218 GB, free: 60.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001132/2.584, allocations: 0.5927 MB / 1.218 GB, free: 59.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/2.584, allocations: 3.938 kB / 1.218 GB, free: 59.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003795/2.588, allocations: 0.8547 MB / 1.219 GB, free: 58.95 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.00295/2.591, allocations: 0.8176 MB / 1.22 GB, free: 58.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00582/2.597, allocations: 1.856 MB / 1.222 GB, free: 56.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/2.597, allocations: 0 / 1.222 GB, free: 56.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002049/2.599, allocations: 0.5719 MB / 1.222 GB, free: 55.72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003354/2.602, allocations: 354.9 kB / 1.223 GB, free: 55.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006389/2.609, allocations: 2.348 MB / 1.225 GB, free: 53.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006735/2.609, allocations: 1.078 MB / 1.226 GB, free: 51.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002355/2.612, allocations: 405.6 kB / 1.226 GB, free: 51.53 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004635/2.612, allocations: 91.39 kB / 1.226 GB, free: 51.44 MB / 442.7 MB Notification: Performance of SimCode: time 1.583e-06/2.612, allocations: 3.938 kB / 1.226 GB, free: 51.43 MB / 442.7 MB Notification: Performance of Templates: time 0.06063/2.673, allocations: 26.27 MB / 1.252 GB, free: 25.32 MB / 442.7 MB