Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 113.1 kB / 17.75 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 192.6 kB / 18.68 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/1.897e-05, allocations: 2.281 kB / 351.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.1822/0.1822, allocations: 27.74 MB / 379.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009731/0.192, allocations: 7.491 MB / 387.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.1939, allocations: 56.03 kB / 387.2 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.1961, allocations: 1.003 MB / 388.2 MB, free: 7.238 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003399/0.1996, allocations: 1.555 MB / 389.8 MB, free: 6.328 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005141/0.2047, allocations: 2.252 MB / 392 MB, free: 5.105 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005719/0.2104, allocations: 5.016 MB / 397 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002759/0.2132, allocations: 2.083 MB / 399.1 MB, free: 1.188 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003119/0.2164, allocations: 2.054 MB / 401.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002529/0.2189, allocations: 1.647 MB / 402.8 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004894/0.2194, allocations: 315.9 kB / 403.1 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.2217, allocations: 0.9506 MB / 404.1 MB, free: 14.58 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.002922/0.2247, allocations: 4.161 MB / 408.2 MB, free: 11.57 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.00156/0.2262, allocations: 2.512 MB / 410.8 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006348/0.2269, allocations: 438.7 kB / 411.2 MB, free: 8.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0005876/0.2275, allocations: 218.8 kB / 411.4 MB, free: 8.449 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: 547 (492) * Number of variables: 527 (473) Notification: Performance of Bindings: time 0.01078/0.2383, allocations: 12.2 MB / 423.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.001085/0.2394, allocations: 1.194 MB / 424.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of Early Inline: time 0.008435/0.2478, allocations: 9.137 MB / 433.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simplify1: time 0.0005539/0.2484, allocations: 471.3 kB / 434.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of Alias: time 0.01204/0.2604, allocations: 10.87 MB / 445.3 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simplify2: time 0.0005956/0.261, allocations: 379.5 kB / 445.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of Events: time 0.00268/0.2637, allocations: 2.558 MB / 448.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of Detect States: time 0.002802/0.2665, allocations: 2.812 MB / 451 MB, free: 15.54 MB / 366.1 MB Notification: Performance of Partitioning: time 0.003347/0.2699, allocations: 3.042 MB / 454 MB, free: 12.23 MB / 366.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(1) {tank1.heatTransfer.states[1].p}, does not fit the equation size 2. Error: Internal error NBSlice.resolveDependency failed for: tank1.heatTransfer.states.p. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) tank1.heatTransfer.states = {tank1.medium.state} ($RES_BND_607)