Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 100 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 186.9 kB / 24.53 MB, free: 3.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 225.7 MB / 253.4 MB, free: 12.78 MB / 206.1 MB " [Timeout remaining time 178] 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.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.0.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.0.0_Modelica.StateGraph.Examples.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.516e-05, allocations: 2.281 kB / 371.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.006001/0.006026, allocations: 3.536 MB / 375.2 MB, free: 5.625 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005276/0.0113, allocations: 2.521 MB / 377.8 MB, free: 3.094 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009155/0.01222, allocations: 31.81 kB / 377.8 MB, free: 3.062 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.01406, allocations: 0.5833 MB / 378.4 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.01546, allocations: 445.8 kB / 378.8 MB, free: 2.039 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.01819, allocations: 1.123 MB / 379.9 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2464/0.2646, allocations: 2.494 MB / 382.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002134/0.2667, allocations: 1.121 MB / 383.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.2686, allocations: 0.9716 MB / 384.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.2699, allocations: 0.7467 MB / 385.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000362/0.2703, allocations: 215.9 kB / 385.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006823/0.271, allocations: 324.6 kB / 385.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002413/0.2734, allocations: 2.845 MB / 388.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001208/0.2746, allocations: 1.652 MB / 390.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003559/0.2749, allocations: 86.5 kB / 390.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0005455/0.2755, allocations: 184.4 kB / 390.6 MB, free: 10.79 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.006995/0.2825, allocations: 6.237 MB / 396.8 MB, free: 7.035 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001332/0.2838, allocations: 1.036 MB / 397.8 MB, free: 6.395 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.004637/0.2884, allocations: 4.206 MB / 402 MB, free: 3.734 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001773/0.2902, allocations: 0.6099 MB / 402.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.008935/0.2991, allocations: 5.921 MB / 408.6 MB, free: 15.78 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008849/0.3, allocations: 445.9 kB / 409 MB, free: 15.46 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000508/0.3005, allocations: 370.9 kB / 409.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001992/0.3025, allocations: 1.281 MB / 410.6 MB, free: 14.08 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0008278/0.3034, allocations: 0.5112 MB / 411.2 MB, free: 13.74 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.00179/0.3052, allocations: 1.396 MB / 412.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.006329/0.3115, allocations: 3.747 MB / 416.3 MB, free: 9.387 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003618/0.3151, allocations: 3.013 MB / 419.3 MB, free: 6.371 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.008099/0.3232, allocations: 2.051 MB / 421.4 MB, free: 4.262 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.005377/0.3286, allocations: 4.279 MB / 425.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0003636/0.3289, allocations: 110.6 kB / 425.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.001312/0.3302, allocations: 0.7683 MB / 426.5 MB, free: 15.06 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.01884/0.3491, allocations: 10.12 MB / 436.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.001927/0.351, allocations: 1.301 MB / 437.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 2.365e-06/0.351, allocations: 0 / 437.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0006031/0.3516, allocations: 269.9 kB / 438.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.465e-05/0.3516, allocations: 2 kB / 438.2 MB, free: 3.055 MB / 334.1 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8510835090419278] 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.3604352920083329 0.375432776 0.096726135 Calling exit ...