Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 215.5 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.75 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 51.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2056, allocations: 53.37 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2): time 0.03893/0.2445, allocations: 33.87 MB / 466.2 MB, free: 4.695 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02078/0.2653, allocations: 13.7 MB / 479.9 MB, free: 6.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.2666, allocations: 71.38 kB / 480 MB, free: 6.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.2682, allocations: 0.6676 MB / 480.7 MB, free: 6.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005573/0.2738, allocations: 2.617 MB / 483.3 MB, free: 3.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01157/0.2853, allocations: 3.873 MB / 487.2 MB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00768/0.293, allocations: 4.947 MB / 492.1 MB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.2947, allocations: 1.081 MB / 493.2 MB, free: 9.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003031/0.2977, allocations: 1.822 MB / 495 MB, free: 7.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003816/0.3015, allocations: 1.958 MB / 497 MB, free: 5.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004789/0.302, allocations: 172 kB / 497.1 MB, free: 5.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005835/0.3078, allocations: 1.985 MB / 499.1 MB, free: 3.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001152/0.309, allocations: 0.6737 MB / 499.8 MB, free: 3.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001679/0.3106, allocations: 0.8363 MB / 0.4889 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008211/0.3189, allocations: 4.026 MB / 0.4928 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3189, allocations: 3.938 kB / 0.4928 GB, free: 14.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3189, allocations: 0 / 0.4928 GB, free: 14.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.476e-05/0.3189, allocations: 0 / 0.4928 GB, free: 14.15 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.00527/0.3242, allocations: 2.409 MB / 0.4952 GB, free: 11.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3242, allocations: 8.031 kB / 0.4952 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006426/0.3248, allocations: 210.8 kB / 0.4954 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.327, allocations: 1.081 MB / 0.4964 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-05/0.3271, allocations: 106.2 kB / 0.4965 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/0.3273, allocations: 115.9 kB / 0.4967 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003662/0.331, allocations: 2.511 MB / 0.4991 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.331, allocations: 3.938 kB / 0.4991 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.3312, allocations: 51.98 kB / 0.4992 GB, free: 7.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001712/0.3314, allocations: 114.3 kB / 0.4993 GB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00352/0.3349, allocations: 1.984 MB / 0.5012 GB, free: 5.234 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.01141/0.3463, allocations: 5.822 MB / 0.5069 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.3483, allocations: 1.11 MB / 0.508 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.3495, allocations: 0.6948 MB / 0.5087 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004535/0.354, allocations: 2.132 MB / 0.5107 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.354, allocations: 55.55 kB / 0.5108 GB, free: 11.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=119): time 3.066e-06/0.354, allocations: 4 kB / 0.5108 GB, free: 11.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.01299/0.367, allocations: 5.015 MB / 0.5157 GB, free: 6.223 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.3671, allocations: 171.5 kB / 0.5159 GB, free: 6.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.3687, allocations: 1.197 MB / 0.517 GB, free: 4.812 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001355/0.3689, allocations: 57.7 kB / 0.5171 GB, free: 4.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006308/0.3695, allocations: 0.7387 MB / 0.5178 GB, free: 4.004 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000474/0.37, allocations: 495.9 kB / 0.5183 GB, free: 3.516 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005976/0.3706, allocations: 343.4 kB / 0.5186 GB, free: 3.176 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3707, allocations: 309.1 kB / 0.5189 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.3721, allocations: 0.7894 MB / 0.5197 GB, free: 2.078 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/0.374, allocations: 1.307 MB / 0.5209 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/0.377, allocations: 1.888 MB / 0.5228 GB, free: 14.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.377, allocations: 4 kB / 0.5228 GB, free: 14.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.004467/0.3815, allocations: 2.436 MB / 0.5252 GB, free: 12.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.3815, allocations: 12 kB / 0.5252 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.3815, allocations: 12 kB / 0.5252 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007467/0.389, allocations: 1.096 MB / 0.5263 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.3904, allocations: 359.5 kB / 0.5266 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/0.3936, allocations: 2.896 MB / 0.5294 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.3949, allocations: 83.94 kB / 0.5295 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/0.3951, allocations: 83.97 kB / 0.5296 GB, free: 7.414 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001887/0.397, allocations: 1.074 MB / 0.5306 GB, free: 6.336 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001809/0.3988, allocations: 1.293 MB / 0.5319 GB, free: 4.832 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002871/0.4017, allocations: 1.837 MB / 0.5337 GB, free: 2.828 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.849e-06/0.4017, allocations: 4 kB / 0.5337 GB, free: 2.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.004135/0.4058, allocations: 2.292 MB / 0.5359 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4058, allocations: 16.03 kB / 0.536 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.4059, allocations: 12 kB / 0.536 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1752/0.581, allocations: 0.8069 MB / 0.5368 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.5828, allocations: 364.8 kB / 0.5371 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.5844, allocations: 2.645 MB / 0.5397 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.5857, allocations: 94.28 kB / 0.5398 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.5859, allocations: 84.19 kB / 0.5399 GB, free: 104.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.0003651/0.5862, allocations: 299 kB / 0.5401 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/0.5865, allocations: 158 kB / 0.5403 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00418/0.5907, allocations: 2.326 MB / 0.5426 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.5907, allocations: 8.297 kB / 0.5426 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.5907, allocations: 0 / 0.5426 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.591, allocations: 151.2 kB / 0.5427 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.5912, allocations: 39.73 kB / 0.5428 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009353/0.5921, allocations: 67.22 kB / 0.5428 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/0.5924, allocations: 140 kB / 0.543 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004271/0.5967, allocations: 2.215 MB / 0.5451 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003313/0.6, allocations: 2.762 MB / 0.5478 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009133/0.6009, allocations: 0.7629 MB / 0.5486 GB, free: 101.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007837/0.6017, allocations: 0.799 MB / 0.5493 GB, free: 101.5 MB / 446.1 MB Notification: Performance of Backend: time 2.81e-07/0.6017, allocations: 3.938 kB / 0.5493 GB, free: 101.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005837/0.6075, allocations: 3.163 MB / 0.5524 GB, free: 99.24 MB / 446.1 MB Notification: Performance of SimCode: time 0.004353/0.6119, allocations: 4.188 MB / 0.5565 GB, free: 95.16 MB / 446.1 MB Notification: Performance of Templates: time 0.05654/0.6684, allocations: 55.94 MB / 0.6111 GB, free: 39.81 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.413136848997965] 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.6758105600019917 0.68677089 0.36432608800000005 Calling exit ...