Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001867/0.001867, allocations: 111 kB / 22 MB, free: 4.559 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.002048/0.002048, allocations: 213.5 kB / 25.3 MB, free: 2.906 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.633/1.633, allocations: 207.7 MB / 236.2 MB, free: 9.77 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.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_3.2.3_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_3.2.3_Modelica.StateGraph.Examples.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/2.957e-05, allocations: 2.281 kB / 348.5 MB, free: 9.398 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.006951/0.006981, allocations: 3.504 MB / 352 MB, free: 5.867 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005496/0.01248, allocations: 2.402 MB / 354.4 MB, free: 3.453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.01369, allocations: 31.75 kB / 354.4 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.01564, allocations: 0.5756 MB / 355 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.0176, allocations: 453.8 kB / 355.5 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003556/0.02115, allocations: 1.061 MB / 356.5 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004221/0.02537, allocations: 2.438 MB / 359 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/0.0277, allocations: 1.102 MB / 360.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.02951, allocations: 0.935 MB / 361 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.03095, allocations: 0.7274 MB / 361.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005594/0.03151, allocations: 208 kB / 361.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008812/0.03239, allocations: 315.8 kB / 362.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003356/0.03575, allocations: 2.783 MB / 365 MB, free: 8.781 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001806/0.03755, allocations: 1.639 MB / 366.7 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005821/0.03814, allocations: 87.94 kB / 366.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0006198/0.03876, allocations: 166.8 kB / 366.9 MB, free: 6.871 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: 313 (308) * Number of variables: 313 (306) Notification: Performance of [SIM] Bindings: time 0.009815/0.04857, allocations: 6.09 MB / 373 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001879/0.05045, allocations: 0.972 MB / 374 MB, free: 15.54 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.004895/0.05535, allocations: 4.061 MB / 378 MB, free: 11.43 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001379/0.05672, allocations: 0.5832 MB / 378.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.009524/0.06625, allocations: 6.068 MB / 384.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008526/0.0671, allocations: 428.9 kB / 385.1 MB, free: 3.512 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005053/0.06761, allocations: 361.4 kB / 385.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001844/0.06945, allocations: 1.185 MB / 386.6 MB, free: 1.832 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0009327/0.07038, allocations: 0.5021 MB / 387.1 MB, free: 1.301 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.234/0.3044, allocations: 1.354 MB / 388.5 MB, free: 37.52 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.008132/0.3125, allocations: 3.687 MB / 392.2 MB, free: 37.29 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003403/0.3159, allocations: 2.918 MB / 395.1 MB, free: 37.29 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.007783/0.3237, allocations: 1.958 MB / 397.1 MB, free: 36.68 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.004817/0.3285, allocations: 4.161 MB / 401.2 MB, free: 34.39 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0003048/0.3288, allocations: 101.9 kB / 401.3 MB, free: 34.32 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.000843/0.3296, allocations: 0.7281 MB / 402 MB, free: 33.82 MB / 318.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) stop.reset[1] = start.on ($RES_SIM_382); [SCAL] (1) shut.reset[2] = stop.on ($RES_SIM_381); [SCAL] (1) shut.reset[1] = start.on ($RES_SIM_380); [SCAL] (1) $SEV_29 = shut.table.realToBoolean.u >= shut.table.realToBoolean.threshold ($RES_EVT_448); [SCAL] (1) $SEV_27 = stop.table.realToBoolean.u >= stop.table.realToBoolean.threshold ($RES_EVT_446); [SCAL] (1) $SEV_25 = start.table.realToBoolean.u >= start.table.realToBoolean.threshold ($RES_EVT_444); Notification: Performance of [INI] Causalize: time 0.01365/0.3433, allocations: 9.542 MB / 411.6 MB, free: 30.5 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.001934/0.3452, allocations: 1.754 MB / 413.3 MB, free: 28.87 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 2.675e-06/0.3452, allocations: 0 / 413.3 MB, free: 28.87 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005158/0.3457, allocations: 260.7 kB / 413.6 MB, free: 28.65 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.441e-05/0.3458, allocations: 6 kB / 413.6 MB, free: 28.64 MB / 318.1 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7956543110194616] 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.35577620001276955 0.365595659 0.324468276 Calling exit ...