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.TanksWithEmptyingPipe2.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.001573/0.001573, 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.001672/0.001672, 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.426/1.426, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.TanksWithEmptyingPipe2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5008,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T|tank1.aboveLevel.1.|tank2.aboveLevel.1.|tank2.aboveLevel.2.|tank2.aboveLevel.3.|tank3.aboveLevel.1.|tank3.aboveLevel.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5008,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T|tank1.aboveLevel.1.|tank2.aboveLevel.1.|tank2.aboveLevel.2.|tank2.aboveLevel.3.|tank3.aboveLevel.1.|tank3.aboveLevel.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2") [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: 67.89 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2083, allocations: 53.32 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2): time 0.04011/0.2484, allocations: 37.61 MB / 469.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02122/0.2696, allocations: 15.24 MB / 484.9 MB, free: 2.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.2708, allocations: 51.69 kB / 485 MB, free: 2.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.2725, allocations: 0.6948 MB / 485.7 MB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006034/0.2786, allocations: 2.57 MB / 488.2 MB, free: 15.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008877/0.2875, allocations: 3.755 MB / 492 MB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005876/0.2933, allocations: 4.748 MB / 496.7 MB, free: 6.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.2951, allocations: 1.077 MB / 497.8 MB, free: 5.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003017/0.2981, allocations: 1.772 MB / 499.6 MB, free: 3.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003131/0.3013, allocations: 1.939 MB / 0.4898 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004399/0.3017, allocations: 172 kB / 0.4899 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004751/0.3065, allocations: 2.504 MB / 0.4924 GB, free: 15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008686/0.3073, allocations: 0.6698 MB / 0.493 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.3087, allocations: 0.9916 MB / 0.494 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005635/0.3144, allocations: 4.147 MB / 0.498 GB, free: 9.168 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3144, allocations: 0 / 0.498 GB, free: 9.168 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3144, allocations: 3.938 kB / 0.4981 GB, free: 9.164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.3144, allocations: 0 / 0.4981 GB, free: 9.164 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.00514/0.3195, allocations: 2.489 MB / 0.5005 GB, free: 6.613 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3196, allocations: 16.03 kB / 0.5005 GB, free: 6.598 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006443/0.3202, allocations: 210.8 kB / 0.5007 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.3223, allocations: 1.157 MB / 0.5018 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.3224, allocations: 102.2 kB / 0.5019 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.3226, allocations: 120 kB / 0.502 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00324/0.3259, allocations: 1.948 MB / 0.5039 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.3259, allocations: 11.89 kB / 0.504 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.3261, allocations: 55.86 kB / 0.504 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001771/0.3263, allocations: 130.3 kB / 0.5041 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003422/0.3297, allocations: 1.98 MB / 0.5061 GB, free: 0.7305 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.01191/0.3416, allocations: 7.877 MB / 0.5138 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.3436, allocations: 1.103 MB / 0.5148 GB, free: 7.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.3448, allocations: 0.7026 MB / 0.5155 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005253/0.3501, allocations: 3.423 MB / 0.5189 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.3501, allocations: 55.5 kB / 0.5189 GB, free: 2.812 MB / 430.1 MB Notification: Performance of pre-optimization done (n=119): time 2.374e-06/0.3501, allocations: 0 / 0.5189 GB, free: 2.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.01304/0.3631, allocations: 5.407 MB / 0.5242 GB, free: 13.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.3633, allocations: 175.5 kB / 0.5244 GB, free: 13.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.3651, allocations: 1.431 MB / 0.5258 GB, free: 11.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.3653, allocations: 61.69 kB / 0.5258 GB, free: 11.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006223/0.3659, allocations: 0.7166 MB / 0.5265 GB, free: 10.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004428/0.3663, allocations: 495.8 kB / 0.527 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005674/0.3669, allocations: 343.4 kB / 0.5273 GB, free: 10.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.367, allocations: 305.1 kB / 0.5276 GB, free: 9.707 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.3684, allocations: 0.7894 MB / 0.5284 GB, free: 8.914 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/0.3702, allocations: 1.199 MB / 0.5296 GB, free: 7.543 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002976/0.3732, allocations: 1.892 MB / 0.5314 GB, free: 5.496 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.3732, allocations: 4 kB / 0.5314 GB, free: 5.492 MB / 446.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.004356/0.3776, allocations: 2.448 MB / 0.5338 GB, free: 3.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.3776, allocations: 8 kB / 0.5338 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.3776, allocations: 15.94 kB / 0.5338 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007138/0.3847, allocations: 1.108 MB / 0.5349 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.3861, allocations: 343.5 kB / 0.5352 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1733/0.5594, allocations: 2.9 MB / 0.5381 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.561, allocations: 87.06 kB / 0.5381 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/0.5612, allocations: 82.06 kB / 0.5382 GB, free: 105 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001766/0.563, allocations: 1.076 MB / 0.5393 GB, free: 104.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001369/0.5644, allocations: 1.194 MB / 0.5404 GB, free: 104.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002225/0.5666, allocations: 1.837 MB / 0.5422 GB, free: 103.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.765e-06/0.5666, allocations: 3.562 kB / 0.5422 GB, free: 103.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.003547/0.5701, allocations: 2.316 MB / 0.5445 GB, free: 102.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5702, allocations: 7.906 kB / 0.5445 GB, free: 102.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.5702, allocations: 11.91 kB / 0.5445 GB, free: 102.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0056/0.5758, allocations: 0.8052 MB / 0.5453 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.577, allocations: 363.5 kB / 0.5456 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.5784, allocations: 2.661 MB / 0.5482 GB, free: 99.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.5797, allocations: 92.16 kB / 0.5483 GB, free: 99.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.5798, allocations: 82.16 kB / 0.5484 GB, free: 99.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 18 (tank2.aboveLevel[3],$PRE.tank2.aboveLevel[3],tank2.aboveLevel[2],$PRE.tank2.aboveLevel[2],tank2.aboveLevel[1],$PRE.tank2.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[1],tank3.aboveLevel[2],$PRE.tank3.aboveLevel[2],tank3.aboveLevel[1],$PRE.tank3.aboveLevel[1],tank2.ports_m_flow_out[3],tank2.ports_m_flow_out[2],tank2.ports_m_flow_out[1],tank1.ports_m_flow_out[1],tank3.ports_m_flow_out[2],tank3.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 (203): * Single equations (assignments): 199 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,2), (2,7), (2,7), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004006/0.5802, allocations: 295.4 kB / 0.5487 GB, free: 99.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.5805, allocations: 178.4 kB / 0.5489 GB, free: 99.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/0.5842, allocations: 2.348 MB / 0.5512 GB, free: 98.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.5842, allocations: 7.031 kB / 0.5512 GB, free: 98.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.5842, allocations: 0 / 0.5512 GB, free: 98.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.5845, allocations: 258.1 kB / 0.5514 GB, free: 98.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/0.5847, allocations: 42.88 kB / 0.5515 GB, free: 98.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009409/0.5856, allocations: 68.34 kB / 0.5515 GB, free: 98.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.5859, allocations: 132 kB / 0.5516 GB, free: 98.46 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004091/0.5899, allocations: 2.217 MB / 0.5538 GB, free: 97.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003269/0.5932, allocations: 2.779 MB / 0.5565 GB, free: 95.63 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009231/0.5941, allocations: 0.7611 MB / 0.5573 GB, free: 94.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009477/0.5951, allocations: 0.9825 MB / 0.5582 GB, free: 93.89 MB / 446.1 MB Notification: Performance of Backend: time 2.4e-07/0.5951, allocations: 3.406 kB / 0.5582 GB, free: 93.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005908/0.601, allocations: 3.181 MB / 0.5613 GB, free: 91.02 MB / 446.1 MB Notification: Performance of SimCode: time 0.004714/0.6057, allocations: 4.311 MB / 0.5655 GB, free: 86.72 MB / 446.1 MB Notification: Performance of Templates: time 0.06024/0.6659, allocations: 55.88 MB / 0.6201 GB, free: 31.22 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.sim & ./Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.365360178053379] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank1.medium.T', 'tank2.level', 'tank2.medium.T', 'tank3.level', 'tank3.medium.T', 'tank1.aboveLevel[1]', 'tank2.aboveLevel[1]', 'tank2.aboveLevel[2]', 'tank2.aboveLevel[3]', 'tank3.aboveLevel[1]', 'tank3.aboveLevel[2]'] 0.6733256322331727 0.681922269 0.36528281900000004 Calling exit ...