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.001647/0.001647, allocations: 96.36 kB / 20.46 MB, free: 1.367 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.001817/0.001817, allocations: 215.9 kB / 23.77 MB, free: 4.52 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.1124/0.1124, allocations: 24.04 MB / 338 MB, free: 11.32 MB / 270.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: 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: 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.003413/0.003413, allocations: 64.19 kB / 475.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3155, allocations: 59.58 MB / 0.5221 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001): time 0.007477/0.323, allocations: 7.672 MB / 0.5296 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004323/0.3273, allocations: 2.319 MB / 0.5319 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.3284, allocations: 63.78 kB / 0.532 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007526/0.3291, allocations: 372.9 kB / 0.5323 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.3311, allocations: 0.9083 MB / 0.5332 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.3329, allocations: 0.6357 MB / 0.5338 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005933/0.3389, allocations: 4.042 MB / 0.5378 GB, free: 236 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004439/0.3433, allocations: 2.526 MB / 0.5402 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003481/0.3468, allocations: 1.757 MB / 0.5419 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.3504, allocations: 1.767 MB / 0.5437 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009514/0.3513, allocations: 0.4986 MB / 0.5442 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.3524, allocations: 0.4963 MB / 0.5446 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001186/0.3536, allocations: 1.245 MB / 0.5459 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002185/0.3558, allocations: 1.539 MB / 0.5474 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005932/0.3617, allocations: 5.49 MB / 0.5527 GB, free: 7.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3617, allocations: 0 / 0.5527 GB, free: 7.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3617, allocations: 1.188 kB / 0.5527 GB, free: 7.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001044/0.3619, allocations: 0 / 0.5527 GB, free: 7.219 MB / 398.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.009358/0.3712, allocations: 3.33 MB / 0.556 GB, free: 5.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3712, allocations: 10.77 kB / 0.556 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007052/0.372, allocations: 300.5 kB / 0.5563 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003222/0.3752, allocations: 1.567 MB / 0.5578 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.3754, allocations: 206.5 kB / 0.558 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004919/0.3759, allocations: 256.1 kB / 0.5582 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005723/0.3816, allocations: 3.049 MB / 0.5612 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.214e-05/0.3816, allocations: 1.375 kB / 0.5612 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002737/0.3819, allocations: 93.88 kB / 0.5613 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.159e-05/0.382, allocations: 56.38 kB / 0.5614 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005315/0.3873, allocations: 2.775 MB / 0.5641 GB, free: 16 kB / 398.1 MB Error: Internal error Circular Equalities Detected for Variables: ---------------------------------- Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007641/0.3949, allocations: 4.189 MB / 0.5682 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/0.4076, allocations: 6.159 MB / 0.5742 GB, free: 5.656 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007222/0.4148, allocations: 3.834 MB / 0.5779 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/0.4151, allocations: 68.59 kB / 0.578 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.731e-05/0.4151, allocations: 95.17 kB / 0.5781 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002681/0.4178, allocations: 0.5794 MB / 0.5787 GB, free: 1.043 MB / 414.1 MB Notification: Performance of pre-optimization done (n=587): time 1.118e-05/0.4178, allocations: 0 / 0.5787 GB, free: 1.043 MB / 414.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.8291847216896713] Failed to read output from testmodel.py, exit status != 0: 0.4348962949588895 0.45917440200000004 0.092345069 Calling exit ...