Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks") translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 109 kB / 17.06 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 191 kB / 18 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 59.91 kB / 327.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1307, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.3286/0.4593, allocations: 28.68 MB / 403.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02838/0.4877, allocations: 15.01 MB / 418.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003259/0.491, allocations: 42.47 kB / 418.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00291/0.494, allocations: 0.5863 MB / 418.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.5047, allocations: 2.334 MB / 421.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01572/0.5204, allocations: 3.736 MB / 424.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009491/0.5299, allocations: 4.142 MB / 429 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003198/0.5332, allocations: 1.159 MB / 430.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005673/0.5389, allocations: 1.569 MB / 431.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00428/0.5432, allocations: 1.662 MB / 433.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.5443, allocations: 164 kB / 433.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01057/0.5549, allocations: 2.418 MB / 436 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001993/0.5569, allocations: 0.6155 MB / 436.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003669/0.5606, allocations: 0.8711 MB / 437.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01229/0.5729, allocations: 3.725 MB / 441.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5729, allocations: 0 / 441.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.573, allocations: 0 / 441.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001053/0.5731, allocations: 0 / 441.2 MB, free: 12.83 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.008421/0.5815, allocations: 2.196 MB / 443.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.5816, allocations: 12.03 kB / 443.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.5827, allocations: 174.1 kB / 443.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.5854, allocations: 1.065 MB / 444.6 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.5857, allocations: 187 kB / 444.8 MB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003885/0.5861, allocations: 95.97 kB / 444.9 MB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003842/0.5899, allocations: 1.757 MB / 446.7 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/0.59, allocations: 3.938 kB / 446.7 MB, free: 7.176 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/0.5902, allocations: 43.97 kB / 446.7 MB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001825/0.5904, allocations: 113.9 kB / 446.8 MB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00351/0.5939, allocations: 1.784 MB / 448.6 MB, free: 5.227 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01463/0.6086, allocations: 6.701 MB / 455.3 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/0.6108, allocations: 1.238 MB / 456.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.6121, allocations: 0.769 MB / 457.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007065/0.6192, allocations: 4.267 MB / 461.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/0.6193, allocations: 51.5 kB / 461.6 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009804/0.6203, allocations: 170.6 kB / 461.8 MB, free: 7.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=97): time 8.095e-06/0.6203, allocations: 7.938 kB / 461.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.02042/0.6407, allocations: 5.695 MB / 467.5 MB, free: 1.496 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.6409, allocations: 141.5 kB / 467.6 MB, free: 1.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/0.6432, allocations: 1.257 MB / 468.9 MB, free: 64 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.6433, allocations: 45.7 kB / 468.9 MB, free: 12 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000626/0.644, allocations: 0.6169 MB / 469.6 MB, free: 15.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005152/0.6445, allocations: 382.4 kB / 469.9 MB, free: 15.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000681/0.6452, allocations: 295.3 kB / 470.2 MB, free: 14.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6453, allocations: 305.1 kB / 470.5 MB, free: 14.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.6466, allocations: 0.72 MB / 471.2 MB, free: 13.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.6481, allocations: 1.06 MB / 472.3 MB, free: 12.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002777/0.6509, allocations: 1.751 MB / 474.1 MB, free: 10.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.6509, allocations: 4 kB / 474.1 MB, free: 10.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004221/0.6552, allocations: 2.281 MB / 476.3 MB, free: 8.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.611e-05/0.6552, allocations: 12.78 kB / 476.4 MB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/0.6553, allocations: 11.98 kB / 476.4 MB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006933/0.6622, allocations: 1.277 MB / 477.6 MB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.6638, allocations: 292.3 kB / 477.9 MB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.6665, allocations: 1.606 MB / 479.5 MB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.6681, allocations: 59.97 kB / 479.6 MB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/0.6684, allocations: 71.97 kB / 479.7 MB, free: 4.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002059/0.6705, allocations: 0.9841 MB / 480.6 MB, free: 3.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001612/0.6721, allocations: 1.051 MB / 481.7 MB, free: 2.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002973/0.6751, allocations: 1.73 MB / 483.4 MB, free: 0.8945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.347e-05/0.6752, allocations: 0 / 483.4 MB, free: 0.8945 MB / 398.1 MB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.004478/0.6796, allocations: 2.199 MB / 485.6 MB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.6797, allocations: 12 kB / 485.6 MB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.6797, allocations: 8 kB / 485.6 MB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006275/0.686, allocations: 1.097 MB / 486.7 MB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.6875, allocations: 312.3 kB / 487 MB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.6897, allocations: 1.454 MB / 488.5 MB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.6914, allocations: 67.88 kB / 488.6 MB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002744/0.6917, allocations: 67.97 kB / 488.6 MB, free: 11.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (tank3.inFlow[1],tank3.regularFlow[1],tank2.inFlow[1],tank2.regularFlow[1],tank1.inFlow[1],tank1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0006298/0.6924, allocations: 271.8 kB / 488.9 MB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006184/0.693, allocations: 150.2 kB / 489 MB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004744/0.6977, allocations: 2.084 MB / 491.1 MB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.6978, allocations: 16 kB / 491.1 MB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.6978, allocations: 0 / 491.1 MB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.6978, allocations: 11.97 kB / 491.2 MB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006435/0.7043, allocations: 3.565 MB / 494.7 MB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.7043, allocations: 4 kB / 494.7 MB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009854/0.7053, allocations: 191.8 kB / 494.9 MB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00251/0.7078, allocations: 0.8634 MB / 495.8 MB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/0.708, allocations: 31.98 kB / 495.8 MB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/0.7103, allocations: 1.615 MB / 497.4 MB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7103, allocations: 0 / 497.4 MB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005448/0.7158, allocations: 2.912 MB / 0.4886 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.7168, allocations: 395 kB / 0.489 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004641/0.7173, allocations: 20 kB / 0.489 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.7186, allocations: 71.88 kB / 0.4891 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.7189, allocations: 93.17 kB / 0.4892 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.719, allocations: 51.97 kB / 0.4892 GB, free: 15.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001554/0.7206, allocations: 0.8441 MB / 0.49 GB, free: 14.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7206, allocations: 0 / 0.49 GB, free: 14.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004361/0.725, allocations: 1.163 MB / 0.4912 GB, free: 13.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank3.level,tank3.medium.T) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002844/0.7279, allocations: 0.8455 MB / 0.492 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007127/0.735, allocations: 2.863 MB / 0.4948 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.735, allocations: 3.859 kB / 0.4948 GB, free: 9.449 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.7371, allocations: 0.879 MB / 0.4957 GB, free: 8.574 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004015/0.7411, allocations: 0.6592 MB / 0.4963 GB, free: 7.922 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00721/0.7484, allocations: 3.06 MB / 0.4993 GB, free: 4.828 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/0.7498, allocations: 1.3 MB / 0.5006 GB, free: 3.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002531/0.7524, allocations: 0.5822 MB / 0.5011 GB, free: 2.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005452/0.7529, allocations: 131.3 kB / 0.5013 GB, free: 2.781 MB / 430.1 MB Notification: Performance of SimCode: time 1.693e-06/0.753, allocations: 4 kB / 0.5013 GB, free: 2.777 MB / 430.1 MB Notification: Performance of Templates: time 0.07666/0.8296, allocations: 44.2 MB / 0.5444 GB, free: 6.484 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe 2>&1)