Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.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.00143/0.00143, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 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.001906/0.001906, allocations: 215.3 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.594/1.594, allocations: 230.5 MB / 258.2 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5035,variableFilter="time|tank1.level|tank2.level|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.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks") translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5035,variableFilter="time|tank1.level|tank2.level|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.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.638e-05, allocations: 6.219 kB / 379 MB, free: 2.348 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.2848/0.2848, allocations: 3.601 MB / 382.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005097/0.2899, allocations: 2.668 MB / 385.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008787/0.2908, allocations: 34.91 kB / 385.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.2924, allocations: 0.5777 MB / 385.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.294, allocations: 0.5075 MB / 386.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.2972, allocations: 1.018 MB / 387.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0044/0.3016, allocations: 2.56 MB / 390 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.3038, allocations: 1.119 MB / 391.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.3054, allocations: 0.9729 MB / 392.1 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.3066, allocations: 0.7481 MB / 392.8 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003222/0.3069, allocations: 220.7 kB / 393 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007244/0.3076, allocations: 319.1 kB / 393.3 MB, free: 7.945 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002489/0.3101, allocations: 2.89 MB / 396.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001348/0.3115, allocations: 1.688 MB / 397.9 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005204/0.312, allocations: 87.28 kB / 398 MB, free: 4.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0005651/0.3125, allocations: 178.5 kB / 398.2 MB, free: 4.59 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 (308) * Number of variables: 319 (309) Notification: Performance of [SIM] Bindings: time 0.007555/0.3201, allocations: 6.304 MB / 404.5 MB, free: 264 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001489/0.3216, allocations: 1.051 MB / 405.5 MB, free: 15.37 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.007406/0.329, allocations: 4.2 MB / 409.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.003365/0.3324, allocations: 0.597 MB / 410.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01136/0.3437, allocations: 5.93 MB / 416.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001067/0.3448, allocations: 457.1 kB / 416.7 MB, free: 6.199 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005182/0.3453, allocations: 373.4 kB / 417.1 MB, free: 5.793 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.002087/0.3474, allocations: 1.267 MB / 418.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0009727/0.3484, allocations: 0.5222 MB / 418.9 MB, free: 3.887 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.002036/0.3504, allocations: 1.386 MB / 420.3 MB, free: 2.48 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.00629/0.3567, allocations: 3.745 MB / 424 MB, free: 14.67 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003856/0.3605, allocations: 3.013 MB / 427 MB, free: 11.65 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.007866/0.3684, allocations: 2.065 MB / 429.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.005183/0.3736, allocations: 4.295 MB / 433.4 MB, free: 5.199 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0003311/0.3739, allocations: 106.7 kB / 433.5 MB, free: 5.066 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0009331/0.3749, allocations: 0.769 MB / 434.2 MB, free: 4.297 MB / 334.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $PRE.shut.table.y = $START.shut.table.y ($RES_SRT_480); [SCAL] (1) $PRE.stop.table.y = $START.stop.table.y ($RES_SRT_478); [SCAL] (1) $PRE.start.table.y = $START.start.table.y ($RES_SRT_476); Notification: Performance of [INI] Causalize: time 0.01727/0.3921, allocations: 10.13 MB / 444.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 0.002053/0.3942, allocations: 1.305 MB / 445.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 2.835e-06/0.3942, allocations: 0 / 445.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005906/0.3948, allocations: 263.1 kB / 445.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.605e-05/0.3948, allocations: 9.938 kB / 445.9 MB, free: 8.273 MB / 350.1 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7896245780284517] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank2.level', '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.makeProduct.T1.enableFire', 'tankController.makeProduct.T2.enableFire', 'tankController.makeProduct.T3.enableFire', 'tankController.makeProduct.T4.enableFire'] 0.403486930008512 0.418480511 0.10258293700000001 Calling exit ...