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.001434/0.001434, allocations: 108.2 kB / 17.14 MB, free: 6.043 MB / 14.72 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.001634/0.001634, allocations: 208.5 kB / 20.11 MB, free: 3.086 MB / 14.72 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.487/1.487, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 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.1051/0.1051, allocations: 24.04 MB / 333.6 MB, free: 1.574 MB / 254.1 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: "" <> 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",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",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.00325/0.00325, allocations: 72.67 kB / 468.4 MB, free: 31.53 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1131, allocations: 59.55 MB / 0.5156 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001): time 0.01054/0.1237, allocations: 8.889 MB / 0.5243 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005052/0.1287, allocations: 2.361 MB / 0.5266 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.1301, allocations: 63.5 kB / 0.5266 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.1312, allocations: 376.8 kB / 0.527 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.1336, allocations: 0.9044 MB / 0.5279 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.1353, allocations: 0.6319 MB / 0.5285 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005512/0.1408, allocations: 4.004 MB / 0.5324 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004192/0.145, allocations: 2.779 MB / 0.5351 GB, free: 8.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00353/0.1485, allocations: 1.757 MB / 0.5368 GB, free: 6.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003462/0.152, allocations: 1.971 MB / 0.5388 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.1534, allocations: 0.4961 MB / 0.5392 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.1549, allocations: 0.4961 MB / 0.5397 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.1563, allocations: 1.247 MB / 0.5409 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002928/0.1592, allocations: 1.845 MB / 0.5427 GB, free: 332 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006078/0.1653, allocations: 5.464 MB / 0.5481 GB, free: 10.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1653, allocations: 0 / 0.5481 GB, free: 10.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1653, allocations: 3.938 kB / 0.5481 GB, free: 10.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001407/0.1655, allocations: 0 / 0.5481 GB, free: 10.84 MB / 414.1 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.008969/0.1744, allocations: 3.398 MB / 0.5514 GB, free: 7.371 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1745, allocations: 8.625 kB / 0.5514 GB, free: 7.363 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005019/0.175, allocations: 333.1 kB / 0.5517 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006329/0.1756, allocations: 299.1 kB / 0.552 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002766/0.1784, allocations: 1.653 MB / 0.5536 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/0.1786, allocations: 202.9 kB / 0.5538 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005694/0.1792, allocations: 260.2 kB / 0.5541 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005828/0.185, allocations: 2.999 MB / 0.557 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.182e-05/0.185, allocations: 0 / 0.557 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002878/0.1853, allocations: 92 kB / 0.5571 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-05/0.1854, allocations: 56 kB / 0.5571 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005348/0.1907, allocations: 2.778 MB / 0.5599 GB, free: 14.57 MB / 430.1 MB Error: Internal error Circular Equalities Detected for Variables: ---------------------------------- Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00849/0.1992, allocations: 5.646 MB / 0.5654 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01439/0.2136, allocations: 7.782 MB / 0.573 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007155/0.2207, allocations: 3.839 MB / 0.5767 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003125/0.2211, allocations: 80.56 kB / 0.5768 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.961e-05/0.2211, allocations: 91.17 kB / 0.5769 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002414/0.2236, allocations: 0.591 MB / 0.5775 GB, free: 12.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=587): time 1.008e-05/0.2236, allocations: 0 / 0.5775 GB, free: 12.11 MB / 446.1 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.955983164953068] Failed to read output from testmodel.py, exit status != 0: 0.23640101309865713 0.43677574900000005 0.268252738 Calling exit ...