Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.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.001527/0.001527, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.001824/0.001824, allocations: 212 kB / 24.55 MB, free: 3.824 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.691/1.691, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank2.aboveLevel.1.",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank2.aboveLevel.1.",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.933e-05/3.933e-05, allocations: 2.281 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks): time 0.2985/0.2985, allocations: 16.26 MB / 395.3 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009718/0.3082, allocations: 5.496 MB / 400.8 MB, free: 1.711 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.3095, allocations: 33.16 kB / 400.8 MB, free: 1.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.3106, allocations: 326.5 kB / 401.1 MB, free: 1.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003442/0.3141, allocations: 1.079 MB / 402.2 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005749/0.3198, allocations: 1.678 MB / 403.9 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005444/0.3253, allocations: 2.853 MB / 406.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.3271, allocations: 0.6323 MB / 407.4 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002844/0.3299, allocations: 1.248 MB / 408.6 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.3313, allocations: 0.8125 MB / 409.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.3315, allocations: 68.88 kB / 409.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00297/0.3345, allocations: 0.9489 MB / 410.5 MB, free: 12.31 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.002147/0.3366, allocations: 1.919 MB / 412.4 MB, free: 11 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001082/0.3377, allocations: 1.119 MB / 413.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.3379, allocations: 68.5 kB / 413.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001588/0.338, allocations: 18.16 kB / 413.6 MB, free: 10.22 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 (109) * Number of variables: 120 (112) Notification: Performance of [SIM] Bindings: time 0.006336/0.3444, allocations: 4.643 MB / 418.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007657/0.3451, allocations: 0.5094 MB / 418.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.003919/0.3491, allocations: 2.772 MB / 421.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0007754/0.3498, allocations: 444.5 kB / 421.9 MB, free: 2.086 MB / 318.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.004111/0.3539, allocations: 2.46 MB / 424.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0006426/0.3546, allocations: 407.6 kB / 424.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003214/0.3549, allocations: 243.9 kB / 425 MB, free: 14.66 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0007778/0.3557, allocations: 0.5705 MB / 425.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0004747/0.3562, allocations: 304.7 kB / 425.9 MB, free: 13.74 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.00128/0.3574, allocations: 0.976 MB / 426.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.003475/0.3609, allocations: 2.038 MB / 428.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002441/0.3634, allocations: 2.069 MB / 431 MB, free: 8.504 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.002121/0.3655, allocations: 1.133 MB / 432.1 MB, free: 7.25 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.003773/0.3693, allocations: 3.42 MB / 435.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0001273/0.3694, allocations: 63.98 kB / 435.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0007552/0.3701, allocations: 0.6439 MB / 436.3 MB, free: 3.09 MB / 334.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [ARRY] (1) tank2.ports_m_flow_out = $START.tank2.ports_m_flow_out ($RES_SRT_194); [ARRY] (1) tank1.ports_m_flow_out = $START.tank1.ports_m_flow_out ($RES_SRT_193); Notification: Performance of [INI] Causalize: time 0.01487/0.385, allocations: 9.098 MB / 445.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 0.001687/0.3867, allocations: 1.232 MB / 446.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 4.047e-06/0.3867, allocations: 4 kB / 446.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001468/0.3882, allocations: 0.8366 MB / 447.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.305e-05/0.3882, allocations: 4.656 kB / 447.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 0.0007713/0.389, allocations: 0.5451 MB / 448 MB, free: 7.176 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 3.808e-05/0.389, allocations: 7.938 kB / 448 MB, free: 7.168 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.004272/0.3933, allocations: 2.256 MB / 450.2 MB, free: 4.926 MB / 350.1 MB Error: Internal error NBJacobian.SparsityColoring.PartialD2ColoringAlgC.getIndices failed because cref pipe.flowModel.roughnesses[2] is neither a seed nor a partial candidate! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9344925329787657] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank1.medium.T', 'tank2.level', 'tank2.medium.T', 'tank1.aboveLevel[1]', 'tank2.aboveLevel[1]'] 0.4044093299889937 0.41955772100000005 0.077912996 Calling exit ...