Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_case_studies.foo.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.001373/0.001373, 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.001673/0.001673, allocations: 209.1 kB / 23.06 MB, free: 4.984 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.447/1.447, allocations: 230.7 MB / 256.9 MB, free: 7.742 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.1064/0.1064, allocations: 24.03 MB / 337.3 MB, free: 11.41 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_case_studies.foo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_case_studies.foo") translateModel(AES.Coursework.ElecSys_case_studies.foo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_case_studies.foo") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.538e-05, allocations: 6.219 kB / 474.4 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_case_studies.foo): time 0.003626/0.003651, allocations: 1.829 MB / 476.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.004898, allocations: 0.5224 MB / 476.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.005034, allocations: 4 kB / 476.7 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.005347, allocations: 27.73 kB / 476.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.005602, allocations: 51.67 kB / 476.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.005839, allocations: 59.91 kB / 476.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.006255, allocations: 279.2 kB / 477.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.006419, allocations: 33.72 kB / 477.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.006725, allocations: 103.7 kB / 477.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.0069, allocations: 71.67 kB / 477.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.006941, allocations: 16 kB / 477.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-05/0.006982, allocations: 16 kB / 477.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0003188/0.007301, allocations: 317 kB / 477.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001618/0.007463, allocations: 181.6 kB / 477.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.007503, allocations: 8 kB / 477.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.219e-05/0.007536, allocations: 7.938 kB / 477.9 MB, free: 2.398 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: 26 (26) * Number of variables: 26 (26) Notification: Performance of [SIM] Bindings: time 0.001114/0.008649, allocations: 0.7985 MB / 478.7 MB, free: 1.473 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000144/0.008793, allocations: 83.83 kB / 478.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003592/0.009152, allocations: 336 kB / 479.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002345/0.009387, allocations: 130 kB / 479.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.001073/0.01046, allocations: 0.5921 MB / 479.8 MB, free: 168 kB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000183/0.01064, allocations: 126.6 kB / 479.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 6.447e-05/0.01071, allocations: 52.42 kB / 480 MB, free: 15.91 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0002248/0.01093, allocations: 140.7 kB / 480.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of [SIM] Events: time 6.576e-05/0.011, allocations: 19.94 kB / 480.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001762/0.01117, allocations: 120 kB / 480.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.0007348/0.01191, allocations: 0.5348 MB / 480.8 MB, free: 15 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000209/0.01212, allocations: 211.8 kB / 481 MB, free: 14.79 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.0005872/0.0127, allocations: 336.8 kB / 481.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.0003861/0.01309, allocations: 375.7 kB / 481.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 3.153e-05/0.01312, allocations: 20.06 kB / 481.7 MB, free: 14 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 8.207e-05/0.0132, allocations: 59.92 kB / 481.8 MB, free: 13.94 MB / 350.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) 0.0 = 0.0 ($RES_SIM_1); Notification: Performance of [INI] Causalize: time 0.001308/0.01451, allocations: 0.8421 MB / 482.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 7.365e-05/0.01459, allocations: 35.98 kB / 482.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 5.21e-07/0.01459, allocations: 0 / 482.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001978/0.01478, allocations: 140 kB / 482.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.999e-06/0.01479, allocations: 0 / 482.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 3.964e-05/0.01483, allocations: 31.98 kB / 482.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 9.438e-06/0.01484, allocations: 8 kB / 482.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.0009078/0.01575, allocations: 0.6224 MB / 483.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.001058/0.01681, allocations: 1.059 MB / 484.5 MB, free: 11.03 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: ............................. 4 (4) {Ge1.deltag, Ge1.wg, Ge1.thetap, 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: ........... 11 (scalar:10, array:1, 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: ........... 25 (scalar:24, array:1, 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 5.529e-05/0.01686, allocations: 22.44 kB / 484.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of SimCode: time 0.001032/0.01789, allocations: 0.725 MB / 485.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Templates: time 0.005695/0.02359, allocations: 1.982 MB / 487.2 MB, free: 8.281 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ElecSys_case_studies.foo.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_case_studies.foo.pipe ; mkfifo AES_AES.Coursework.ElecSys_case_studies.foo.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_case_studies.foo.pipe >> ../files/AES_AES.Coursework.ElecSys_case_studies.foo.sim & ./AES_AES.Coursework.ElecSys_case_studies.foo -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_case_studies.foo.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.494832612981554] Failed to read output from testmodel.py, exit status != 0: 0.03252400300698355 0.046636705 0.036184875000000005 Calling exit ...