Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.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.00139/0.00139, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.001603/0.001603, allocations: 216 kB / 23 MB, free: 4.973 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.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1054/0.1054, allocations: 24.13 MB / 337.3 MB, free: 11.27 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.Typical_control_structures.Hi_gain_linearising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising") translateModel(AES.Coursework.Typical_control_structures.Hi_gain_linearising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.573e-05, allocations: 6.219 kB / 475.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.002426/0.002452, allocations: 0.9886 MB / 476.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.004367, allocations: 1.268 MB / 477.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.488e-05/0.004442, allocations: 4 kB / 477.4 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.004736, allocations: 55.69 kB / 477.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.004945, allocations: 67.67 kB / 477.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.005198, allocations: 119.8 kB / 477.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006098/0.005808, allocations: 455.2 kB / 478.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.005935, allocations: 21.72 kB / 478.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.006161, allocations: 163.5 kB / 478.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.006336, allocations: 119.5 kB / 478.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.006376, allocations: 16 kB / 478.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.828e-05/0.006414, allocations: 12 kB / 478.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0003237/0.006738, allocations: 328.8 kB / 478.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001406/0.006879, allocations: 189.6 kB / 478.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.006908, allocations: 8 kB / 478.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.219e-05/0.00693, allocations: 3.938 kB / 479 MB, free: 1.262 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: 24 (21) * Number of variables: 24 (18) Notification: Performance of [SIM] Bindings: time 0.001067/0.007997, allocations: 0.8817 MB / 479.8 MB, free: 260 kB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001339/0.008131, allocations: 97.19 kB / 479.9 MB, free: 148 kB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003891/0.00852, allocations: 375.8 kB / 480.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002194/0.00874, allocations: 164.6 kB / 480.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.0006718/0.009412, allocations: 430.3 kB / 480.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002159/0.009628, allocations: 158.5 kB / 481 MB, free: 14.84 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 6.884e-05/0.009696, allocations: 60.33 kB / 481.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0002303/0.009927, allocations: 160.6 kB / 481.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of [SIM] Events: time 6.344e-05/0.00999, allocations: 26.59 kB / 481.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002041/0.01019, allocations: 153.9 kB / 481.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.0004498/0.01064, allocations: 236.5 kB / 481.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000361/0.011, allocations: 303.7 kB / 482 MB, free: 13.82 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.0006745/0.01168, allocations: 399.6 kB / 482.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.0005145/0.01219, allocations: 0.532 MB / 482.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 3.494e-05/0.01223, allocations: 20.11 kB / 482.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 7.22e-05/0.0123, allocations: 75.91 kB / 483 MB, free: 12.72 MB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.001524/0.01383, allocations: 1.086 MB / 484.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 0.0001115/0.01394, allocations: 72.5 kB / 484.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 5.01e-07/0.01394, allocations: 0 / 484.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.637e-06/0.01394, allocations: 0 / 484.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 6.219e-05/0.014, allocations: 51.91 kB / 484.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 7.113e-06/0.01401, allocations: 4 kB / 484.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.00048/0.01449, allocations: 280.4 kB / 484.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.0004507/0.01494, allocations: 310 kB / 484.8 MB, free: 10.89 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: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 6 (3) {Pol.x_scaled, Pcl.x_scaled, C.x_scaled} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {$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: ........... 13 (scalar:7, array:6, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 31 (scalar:22, array:9, 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 6.664e-05/0.01501, allocations: 19.5 kB / 484.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of SimCode: time 0.0014/0.01641, allocations: 0.9555 MB / 485.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of Templates: time 0.005908/0.02232, allocations: 2.296 MB / 488 MB, free: 7.605 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.sim & ./AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.427003275137395] Failed to read output from testmodel.py, exit status != 0: 0.030790057964622974 0.043916722000000005 0.034209425 Calling exit ...