Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_001") translateModel(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2262/0.2262, allocations: 22.34 MB / 313.3 MB, free: 13.17 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003957, allocations: 8 kB / 381.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3273, allocations: 55.98 MB / 437.8 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_001): time 0.009171/0.3365, allocations: 10.07 MB / 447.9 MB, free: 31.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007182/0.3437, allocations: 3.608 MB / 451.5 MB, free: 29.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.3461, allocations: 61.62 kB / 451.6 MB, free: 29.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.3472, allocations: 422.5 kB / 452 MB, free: 29.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003246/0.3504, allocations: 0.9955 MB / 453 MB, free: 28.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.3526, allocations: 0.5844 MB / 453.5 MB, free: 27.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006484/0.3591, allocations: 3.273 MB / 456.8 MB, free: 26.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005093/0.3642, allocations: 3.42 MB / 460.2 MB, free: 25.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004501/0.3687, allocations: 1.777 MB / 462 MB, free: 24.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004778/0.3735, allocations: 1.909 MB / 463.9 MB, free: 23.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001632/0.3752, allocations: 276.8 kB / 464.2 MB, free: 23.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.3771, allocations: 307.7 kB / 464.5 MB, free: 23.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001535/0.3787, allocations: 1.24 MB / 465.7 MB, free: 22.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002241/0.3809, allocations: 0.8591 MB / 466.6 MB, free: 22.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009558/0.3905, allocations: 6.567 MB / 473.2 MB, free: 19.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3905, allocations: 0 / 473.2 MB, free: 19.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3905, allocations: 0 / 473.2 MB, free: 19.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002909/0.3908, allocations: 3.938 kB / 473.2 MB, free: 19.98 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 857 * Number of variables: 857 Notification: Performance of Generate backend data structure: time 0.01585/0.4067, allocations: 4.267 MB / 477.4 MB, free: 17.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.4067, allocations: 9.875 kB / 477.4 MB, free: 17.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003018/0.4098, allocations: 426.7 kB / 477.9 MB, free: 17.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007026/0.4168, allocations: 2.317 MB / 480.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/0.4172, allocations: 286 kB / 480.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/0.419, allocations: 376.7 kB / 480.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.4293, allocations: 4.733 MB / 485.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.61e-05/0.4294, allocations: 0 / 485.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000427/0.4298, allocations: 135.2 kB / 485.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.43, allocations: 81.12 kB / 485.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009597/0.4396, allocations: 4.079 MB / 489.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04712/0.4867, allocations: 20.48 MB / 0.4984 GB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0164/0.5032, allocations: 5.848 MB / 0.5041 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000598/0.5038, allocations: 46.3 kB / 0.5041 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.935e-05/0.5039, allocations: 68.78 kB / 0.5042 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00311/0.507, allocations: 261.9 kB / 0.5044 GB, free: 13.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=287): time 1.507e-05/0.5071, allocations: 0 / 0.5044 GB, free: 13.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=289): time 0.04822/0.5553, allocations: 16.97 MB / 0.521 GB, free: 10.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.732e-05/0.5555, allocations: 111.4 kB / 0.5211 GB, free: 10.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004035/0.5595, allocations: 1.723 MB / 0.5228 GB, free: 9.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008297/0.5604, allocations: 73.7 kB / 0.5229 GB, free: 8.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.5617, allocations: 1.324 MB / 0.5242 GB, free: 7.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002083/0.5638, allocations: 1.086 MB / 0.5252 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008137/0.5646, allocations: 60 kB / 0.5253 GB, free: 6.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003787/0.565, allocations: 436.7 kB / 0.5257 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004708/0.5697, allocations: 2.169 MB / 0.5278 GB, free: 3.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004744/0.5744, allocations: 2.368 MB / 0.5301 GB, free: 1.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004936/0.5794, allocations: 2.441 MB / 0.5325 GB, free: 14.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-05/0.5794, allocations: 4 kB / 0.5325 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01534/0.5948, allocations: 6.516 MB / 0.5389 GB, free: 8.297 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009572/0.5958, allocations: 1.937 MB / 0.5408 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/0.5958, allocations: 4 kB / 0.5408 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005754/0.6016, allocations: 1.744 MB / 0.5425 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006316/0.6079, allocations: 0.9129 MB / 0.5434 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.337/0.945, allocations: 67.51 MB / 0.6093 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004759/0.9498, allocations: 209.6 kB / 0.6095 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/0.951, allocations: 114.3 kB / 0.6096 GB, free: 109.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.951, allocations: 2.656 kB / 0.6096 GB, free: 109.3 MB / 462.1 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006219/0.9572, allocations: 2.398 MB / 0.612 GB, free: 108.8 MB / 462.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated