Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.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.002181/0.002181, allocations: 109.5 kB / 22 MB, free: 5.223 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.001991/0.001991, allocations: 217.5 kB / 25.3 MB, free: 2.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 207.7 MB / 236.2 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,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_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,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_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.164e-05, allocations: 2.281 kB / 348.5 MB, free: 9.395 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03414/0.03416, allocations: 25.37 MB / 373.9 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.04865, allocations: 6.93 MB / 380.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002815/0.05147, allocations: 71.38 kB / 380.9 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003509/0.05498, allocations: 0.9985 MB / 381.9 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005604/0.06058, allocations: 1.601 MB / 383.5 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007037/0.06762, allocations: 2.257 MB / 385.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2378/0.3055, allocations: 5.616 MB / 391.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004598/0.3101, allocations: 1.843 MB / 393.2 MB, free: 15.08 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007076/0.3171, allocations: 2.254 MB / 395.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005438/0.3226, allocations: 1.644 MB / 397.1 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001573/0.3241, allocations: 308.1 kB / 397.4 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004379/0.3285, allocations: 0.8818 MB / 398.3 MB, free: 14.76 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.007538/0.3361, allocations: 5.184 MB / 403.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.003266/0.3393, allocations: 3.036 MB / 406.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.3406, allocations: 190.6 kB / 406.7 MB, free: 10.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0009085/0.3415, allocations: 197.5 kB / 406.9 MB, free: 10.92 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: 521 (476) * Number of variables: 521 (470) Notification: Performance of [SIM] Bindings: time 0.01501/0.3565, allocations: 12.25 MB / 419.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002892/0.3594, allocations: 1.661 MB / 420.8 MB, free: 6.344 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.01092/0.3703, allocations: 10.2 MB / 431 MB, free: 152 kB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.004208/0.3745, allocations: 1.397 MB / 432.4 MB, free: 15.3 MB / 334.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.01974/0.3943, allocations: 10.27 MB / 442.7 MB, free: 4.48 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.002663/0.3969, allocations: 1.232 MB / 443.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001201/0.3981, allocations: 0.7098 MB / 444.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.003011/0.4012, allocations: 2.055 MB / 446.7 MB, free: 304 kB / 334.1 MB Notification: Performance of [SIM] Events: time 0.002346/0.4035, allocations: 1.34 MB / 448 MB, free: 14.98 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.004555/0.4081, allocations: 3.205 MB / 451.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.01397/0.422, allocations: 7.47 MB / 458.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00972/0.4317, allocations: 7.258 MB / 465.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.01435/0.4461, allocations: 4.141 MB / 470.1 MB, free: 8.531 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.01744/0.4635, allocations: 11.78 MB / 481.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.001074/0.4646, allocations: 194.2 kB / 482 MB, free: 12.59 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.003376/0.468, allocations: 1.616 MB / 483.6 MB, free: 11 MB / 382.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $SEV_29 = shut.table.realToBoolean.u >= shut.table.realToBoolean.threshold ($RES_EVT_705); [SCAL] (1) $SEV_27 = stop.table.realToBoolean.u >= stop.table.realToBoolean.threshold ($RES_EVT_703); [SCAL] (1) $SEV_25 = start.table.realToBoolean.u >= start.table.realToBoolean.threshold ($RES_EVT_701); [SCAL] (1) $PRE.shut.table.y = $START.shut.table.y ($RES_SRT_791); [SCAL] (1) shut.on = $START.shut.on ($RES_SRT_790); [SCAL] (1) $PRE.stop.table.y = $START.stop.table.y ($RES_SRT_789); [SCAL] (1) stop.on = $START.stop.on ($RES_SRT_788); [SCAL] (1) $PRE.start.table.y = $START.start.table.y ($RES_SRT_787); [SCAL] (1) start.on = $START.start.on ($RES_SRT_786); Notification: Performance of [INI] Causalize: time 0.03465/0.5026, allocations: 17.68 MB / 0.4896 GB, free: 9.059 MB / 398.1 MB Notification: Performance of [INI] Tearing: time 0.0111/0.5137, allocations: 7.571 MB / 0.497 GB, free: 1.137 MB / 398.1 MB Notification: Performance of [SIM] Initialization: time 3.747e-06/0.5137, allocations: 0 / 0.497 GB, free: 1.137 MB / 398.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001937/0.5157, allocations: 1.034 MB / 0.498 GB, free: 16 MB / 414.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.917e-05/0.5157, allocations: 6.812 kB / 0.498 GB, free: 15.99 MB / 414.1 MB " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.1586421520332806] Failed to read output from testmodel.py, exit status != 0: ['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'] 0.5252171159954742 0.5405088739999999 0.19553091800000003 Calling exit ...