Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.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.001679/0.001679, allocations: 99.61 kB / 21.25 MB, free: 0.5547 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.001597/0.001597, allocations: 207 kB / 24.55 MB, free: 3.828 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.545/1.545, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.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_4.1.0_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_4.1.0_Modelica.StateGraph.Examples.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.471e-05, allocations: 2.281 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.2202/0.2202, allocations: 3.596 MB / 382.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005987/0.2262, allocations: 2.674 MB / 385.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.2272, allocations: 34.47 kB / 385.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.2289, allocations: 0.5763 MB / 385.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.2308, allocations: 0.5108 MB / 386.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003783/0.2346, allocations: 1.02 MB / 387.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004304/0.2389, allocations: 2.561 MB / 390 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.2412, allocations: 1.12 MB / 391.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.2427, allocations: 0.971 MB / 392.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.2438, allocations: 0.7531 MB / 392.8 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003355/0.2441, allocations: 218 kB / 393.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007412/0.2449, allocations: 316.5 kB / 393.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002174/0.247, allocations: 2.893 MB / 396.3 MB, free: 6 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001415/0.2484, allocations: 1.687 MB / 397.9 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004893/0.2489, allocations: 91.34 kB / 398 MB, free: 4.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0005812/0.2495, allocations: 175.1 kB / 398.2 MB, free: 4.703 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.008241/0.2578, allocations: 6.301 MB / 404.5 MB, free: 396 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001378/0.2591, allocations: 1.047 MB / 405.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005864/0.265, allocations: 4.207 MB / 409.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002048/0.267, allocations: 0.5963 MB / 410.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01096/0.278, allocations: 5.931 MB / 416.3 MB, free: 6.879 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001103/0.2791, allocations: 443.2 kB / 416.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005501/0.2797, allocations: 381.4 kB / 417.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.002198/0.2819, allocations: 1.269 MB / 418.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.001043/0.2829, allocations: 0.5123 MB / 418.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.002333/0.2852, allocations: 1.401 MB / 420.3 MB, free: 2.637 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.005901/0.2911, allocations: 3.741 MB / 424 MB, free: 14.83 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003463/0.2946, allocations: 3.009 MB / 427 MB, free: 11.81 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.007467/0.3021, allocations: 2.066 MB / 429.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.005035/0.3071, allocations: 4.303 MB / 433.4 MB, free: 5.367 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0003279/0.3074, allocations: 106.7 kB / 433.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0009407/0.3084, allocations: 0.7612 MB / 434.3 MB, free: 4.473 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.01697/0.3253, allocations: 10.13 MB / 444.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 0.001959/0.3273, allocations: 1.305 MB / 445.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 2.755e-06/0.3273, allocations: 0 / 445.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005419/0.3278, allocations: 258.8 kB / 445.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.351e-05/0.3279, allocations: 2 kB / 446 MB, free: 8.453 MB / 350.1 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6607668880023994] 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.33609880396397784 0.351814767 0.09908860499999994 Calling exit ...