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.001009/0.001009, allocations: 87.56 kB / 20.97 MB, free: 3.582 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.001098/0.001098, allocations: 177 kB / 24.28 MB, free: 280 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.9715/0.9715, allocations: 177.2 MB / 204.6 MB, free: 5.621 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.06523/0.06523, allocations: 18.14 MB / 279.2 MB, free: 11.39 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.495e-06/2.495e-06, allocations: 0 / 357.3 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.396e-05/3.646e-05, allocations: 5.266 kB / 357.3 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001): time 0.007893/0.00793, allocations: 8.691 MB / 366 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003974/0.0119, allocations: 2.314 MB / 368.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005714/0.01247, allocations: 63.5 kB / 368.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005907/0.01307, allocations: 372.7 kB / 368.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009706/0.01404, allocations: 0.9503 MB / 369.7 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007675/0.0148, allocations: 0.6396 MB / 370.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002889/0.01769, allocations: 4.127 MB / 374.4 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.01998, allocations: 2.655 MB / 377.1 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.02155, allocations: 1.727 MB / 378.8 MB, free: 2.488 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.02299, allocations: 1.738 MB / 380.5 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000405/0.0234, allocations: 0.4922 MB / 381 MB, free: 260 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004615/0.02386, allocations: 0.4961 MB / 381.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006994/0.02456, allocations: 1.302 MB / 382.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009054/0.02546, allocations: 1.376 MB / 384.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002442/0.02791, allocations: 3.004 MB / 387.2 MB, free: 10.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.02791, allocations: 8 kB / 387.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.02791, allocations: 0 / 387.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.02793, allocations: 0 / 387.2 MB, free: 10.05 MB / 314.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.003947/0.03188, allocations: 3.426 MB / 390.6 MB, free: 6.574 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.03192, allocations: 8.922 kB / 390.7 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005649/0.03249, allocations: 487.1 kB / 391.1 MB, free: 6.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.03406, allocations: 1.563 MB / 392.7 MB, free: 4.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.03421, allocations: 202.9 kB / 392.9 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000294/0.0345, allocations: 252.3 kB / 393.1 MB, free: 4.027 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/0.03712, allocations: 1.7 MB / 394.8 MB, free: 2.262 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.03716, allocations: 192 / 394.8 MB, free: 2.262 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.03732, allocations: 100.1 kB / 394.9 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.03736, allocations: 56 kB / 395 MB, free: 2.109 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.03915, allocations: 1.077 MB / 396.1 MB, free: 1.012 MB / 314.7 MB Error: Internal error Circular Equalities Detected for Variables: ---------------------------------- Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003261/0.04241, allocations: 3.631 MB / 399.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005587/0.048, allocations: 3.932 MB / 403.6 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002628/0.05063, allocations: 1.991 MB / 405.6 MB, free: 7.422 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.05079, allocations: 108.5 kB / 405.7 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.35e-05/0.05086, allocations: 97.98 kB / 405.8 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001132/0.05199, allocations: 0.5949 MB / 406.4 MB, free: 6.605 MB / 330.7 MB Notification: Performance of pre-optimization done (n=587): time 7.664e-06/0.052, allocations: 0 / 406.4 MB, free: 6.605 MB / 330.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.0197323141619563]