Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen") translateModel(AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 109.4 kB / 16.42 MB, free: 6.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002146/0.002146, allocations: 187.2 kB / 17.36 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08696/0.08696, allocations: 22.32 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.373e-05, allocations: 2.281 kB / 437.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Temperature_control_pipes.Tcontrol_pipes_sensor_dynamics_01_gen): time 0.004084/0.004131, allocations: 1.768 MB / 439.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003708/0.007857, allocations: 1.736 MB / 441.2 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000499/0.008372, allocations: 11.94 kB / 441.2 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008312/0.009217, allocations: 202.8 kB / 441.4 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009343/0.01019, allocations: 254.8 kB / 441.6 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.01133, allocations: 407.3 kB / 442 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002108/0.01345, allocations: 1.307 MB / 443.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/0.01377, allocations: 116.9 kB / 443.5 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009007/0.01468, allocations: 462.5 kB / 443.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007671/0.01546, allocations: 386.4 kB / 444.3 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.01567, allocations: 59.88 kB / 444.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.01587, allocations: 52 kB / 444.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001135/0.01701, allocations: 1.051 MB / 445.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006477/0.01767, allocations: 0.6313 MB / 446.1 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.01786, allocations: 75.62 kB / 446.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.708e-05/0.01797, allocations: 27.81 kB / 446.2 MB, free: 3.266 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 (67) * Number of variables: 69 (65) Notification: Performance of Bindings: time 0.003442/0.02142, allocations: 2.61 MB / 448.8 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001543/0.02159, allocations: 95.81 kB / 448.9 MB, free: 444 kB / 318.1 MB Notification: Performance of Early Inline: time 0.001584/0.02318, allocations: 0.9599 MB / 449.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simplify1: time 0.0002205/0.02341, allocations: 119.8 kB / 450 MB, free: 15.33 MB / 334.1 MB Notification: Performance of Alias: time 0.002539/0.02597, allocations: 1.338 MB / 451.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simplify2: time 0.000213/0.02619, allocations: 107.8 kB / 451.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of Events: time 0.0001574/0.02636, allocations: 91.83 kB / 451.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of Detect States: time 0.0005189/0.02689, allocations: 328.9 kB / 451.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0004771/0.02738, allocations: 296.2 kB / 452.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of Causalize: time 0.001781/0.02918, allocations: 1.01 MB / 453.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.001328/0.03052, allocations: 0.8312 MB / 453.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of Inline: time 0.003873/0.03441, allocations: 2.258 MB / 456.2 MB, free: 8.805 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001697/0.03459, allocations: 99.61 kB / 456.3 MB, free: 8.703 MB / 334.1 MB Notification: Performance of Cleanup: time 0.000156/0.03476, allocations: 67.91 kB / 456.4 MB, free: 8.637 MB / 334.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {C4.bb[2], C4.bb[3]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: C4.bb[2:3]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) C4.y = (C4.bb[2:3] - C4.d * C4.a[2:3]) / (C4.a_end * C4.x_scaled) + C4.d * fb4.y ($RES_SIM_11) Error: Internal error NBInitialization.main failed to apply modules!