Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.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.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 112.1 kB / 16.43 MB, free: 6.5 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.001067/0.001067, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08607/0.08607, allocations: 22.32 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.08e-05, allocations: 5.234 kB / 437.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst): time 0.004681/0.004722, allocations: 3.398 MB / 441.1 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.005966, allocations: 0.6308 MB / 441.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.006173, allocations: 12 kB / 441.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.006414, allocations: 79.11 kB / 441.8 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.006767, allocations: 130.7 kB / 441.9 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005961/0.007371, allocations: 306.9 kB / 442.2 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007464/0.008125, allocations: 0.7448 MB / 443 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004938/0.008627, allocations: 334.3 kB / 443.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.008918, allocations: 251.1 kB / 443.6 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.009235, allocations: 282.7 kB / 443.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.014e-05/0.009332, allocations: 60 kB / 443.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.712e-05/0.009425, allocations: 64 kB / 443.9 MB, free: 5.555 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0006506/0.01008, allocations: 0.9345 MB / 444.9 MB, free: 4.609 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003312/0.01042, allocations: 0.5771 MB / 445.5 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.01054, allocations: 107.6 kB / 445.6 MB, free: 3.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.105e-05/0.01064, allocations: 27.75 kB / 445.6 MB, free: 3.891 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: 137 (133) * Number of variables: 137 (133) Notification: Performance of Bindings: time 0.00257/0.01322, allocations: 2.797 MB / 448.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001947/0.01342, allocations: 147.8 kB / 448.5 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001391/0.01482, allocations: 1.425 MB / 450 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001126/0.01495, allocations: 123.8 kB / 450.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of Alias: time 0.003576/0.01853, allocations: 3.008 MB / 453.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simplify2: time 8.289e-05/0.01862, allocations: 83.89 kB / 453.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of Events: time 0.0001933/0.01883, allocations: 158.3 kB / 453.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of Detect States: time 0.0003723/0.01921, allocations: 335.2 kB / 453.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0004224/0.01964, allocations: 401.9 kB / 454 MB, free: 10.88 MB / 334.1 MB Notification: Performance of Causalize: time 0.001844/0.02149, allocations: 1.541 MB / 455.6 MB, free: 9.309 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008492/0.02235, allocations: 0.9007 MB / 456.5 MB, free: 8.379 MB / 334.1 MB Notification: Performance of Inline: time 0.001471/0.02383, allocations: 1.436 MB / 457.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of Partitioning: time 9.837e-05/0.02394, allocations: 83.61 kB / 458 MB, free: 6.82 MB / 334.1 MB Notification: Performance of Cleanup: time 0.0001713/0.02412, allocations: 180.1 kB / 458.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of Causalize: time 0.008338/0.03246, allocations: 7.171 MB / 465.3 MB, free: 15.41 MB / 350.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!