Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_case_studies.Heat_network.HN_heating_station_control.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.000759/0.000759, allocations: 84.22 kB / 20.84 MB, free: 3.684 MB / 18.57 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.0007644/0.0007644, allocations: 165.7 kB / 24.13 MB, free: 396 kB / 18.57 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 0.8906/0.8906, allocations: 177.1 MB / 204.4 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.0585/0.0585, allocations: 18.13 MB / 279 MB, free: 11.48 MB / 266.7 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.ThermSys_case_studies.Heat_network.HN_heating_station_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.Heat_network.HN_heating_station_control") translateModel(AES.Coursework.ThermSys_case_studies.Heat_network.HN_heating_station_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.Heat_network.HN_heating_station_control") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.662e-05, allocations: 2.312 kB / 417.4 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.Heat_network.HN_heating_station_control): time 0.005042/0.005069, allocations: 5.409 MB / 422.8 MB, free: 8.406 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00365/0.008719, allocations: 1.843 MB / 424.7 MB, free: 7.086 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004723/0.009191, allocations: 34.16 kB / 424.7 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.009522, allocations: 219.9 kB / 424.9 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007571/0.01028, allocations: 0.5495 MB / 425.5 MB, free: 6.551 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009995/0.01128, allocations: 0.5927 MB / 426.1 MB, free: 6.195 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.01286, allocations: 2.306 MB / 428.4 MB, free: 5.055 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.01387, allocations: 1.142 MB / 429.5 MB, free: 4.328 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.01491, allocations: 0.9359 MB / 430.4 MB, free: 3.918 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009651/0.01587, allocations: 0.7777 MB / 431.2 MB, free: 3.633 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.01612, allocations: 182.4 kB / 431.4 MB, free: 3.633 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.01646, allocations: 212.5 kB / 431.6 MB, free: 3.629 MB / 330.7 MB Notification: Performance of combineBinaries: time 0.001825/0.01828, allocations: 2.835 MB / 434.4 MB, free: 1.906 MB / 330.7 MB Notification: Performance of replaceArrayConstructors: time 0.0007957/0.01908, allocations: 1.571 MB / 436 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.01932, allocations: 116.2 kB / 436.1 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0001081/0.01943, allocations: 42 kB / 436.2 MB, free: 0.8867 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 (237) * Number of variables: 369 (229) Notification: Performance of [SIM] Bindings: time 0.005202/0.02463, allocations: 7.113 MB / 443.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.001055/0.02569, allocations: 1.25 MB / 444.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of [SIM] Early Inline: time 0.003099/0.02879, allocations: 5.052 MB / 449.6 MB, free: 6.855 MB / 346.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0006231/0.02941, allocations: 0.6764 MB / 450.3 MB, free: 6.133 MB / 346.7 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.00506/0.03447, allocations: 6.348 MB / 456.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of [SIM] Simplify 2: time 0.0004596/0.03493, allocations: 0.5244 MB / 457.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0003442/0.03527, allocations: 467.6 kB / 457.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of [SIM] Detect States: time 0.0009191/0.03619, allocations: 1.232 MB / 458.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of [SIM] Events: time 0.0002143/0.03641, allocations: 251.5 kB / 459.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of [SIM] Partitioning: time 0.001065/0.03747, allocations: 1.438 MB / 460.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of [SIM] Causalize: time 0.002509/0.03998, allocations: 3.016 MB / 463.5 MB, free: 8.145 MB / 362.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001632/0.04161, allocations: 2.899 MB / 466.4 MB, free: 5.242 MB / 362.7 MB Notification: Performance of [INI] Simplify: time 0.001788/0.0434, allocations: 1.889 MB / 468.3 MB, free: 3.266 MB / 362.7 MB Notification: Performance of [INI] Inline: time 0.003018/0.04642, allocations: 5.494 MB / 473.8 MB, free: 13.75 MB / 378.7 MB Notification: Performance of [INI] Partitioning: time 0.0001109/0.04653, allocations: 76.06 kB / 473.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of [INI] Cleanup: time 0.0009261/0.04745, allocations: 1.639 MB / 475.5 MB, free: 12.01 MB / 378.7 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $DER.Vload.w = 0.0 ($RES_SIM_8); [SCAL] (1) EV.Mgas = EV.MM * EV.V * EV.p0 * (1.0 - EV.lfracstart) / EV.T0 / 8.31446261815324 ($RES_BND_390); Notification: Performance of [INI] Causalize: time 0.01778/0.06523, allocations: 21.56 MB / 497.1 MB, free: 6.176 MB / 394.7 MB Notification: Performance of [INI] Tearing: time 0.0007909/0.06602, allocations: 0.9908 MB / 498.1 MB, free: 5.176 MB / 394.7 MB Notification: Performance of [SIM] Initialization: time 1.253e-06/0.06602, allocations: 0 / 498.1 MB, free: 5.176 MB / 394.7 MB Notification: Performance of [SIM] DAE-Mode: time 0.0007511/0.06677, allocations: 0.6525 MB / 498.7 MB, free: 4.52 MB / 394.7 MB Notification: Performance of [SIM] Remove Dummies: time 7.123e-06/0.06678, allocations: 1 kB / 498.7 MB, free: 4.516 MB / 394.7 MB Notification: Performance of [SIM] Tearing: time 0.0003722/0.06715, allocations: 417.5 kB / 499.1 MB, free: 4.117 MB / 394.7 MB Notification: Performance of [SIM] Categorize: time 9.858e-06/0.06716, allocations: 4 kB / 499.1 MB, free: 4.113 MB / 394.7 MB Notification: Performance of [SIM] Solve: time 0.004184/0.07135, allocations: 4.006 MB / 0.4913 GB, free: 104 kB / 394.7 MB Notification: Performance of [SIM] Jacobian: time 0.007457/0.0788, allocations: 10.47 MB / 0.5016 GB, free: 5.105 MB / 410.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 6.883e-06/0.07881, allocations: 4 kB / 0.5016 GB, free: 5.102 MB / 410.7 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: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 47 (11) {P.hai, FlowCtrl.y, PI_dpHC.add1.u2, line.fluidStream.T, line.wall.wall.T, load.fluidStream.T, load.wall.wall.T, EV.lfrac, PI_To.add1.u2, PI_wh.add1.u2, Vload.w} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 14 (12) {$SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_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: ........... 79 (scalar:78, array:1, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 17 (resizable: 17, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 3, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 175 (scalar:174, array:1, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 21 (resizable: 21, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 5 (linear: 5, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 177 (scalar:176, array:1, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 21 (resizable: 21, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 5 (linear: 5, nonlinear:0) Notification: Performance of backend: time 8.939e-05/0.0789, allocations: 102.5 kB / 0.5017 GB, free: 5.012 MB / 410.7 MB Error: Internal error NSimStrongComponent.Block.createEquation failed with status Solve.EXPLICIT for [FOR-] (5) ($RES_SIM_257) [----] for $i1 in 1:5 loop [----] [SCAL] (1) $RES_SIM_257[$i1] = -(line.wall.wall.surfB.Q_flow[$i1] - line.wall.innerSurf.Q_flow[$i1]) ($RES_SIM_258) [----] end for; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8580633588135242] Failed to read output from testmodel.py, exit status != 0: 0.08737596403807402 0.094196557 0.073196627 Calling exit ...