Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks") translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001163, allocations: 206.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 64.14 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2011, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.02746/0.2286, allocations: 28.83 MB / 438.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01765/0.2463, allocations: 15.02 MB / 453.8 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008494/0.2471, allocations: 47.69 kB / 453.8 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.2484, allocations: 0.5862 MB / 454.4 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004193/0.2526, allocations: 2.341 MB / 456.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007155/0.2598, allocations: 3.726 MB / 460.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004025/0.2638, allocations: 4.151 MB / 464.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.2651, allocations: 1.168 MB / 465.8 MB, free: 9.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.267, allocations: 1.577 MB / 467.4 MB, free: 7.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/0.269, allocations: 1.662 MB / 469 MB, free: 6.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002735/0.2693, allocations: 160 kB / 469.2 MB, free: 6.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004069/0.2734, allocations: 2.469 MB / 471.7 MB, free: 3.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005926/0.274, allocations: 0.6155 MB / 472.3 MB, free: 3.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008721/0.2748, allocations: 0.8672 MB / 473.2 MB, free: 2.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004506/0.2794, allocations: 3.797 MB / 477 MB, free: 14.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2794, allocations: 0 / 477 MB, free: 14.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2794, allocations: 4 kB / 477 MB, free: 14.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.2794, allocations: 0 / 477 MB, free: 14.34 MB / 398.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.004669/0.2841, allocations: 2.266 MB / 479.2 MB, free: 12.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2841, allocations: 8.031 kB / 479.2 MB, free: 12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005324/0.2847, allocations: 183 kB / 479.4 MB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.2863, allocations: 1.066 MB / 480.5 MB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.2864, allocations: 183 kB / 480.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.2866, allocations: 99.91 kB / 480.8 MB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/0.2894, allocations: 1.757 MB / 482.5 MB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.2894, allocations: 0 / 482.5 MB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.2896, allocations: 43.97 kB / 482.6 MB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001503/0.2897, allocations: 113.9 kB / 482.7 MB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002894/0.2926, allocations: 1.788 MB / 484.4 MB, free: 6.656 MB / 398.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.01086/0.3035, allocations: 6.709 MB / 491.2 MB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.3054, allocations: 1.234 MB / 492.4 MB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.3066, allocations: 0.7757 MB / 493.2 MB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005413/0.312, allocations: 4.264 MB / 497.4 MB, free: 8.918 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.312, allocations: 59.48 kB / 497.5 MB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005877/0.3126, allocations: 175 kB / 497.7 MB, free: 8.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 2.325e-06/0.3126, allocations: 0 / 497.7 MB, free: 8.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.01829/0.3309, allocations: 5.716 MB / 0.4916 GB, free: 2.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.331, allocations: 145.5 kB / 0.4917 GB, free: 2.738 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.3325, allocations: 1.254 MB / 0.4929 GB, free: 1.477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.3326, allocations: 49.7 kB / 0.493 GB, free: 1.422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004503/0.3331, allocations: 0.626 MB / 0.4936 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/0.3334, allocations: 400.5 kB / 0.494 GB, free: 404 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004745/0.3339, allocations: 303.4 kB / 0.4943 GB, free: 92 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.334, allocations: 301.1 kB / 0.4946 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.3352, allocations: 0.7192 MB / 0.4953 GB, free: 15.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.3366, allocations: 1.064 MB / 0.4963 GB, free: 13.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002585/0.3392, allocations: 1.751 MB / 0.498 GB, free: 11.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3392, allocations: 4 kB / 0.498 GB, free: 11.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00387/0.3431, allocations: 2.285 MB / 0.5002 GB, free: 9.676 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3431, allocations: 15.94 kB / 0.5003 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.3432, allocations: 8 kB / 0.5003 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007219/0.3504, allocations: 1.281 MB / 0.5015 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.3516, allocations: 307.5 kB / 0.5018 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.3539, allocations: 1.603 MB / 0.5034 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.355, allocations: 55.97 kB / 0.5034 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.3552, allocations: 71.97 kB / 0.5035 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00149/0.3567, allocations: 0.984 MB / 0.5045 GB, free: 5.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001363/0.358, allocations: 1.055 MB / 0.5055 GB, free: 4.117 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002489/0.3605, allocations: 1.718 MB / 0.5072 GB, free: 2.258 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.957e-06/0.3605, allocations: 7.938 kB / 0.5072 GB, free: 2.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.003727/0.3643, allocations: 2.199 MB / 0.5093 GB, free: 40 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3643, allocations: 12.16 kB / 0.5093 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.3643, allocations: 12 kB / 0.5093 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006495/0.3708, allocations: 1.105 MB / 0.5104 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.372, allocations: 303.6 kB / 0.5107 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.374, allocations: 1.463 MB / 0.5121 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.3751, allocations: 59.95 kB / 0.5122 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.3752, allocations: 67.97 kB / 0.5123 GB, free: 13 MB / 446.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.0003417/0.3756, allocations: 275.8 kB / 0.5125 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.3759, allocations: 151.1 kB / 0.5127 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004068/0.3799, allocations: 2.09 MB / 0.5147 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.38, allocations: 7.969 kB / 0.5147 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.38, allocations: 3.938 kB / 0.5147 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005971/0.3806, allocations: 399.8 kB / 0.5151 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/0.3808, allocations: 24 kB / 0.5151 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009606/0.3818, allocations: 63.94 kB / 0.5152 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/0.382, allocations: 97.17 kB / 0.5153 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004554/0.3866, allocations: 2.036 MB / 0.5173 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003806/0.3904, allocations: 2.529 MB / 0.5197 GB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001075/0.3915, allocations: 0.7168 MB / 0.5204 GB, free: 4.559 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00108/0.3926, allocations: 0.8441 MB / 0.5213 GB, free: 3.711 MB / 446.1 MB Notification: Performance of Backend: time 4.4e-07/0.3926, allocations: 0 / 0.5213 GB, free: 3.711 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007537/0.4001, allocations: 3.139 MB / 0.5243 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of SimCode: time 0.005221/0.4054, allocations: 3.785 MB / 0.528 GB, free: 12.75 MB / 462.1 MB Notification: Performance of Templates: time 0.2154/0.6207, allocations: 48.39 MB / 0.5753 GB, free: 105.7 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe 2>&1)