Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001.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.001707/0.001707, allocations: 100.4 kB / 19.72 MB, free: 428 kB / 13.93 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.002092/0.002092, allocations: 221.9 kB / 23.02 MB, free: 2.965 MB / 13.93 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.056/1.056, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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.07084/0.07084, allocations: 24.52 MB / 337.7 MB, free: 9.859 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_Heat_network_HC_SS_case_001",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_Heat_network_HC_SS_case_001",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 72.08 kB / 477.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0932/0.09538, allocations: 59.71 MB / 0.5248 GB, free: 2.484 MB / 378.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001): time 0.006482/0.1019, allocations: 7.672 MB / 0.5323 GB, free: 10.77 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.1047, allocations: 2.322 MB / 0.5346 GB, free: 8.441 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000575/0.1052, allocations: 63.5 kB / 0.5347 GB, free: 8.379 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.1058, allocations: 376.8 kB / 0.535 GB, free: 8.008 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.107, allocations: 0.9083 MB / 0.5359 GB, free: 7.094 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009167/0.1079, allocations: 0.6398 MB / 0.5365 GB, free: 6.453 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003474/0.1114, allocations: 4.031 MB / 0.5405 GB, free: 2.41 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003096/0.1145, allocations: 2.526 MB / 0.5429 GB, free: 15.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.1164, allocations: 1.757 MB / 0.5446 GB, free: 14.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002171/0.1185, allocations: 1.768 MB / 0.5464 GB, free: 12.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006216/0.1192, allocations: 0.4961 MB / 0.5469 GB, free: 11.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006742/0.1198, allocations: 0.4961 MB / 0.5473 GB, free: 11.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007495/0.1206, allocations: 1.247 MB / 0.5486 GB, free: 10.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.1218, allocations: 1.545 MB / 0.5501 GB, free: 8.492 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002741/0.1246, allocations: 5.491 MB / 0.5554 GB, free: 2.984 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1246, allocations: 0 / 0.5554 GB, free: 2.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1246, allocations: 0 / 0.5554 GB, free: 2.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.426e-05/0.1246, allocations: 0 / 0.5554 GB, free: 2.984 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 587 * Number of variables: 587 Notification: Performance of Generate backend data structure: time 0.2056/0.3302, allocations: 3.317 MB / 0.5587 GB, free: 34.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.3303, allocations: 10.41 kB / 0.5587 GB, free: 34.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007399/0.331, allocations: 326.4 kB / 0.559 GB, free: 34.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000598/0.3316, allocations: 300.2 kB / 0.5593 GB, free: 33.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.3339, allocations: 1.568 MB / 0.5608 GB, free: 33.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.334, allocations: 203.2 kB / 0.561 GB, free: 33.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000335/0.3344, allocations: 257.5 kB / 0.5612 GB, free: 32.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004971/0.3393, allocations: 3.054 MB / 0.5642 GB, free: 31.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.835e-05/0.3394, allocations: 0.9844 kB / 0.5642 GB, free: 31.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.3396, allocations: 90.97 kB / 0.5643 GB, free: 31.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/0.3396, allocations: 59.78 kB / 0.5644 GB, free: 31.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00376/0.3434, allocations: 2.772 MB / 0.5671 GB, free: 30.42 MB / 410.7 MB Error: Internal error Circular Equalities Detected for Variables: ---------------------------------- Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005976/0.3493, allocations: 4.585 MB / 0.5716 GB, free: 28.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008829/0.3582, allocations: 6.172 MB / 0.5776 GB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005992/0.3642, allocations: 3.837 MB / 0.5813 GB, free: 24.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.3644, allocations: 69.22 kB / 0.5814 GB, free: 24.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/0.3645, allocations: 96.48 kB / 0.5815 GB, free: 24.12 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001927/0.3664, allocations: 0.5845 MB / 0.5821 GB, free: 23.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=587): time 1.813e-05/0.3664, allocations: 0 / 0.5821 GB, free: 23.83 MB / 410.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! Found empty set of continuous equations. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.3914403207600117]