Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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.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.1.0-beta.om_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.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002116/0.002116, allocations: 108.5 kB / 19.05 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002291/0.002291, allocations: 210.5 kB / 20.03 MB, free: 2.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.202/1.202, allocations: 230.4 MB / 251.3 MB, free: 8.68 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.197e-06/9.197e-06, allocations: 6.219 kB / 368.8 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.1349/0.1349, allocations: 28.15 MB / 397 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.1454, allocations: 7.617 MB / 404.6 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007052/0.1461, allocations: 48.62 kB / 404.6 MB, free: 8.535 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.148, allocations: 1.027 MB / 405.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002688/0.1506, allocations: 1.637 MB / 407.3 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003978/0.1546, allocations: 2.165 MB / 409.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004826/0.1595, allocations: 5.478 MB / 414.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/0.1615, allocations: 1.923 MB / 416.9 MB, free: 176 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002452/0.1639, allocations: 2.323 MB / 419.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.1658, allocations: 1.798 MB / 421 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003722/0.1662, allocations: 316 kB / 421.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.1679, allocations: 1.011 MB / 422.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.003064/0.1709, allocations: 4.223 MB / 426.5 MB, free: 6.926 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.001549/0.1725, allocations: 2.543 MB / 429.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.1729, allocations: 422.8 kB / 429.5 MB, free: 3.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0003591/0.1732, allocations: 214.7 kB / 429.7 MB, free: 3.723 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 (494) * Number of variables: 527 (473) Notification: Performance of Bindings: time 0.008422/0.1817, allocations: 9.158 MB / 438.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.001297/0.183, allocations: 1.352 MB / 440.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of Early Inline: time 0.007164/0.1901, allocations: 6.888 MB / 447.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of Simplify 1: time 0.00195/0.1921, allocations: 1.59 MB / 448.7 MB, free: 228 kB / 350.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.009983/0.2021, allocations: 8.528 MB / 457.2 MB, free: 6.781 MB / 366.1 MB Notification: Performance of Simplify 2: time 0.001498/0.2036, allocations: 1.362 MB / 458.6 MB, free: 5.367 MB / 366.1 MB Notification: Performance of Remove Stream: time 0.00115/0.2047, allocations: 1.21 MB / 459.8 MB, free: 4.098 MB / 366.1 MB Error: Internal error NBDetectStates.preFromArgs failed because of unexpected expression pre(time - tankController.normal.T2.t_dummy).