Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001789/0.001789, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002183/0.002183, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.427/1.427, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.AST_BatchPlant.Test.TanksWithEmptyingPipe1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.|tank2.aboveLevel.1.|tank2.aboveLevel.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.|tank2.aboveLevel.1.|tank2.aboveLevel.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 75.83 kB / 378.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2142, allocations: 53.31 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1): time 0.03709/0.2513, allocations: 31.7 MB / 463.8 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02006/0.2714, allocations: 14.37 MB / 478.1 MB, free: 9.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.2724, allocations: 47.69 kB / 478.2 MB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.2739, allocations: 0.59 MB / 478.8 MB, free: 8.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004925/0.2788, allocations: 2.22 MB / 481 MB, free: 6.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008141/0.287, allocations: 3.676 MB / 484.7 MB, free: 2.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005043/0.292, allocations: 3.972 MB / 488.6 MB, free: 14.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.2935, allocations: 0.8773 MB / 489.5 MB, free: 13.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.2959, allocations: 1.511 MB / 491 MB, free: 12.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002433/0.2983, allocations: 1.647 MB / 492.7 MB, free: 10.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002609/0.2986, allocations: 144 kB / 492.8 MB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00424/0.3028, allocations: 2.383 MB / 495.2 MB, free: 8.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006251/0.3035, allocations: 0.5724 MB / 495.8 MB, free: 7.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009162/0.3044, allocations: 0.8205 MB / 496.6 MB, free: 6.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00489/0.3093, allocations: 3.684 MB / 0.4885 GB, free: 2.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3093, allocations: 4 kB / 0.4885 GB, free: 2.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3093, allocations: 0 / 0.4885 GB, free: 2.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.3093, allocations: 0 / 0.4885 GB, free: 2.941 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.004508/0.3138, allocations: 2.172 MB / 0.4907 GB, free: 0.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.3138, allocations: 8.031 kB / 0.4907 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005902/0.3144, allocations: 175 kB / 0.4908 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.3163, allocations: 1.012 MB / 0.4918 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-05/0.3164, allocations: 85.83 kB / 0.4919 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.3166, allocations: 99.94 kB / 0.492 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/0.3194, allocations: 1.632 MB / 0.4936 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.3195, allocations: 7.938 kB / 0.4936 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.3196, allocations: 43.97 kB / 0.4936 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001563/0.3198, allocations: 109.9 kB / 0.4938 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002899/0.3227, allocations: 1.643 MB / 0.4954 GB, free: 11.77 MB / 414.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.0108/0.3335, allocations: 6.661 MB / 0.5019 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.3351, allocations: 0.8717 MB / 0.5027 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009232/0.336, allocations: 0.523 MB / 0.5032 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00425/0.3403, allocations: 2.805 MB / 0.506 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.3403, allocations: 51.22 kB / 0.506 GB, free: 204 kB / 414.1 MB Notification: Performance of pre-optimization done (n=80): time 2.184e-06/0.3403, allocations: 0 / 0.506 GB, free: 204 kB / 414.1 MB Notification: Performance of matching and sorting (n=90): time 0.00913/0.3494, allocations: 3.721 MB / 0.5096 GB, free: 12.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.3496, allocations: 200.9 kB / 0.5098 GB, free: 12.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.3514, allocations: 1.306 MB / 0.5111 GB, free: 10.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.3515, allocations: 53.64 kB / 0.5112 GB, free: 10.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005916/0.3521, allocations: 0.6605 MB / 0.5118 GB, free: 10.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/0.3524, allocations: 341.2 kB / 0.5121 GB, free: 9.746 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004771/0.3529, allocations: 291.4 kB / 0.5124 GB, free: 9.457 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.353, allocations: 301.1 kB / 0.5127 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.3541, allocations: 0.5864 MB / 0.5133 GB, free: 8.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.3555, allocations: 1.001 MB / 0.5143 GB, free: 7.395 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002375/0.3579, allocations: 1.489 MB / 0.5157 GB, free: 5.742 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3579, allocations: 0 / 0.5157 GB, free: 5.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003459/0.3614, allocations: 1.905 MB / 0.5176 GB, free: 3.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3614, allocations: 12 kB / 0.5176 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.3614, allocations: 12.75 kB / 0.5176 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004963/0.3664, allocations: 0.7632 MB / 0.5183 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.3675, allocations: 287.5 kB / 0.5186 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.3697, allocations: 2.164 MB / 0.5207 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.3707, allocations: 63.97 kB / 0.5208 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.3708, allocations: 71.97 kB / 0.5209 GB, free: 376 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001416/0.3723, allocations: 0.8474 MB / 0.5217 GB, free: 15.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001387/0.3737, allocations: 0.9991 MB / 0.5227 GB, free: 14.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002163/0.3758, allocations: 1.464 MB / 0.5241 GB, free: 12.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.792e-06/0.3758, allocations: 4 kB / 0.5241 GB, free: 12.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003346/0.3792, allocations: 1.827 MB / 0.5259 GB, free: 10.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3792, allocations: 14.97 kB / 0.5259 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.3792, allocations: 12 kB / 0.5259 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004147/0.3833, allocations: 0.5958 MB / 0.5265 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.3844, allocations: 291.5 kB / 0.5268 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.3863, allocations: 2.024 MB / 0.5287 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.3874, allocations: 71.95 kB / 0.5288 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.3875, allocations: 68.11 kB / 0.5289 GB, free: 7.699 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (tank2.aboveLevel[2],$PRE.tank2.aboveLevel[2],tank2.aboveLevel[1],$PRE.tank2.aboveLevel[1],tank1.aboveLevel[2],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[1],tank2.ports_m_flow_out[2],tank2.ports_m_flow_out[1],tank1.ports_m_flow_out[2],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (2,7), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003554/0.3878, allocations: 280.7 kB / 0.5291 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/0.3881, allocations: 147.2 kB / 0.5293 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003169/0.3913, allocations: 1.514 MB / 0.5308 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.3913, allocations: 7.969 kB / 0.5308 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3913, allocations: 0 / 0.5308 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/0.3916, allocations: 224 kB / 0.531 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.3918, allocations: 27.95 kB / 0.531 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007817/0.3926, allocations: 47.95 kB / 0.531 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.3928, allocations: 84.88 kB / 0.5311 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003479/0.3963, allocations: 1.488 MB / 0.5326 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003012/0.3993, allocations: 1.889 MB / 0.5344 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008239/0.4001, allocations: 0.4918 MB / 0.5349 GB, free: 1.441 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001281/0.4014, allocations: 0.9044 MB / 0.5358 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of Backend: time 2.3e-07/0.4014, allocations: 4 kB / 0.5358 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1669/0.5683, allocations: 2.581 MB / 0.5383 GB, free: 107 MB / 446.1 MB Notification: Performance of SimCode: time 0.004979/0.5733, allocations: 3.554 MB / 0.5418 GB, free: 105.2 MB / 446.1 MB Notification: Performance of Templates: time 0.04954/0.6228, allocations: 45.5 MB / 0.5862 GB, free: 66.23 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.sim & ./Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.958315383177251] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank1.medium.T', 'tank2.level', 'tank2.medium.T', 'tank1.aboveLevel[1]', 'tank1.aboveLevel[2]', 'tank2.aboveLevel[1]', 'tank2.aboveLevel[2]'] 0.6301481239497662 0.638735573 0.327223125 Calling exit ...