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.001004/0.001004, allocations: 80.52 kB / 19.95 MB, free: 4.605 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.0009824/0.0009824, allocations: 169.2 kB / 23.23 MB, free: 1.324 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 0.9196/0.9196, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.06439/0.06439, allocations: 18.14 MB / 278.1 MB, free: 11.55 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 418.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.275e-05, allocations: 2.281 kB / 418.2 MB, free: 11 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001): time 0.008336/0.008359, allocations: 7.679 MB / 425.9 MB, free: 5.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003918/0.01228, allocations: 2.324 MB / 428.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006291/0.01291, allocations: 63.66 kB / 428.3 MB, free: 4.086 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006335/0.01354, allocations: 373.6 kB / 428.6 MB, free: 3.859 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.01495, allocations: 0.9383 MB / 429.6 MB, free: 3.219 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.01605, allocations: 0.649 MB / 430.2 MB, free: 2.793 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002689/0.01874, allocations: 4.13 MB / 434.4 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002361/0.0211, allocations: 2.536 MB / 436.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.02257, allocations: 1.702 MB / 438.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.02411, allocations: 1.642 MB / 440.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004655/0.02457, allocations: 0.4945 MB / 440.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/0.02508, allocations: 0.4971 MB / 441.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007646/0.02585, allocations: 1.281 MB / 442.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.02688, allocations: 1.37 MB / 443.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003499/0.03038, allocations: 5.694 MB / 449.6 MB, free: 6.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.03039, allocations: 0 / 449.6 MB, free: 6.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.03039, allocations: 0 / 449.6 MB, free: 6.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.552e-05/0.03041, allocations: 0 / 449.6 MB, free: 6.172 MB / 346.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.004124/0.03454, allocations: 3.303 MB / 452.9 MB, free: 2.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.03459, allocations: 12.92 kB / 452.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003176/0.03491, allocations: 325.1 kB / 453.2 MB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003594/0.03527, allocations: 304.2 kB / 453.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.03698, allocations: 1.561 MB / 455.1 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.03711, allocations: 202.9 kB / 455.3 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002984/0.03741, allocations: 260.2 kB / 455.5 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003391/0.0408, allocations: 3.046 MB / 458.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.04084, allocations: 192 / 458.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/0.04104, allocations: 95.94 kB / 458.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.04106, allocations: 56 kB / 458.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003277/0.04434, allocations: 2.772 MB / 461.5 MB, free: 10.08 MB / 362.7 MB Error: Internal error Circular Equalities Detected for Variables: ---------------------------------- Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004075/0.04842, allocations: 4.595 MB / 466.1 MB, free: 5.406 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007199/0.05561, allocations: 6.168 MB / 472.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004108/0.05972, allocations: 3.834 MB / 476.1 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.05989, allocations: 72.59 kB / 476.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.05994, allocations: 91.17 kB / 476.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001066/0.06101, allocations: 0.5909 MB / 476.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=587): time 6.693e-06/0.06102, allocations: 0 / 476.8 MB, free: 10.67 MB / 378.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: 1.9904208425432444]