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.001451/0.001451, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.001619/0.001619, allocations: 157.6 kB / 23.53 MB, free: 0.9023 MB / 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 1.564/1.564, allocations: 177.2 MB / 203.9 MB, free: 5.586 MB / 186.7 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.1083/0.1083, allocations: 18.14 MB / 278.5 MB, free: 11.32 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.HC_SS_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001") translateModel(AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 356.5 MB, free: 9.344 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.271e-05/3.486e-05, allocations: 2.312 kB / 356.5 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001): time 0.012/0.01203, allocations: 7.686 MB / 364.2 MB, free: 1.617 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006713/0.01874, allocations: 2.314 MB / 366.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.02081, allocations: 63.5 kB / 366.6 MB, free: 15.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.02234, allocations: 384.6 kB / 367 MB, free: 14.85 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003325/0.02567, allocations: 0.9271 MB / 367.9 MB, free: 13.92 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.02815, allocations: 0.6397 MB / 368.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.007115/0.03527, allocations: 4.127 MB / 372.7 MB, free: 9.141 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005718/0.04098, allocations: 2.635 MB / 375.3 MB, free: 6.441 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004144/0.04513, allocations: 1.688 MB / 377 MB, free: 4.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005196/0.05032, allocations: 1.66 MB / 378.7 MB, free: 3.086 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00199/0.05231, allocations: 0.5117 MB / 379.2 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.05456, allocations: 0.5117 MB / 379.7 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002014/0.05657, allocations: 1.298 MB / 381 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002496/0.05907, allocations: 1.388 MB / 382.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007397/0.06646, allocations: 5.794 MB / 388.2 MB, free: 9.562 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.441e-05/0.06648, allocations: 8 kB / 388.2 MB, free: 9.555 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.06648, allocations: 0 / 388.2 MB, free: 9.555 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001266/0.06661, allocations: 0 / 388.2 MB, free: 9.555 MB / 362.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.01025/0.07686, allocations: 3.334 MB / 391.5 MB, free: 6.172 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.07691, allocations: 12.92 kB / 391.5 MB, free: 6.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.07793, allocations: 479.1 kB / 392 MB, free: 5.691 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00306/0.08099, allocations: 1.596 MB / 393.6 MB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.08123, allocations: 206.9 kB / 393.8 MB, free: 3.836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005184/0.08175, allocations: 252.3 kB / 394 MB, free: 3.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006379/0.08813, allocations: 3.074 MB / 397.1 MB, free: 464 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.517e-05/0.08818, allocations: 8.141 kB / 397.1 MB, free: 456 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003021/0.08848, allocations: 96.12 kB / 397.2 MB, free: 360 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-05/0.08853, allocations: 56 kB / 397.3 MB, free: 304 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005602/0.09413, allocations: 2.814 MB / 400.1 MB, free: 13.47 MB / 378.7 MB Error: Internal error Circular Equalities Detected for Variables: ---------------------------------- Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008933/0.1031, allocations: 4.287 MB / 404.4 MB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01502/0.1181, allocations: 6.221 MB / 410.6 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00988/0.128, allocations: 3.853 MB / 414.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00053/0.1285, allocations: 104.6 kB / 414.5 MB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.1287, allocations: 91.17 kB / 414.6 MB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003136/0.1318, allocations: 0.587 MB / 415.2 MB, free: 14.28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=587): time 2.036e-05/0.1318, allocations: 4 kB / 415.2 MB, free: 14.28 MB / 394.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.639630478923209]