Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003752/0.003752, allocations: 363.4 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.804/3.804, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003559/0.003558, allocations: 225.2 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5087/0.5087, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004735, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1012, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.283/1.384, allocations: 401.8 MB / 1.072 GB, free: 20.92 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004181/1.385, allocations: 90.33 kB / 1.073 GB, free: 20.87 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.067/2.452, allocations: 190 MB / 1.258 GB, free: 36.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.846e-06/2.452, allocations: 0 / 1.258 GB, free: 36.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.522e-05/2.452, allocations: 24 kB / 1.258 GB, free: 36.87 MB / 490.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.005127/2.457, allocations: 1.456 MB / 1.26 GB, free: 35.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/2.457, allocations: 8.031 kB / 1.26 GB, free: 35.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007964/2.458, allocations: 118.8 kB / 1.26 GB, free: 35.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/2.461, allocations: 0.8041 MB / 1.26 GB, free: 34.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/2.461, allocations: 116.7 kB / 1.261 GB, free: 34.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/2.461, allocations: 63.97 kB / 1.261 GB, free: 34.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/2.464, allocations: 1.218 MB / 1.262 GB, free: 32.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/2.464, allocations: 3.938 kB / 1.262 GB, free: 32.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/2.464, allocations: 27.98 kB / 1.262 GB, free: 32.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/2.464, allocations: 73.95 kB / 1.262 GB, free: 32.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002965/2.467, allocations: 1.187 MB / 1.263 GB, free: 31.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01288/2.48, allocations: 4.707 MB / 1.268 GB, free: 26.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/2.482, allocations: 0.6494 MB / 1.268 GB, free: 26.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/2.483, allocations: 418.3 kB / 1.269 GB, free: 25.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00483/2.488, allocations: 2.514 MB / 1.271 GB, free: 22.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/2.488, allocations: 43 kB / 1.271 GB, free: 22.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 4.027e-06/2.488, allocations: 0 / 1.271 GB, free: 22.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.01155/2.5, allocations: 2.901 MB / 1.274 GB, free: 19.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/2.5, allocations: 162.8 kB / 1.274 GB, free: 19.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/2.502, allocations: 0.8721 MB / 1.275 GB, free: 18.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002281/2.502, allocations: 41.69 kB / 1.275 GB, free: 18.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/2.502, allocations: 494.5 kB / 1.276 GB, free: 18.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/2.503, allocations: 193.3 kB / 1.276 GB, free: 17.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/2.503, allocations: 20 kB / 1.276 GB, free: 17.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/2.503, allocations: 394.7 kB / 1.276 GB, free: 17.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/2.504, allocations: 429.7 kB / 1.277 GB, free: 17.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/2.505, allocations: 0.7294 MB / 1.277 GB, free: 16.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/2.507, allocations: 0.5061 MB / 1.278 GB, free: 15.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/2.507, allocations: 8 kB / 1.278 GB, free: 15.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004141/2.511, allocations: 1.504 MB / 1.279 GB, free: 14.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002119/2.511, allocations: 366.8 kB / 1.28 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/2.511, allocations: 12 kB / 1.28 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002599/2.514, allocations: 0.5099 MB / 1.28 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/2.516, allocations: 195.6 kB / 1.28 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/2.519, allocations: 2.919 MB / 1.283 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/2.521, allocations: 55.91 kB / 1.283 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/2.521, allocations: 56.08 kB / 1.283 GB, free: 9.805 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/2.521, allocations: 4 kB / 1.283 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003529/2.524, allocations: 1.3 MB / 1.284 GB, free: 8.473 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/2.524, allocations: 8 kB / 1.284 GB, free: 8.465 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/2.526, allocations: 314.6 kB / 1.285 GB, free: 8.148 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/2.527, allocations: 199.7 kB / 1.285 GB, free: 7.953 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/2.53, allocations: 2.694 MB / 1.288 GB, free: 5.078 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/2.531, allocations: 56.06 kB / 1.288 GB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/2.532, allocations: 47.98 kB / 1.288 GB, free: 4.977 MB / 490.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.0007643/2.532, allocations: 372.7 kB / 1.288 GB, free: 4.602 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/2.533, allocations: 94.81 kB / 1.288 GB, free: 4.508 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003492/2.536, allocations: 1.318 MB / 1.289 GB, free: 3.152 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/2.536, allocations: 11.98 kB / 1.289 GB, free: 3.141 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/2.536, allocations: 4 kB / 1.289 GB, free: 3.137 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/2.536, allocations: 3.938 kB / 1.289 GB, free: 3.133 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005464/2.542, allocations: 2.264 MB / 1.292 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/2.542, allocations: 0 / 1.292 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008745/2.543, allocations: 91.88 kB / 1.292 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002429/2.545, allocations: 0.5098 MB / 1.292 GB, free: 172 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001757/2.545, allocations: 16 kB / 1.292 GB, free: 156 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3741/2.92, allocations: 2.899 MB / 1.295 GB, free: 96.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/2.92, allocations: 4.938 kB / 1.295 GB, free: 96.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004763/2.924, allocations: 1.729 MB / 1.297 GB, free: 96.33 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008105/2.925, allocations: 277.8 kB / 1.297 GB, free: 96.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/2.925, allocations: 18.47 kB / 1.297 GB, free: 96.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/2.927, allocations: 38.16 kB / 1.297 GB, free: 96.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/2.927, allocations: 57.77 kB / 1.297 GB, free: 96.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/2.927, allocations: 26.91 kB / 1.297 GB, free: 96.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001308/2.928, allocations: 0.5918 MB / 1.298 GB, free: 96.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.11e-07/2.928, allocations: 0.7812 kB / 1.298 GB, free: 96.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004008/2.932, allocations: 0.8625 MB / 1.299 GB, free: 96.15 MB / 490.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.002994/2.935, allocations: 0.822 MB / 1.299 GB, free: 96.06 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006016/2.941, allocations: 1.858 MB / 1.301 GB, free: 95.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/2.941, allocations: 1.562 kB / 1.301 GB, free: 95.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001927/2.943, allocations: 0.5687 MB / 1.302 GB, free: 95.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003186/2.947, allocations: 354.4 kB / 1.302 GB, free: 95.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006356/2.953, allocations: 2.357 MB / 1.304 GB, free: 94.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/2.954, allocations: 1.078 MB / 1.305 GB, free: 94.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002297/2.956, allocations: 412.6 kB / 1.306 GB, free: 94.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/2.956, allocations: 90.11 kB / 1.306 GB, free: 94.14 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/2.956, allocations: 0 / 1.306 GB, free: 94.14 MB / 490.7 MB Notification: Performance of Templates: time 0.06407/3.021, allocations: 26.26 MB / 1.332 GB, free: 93.48 MB / 490.7 MB