Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.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.001342/0.001342, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.001418/0.001418, allocations: 216.6 kB / 23.07 MB, free: 4.98 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.404/1.404, allocations: 230.7 MB / 256.9 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1036/0.1036, allocations: 24.05 MB / 337.3 MB, free: 11.3 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) 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(AES.Coursework.ElecSys_generator_models.SlidingPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.SlidingPressure") translateModel(AES.Coursework.ElecSys_generator_models.SlidingPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.SlidingPressure") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.161e-05, allocations: 5.234 kB / 474.4 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.004461/0.004483, allocations: 2.247 MB / 476.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.00634, allocations: 0.7831 MB / 477.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003046/0.006645, allocations: 15.88 kB / 477.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.006861, allocations: 47.47 kB / 477.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.007027, allocations: 51.48 kB / 477.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005398/0.007567, allocations: 186.7 kB / 477.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000521/0.008088, allocations: 415.7 kB / 478.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.008325, allocations: 97.06 kB / 478.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.008508, allocations: 151.4 kB / 478.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.008658, allocations: 111.3 kB / 478.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.462e-05/0.008702, allocations: 24 kB / 478.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.68e-05/0.008749, allocations: 28 kB / 478.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0005322/0.009281, allocations: 0.5755 MB / 479.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002488/0.00953, allocations: 402.5 kB / 479.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.009564, allocations: 20 kB / 479.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.724e-05/0.009641, allocations: 27.8 kB / 479.5 MB, free: 0.6992 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 (52) * Number of variables: 52 (52) Notification: Performance of [SIM] Bindings: time 0.001444/0.01109, allocations: 1.385 MB / 480.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001545/0.01124, allocations: 141.2 kB / 481.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.0005989/0.01184, allocations: 0.5857 MB / 481.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002336/0.01207, allocations: 153.8 kB / 481.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.00183/0.0139, allocations: 1.298 MB / 483.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001593/0.01406, allocations: 120.6 kB / 483.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 9.02e-05/0.01415, allocations: 76.31 kB / 483.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0002573/0.01441, allocations: 172.7 kB / 483.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.0001252/0.01453, allocations: 44.73 kB / 483.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002799/0.01481, allocations: 204.1 kB / 483.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.0005053/0.01532, allocations: 340.6 kB / 484 MB, free: 11.59 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003792/0.0157, allocations: 359.5 kB / 484.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.0005391/0.01624, allocations: 338.5 kB / 484.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.000555/0.01679, allocations: 0.5282 MB / 485.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 2.882e-05/0.01682, allocations: 18.75 kB / 485.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 0.000145/0.01697, allocations: 141.2 kB / 485.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.002479/0.01944, allocations: 1.748 MB / 487.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 3.497e-05/0.01948, allocations: 36 kB / 487.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 4.51e-07/0.01948, allocations: 0 / 487.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0002113/0.01969, allocations: 152.1 kB / 487.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.526e-06/0.0197, allocations: 7.953 kB / 487.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 1.507e-05/0.01972, allocations: 20 kB / 487.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 1.139e-05/0.01973, allocations: 7.938 kB / 487.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.0006554/0.02038, allocations: 497.6 kB / 487.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.0005377/0.02092, allocations: 0.5116 MB / 488.4 MB, free: 7.074 MB / 350.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 4 (4) {F.y, S.y, T.y, PIp.I.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {$SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 22 (scalar:22, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 36 (scalar:36, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 36 (scalar:36, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.503e-05/0.02097, allocations: 31.77 kB / 488.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of SimCode: time 0.001238/0.02221, allocations: 1.027 MB / 489.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of Templates: time 0.006136/0.02835, allocations: 2.391 MB / 491.8 MB, free: 3.621 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe ; mkfifo AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe >> ../files/AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.sim & ./AES_AES.Coursework.ElecSys_generator_models.SlidingPressure -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.322942764032632] Failed to read output from testmodel.py, exit status != 0: 0.03725164296338335 0.050215085000000007 0.037705687 Calling exit ...