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_002.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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_002") translateModel(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 100 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.0009315/0.0009316, 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.398/1.398, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2205/0.2205, allocations: 22.34 MB / 313.3 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 8 kB / 381.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3931, allocations: 55.98 MB / 437.8 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_002): time 0.009217/0.4024, allocations: 10.24 MB / 448.1 MB, free: 31.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008394/0.4109, allocations: 3.689 MB / 451.8 MB, free: 29.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00287/0.4138, allocations: 66.41 kB / 451.8 MB, free: 29.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.4157, allocations: 422.6 kB / 452.2 MB, free: 28.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004593/0.4203, allocations: 1.01 MB / 453.2 MB, free: 28.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.4229, allocations: 0.6272 MB / 453.9 MB, free: 27.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006541/0.4294, allocations: 3.333 MB / 457.2 MB, free: 25.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006428/0.4359, allocations: 3.471 MB / 460.7 MB, free: 24.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004874/0.4408, allocations: 1.795 MB / 462.5 MB, free: 23.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005128/0.446, allocations: 1.935 MB / 464.4 MB, free: 23.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002579/0.4486, allocations: 279.7 kB / 464.7 MB, free: 23.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.4517, allocations: 313.9 kB / 465 MB, free: 23.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003209/0.4549, allocations: 1.245 MB / 466.2 MB, free: 22.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0042/0.4591, allocations: 0.8666 MB / 467.1 MB, free: 22.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.4703, allocations: 6.642 MB / 473.7 MB, free: 19.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4703, allocations: 3.938 kB / 473.7 MB, free: 19.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.4703, allocations: 1.125 kB / 473.7 MB, free: 19.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003419/0.4707, allocations: 0 / 473.7 MB, free: 19.6 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: 873 * Number of variables: 873 Notification: Performance of Generate backend data structure: time 0.01696/0.4876, allocations: 4.348 MB / 478.1 MB, free: 16.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.4877, allocations: 8.375 kB / 478.1 MB, free: 16.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003579/0.4913, allocations: 440.2 kB / 478.5 MB, free: 16.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007819/0.4991, allocations: 2.359 MB / 480.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005465/0.4997, allocations: 285 kB / 481.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002604/0.5023, allocations: 383 kB / 481.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/0.5221, allocations: 4.817 MB / 486.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001744/0.5223, allocations: 0 / 486.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001778/0.5241, allocations: 136.4 kB / 486.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001314/0.5242, allocations: 82.28 kB / 486.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01285/0.5371, allocations: 4.138 MB / 490.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04831/0.5854, allocations: 20.67 MB / 0.4994 GB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01576/0.6013, allocations: 5.963 MB / 0.5052 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004087/0.6017, allocations: 62.25 kB / 0.5053 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/0.6018, allocations: 56.88 kB / 0.5053 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002555/0.6044, allocations: 269.7 kB / 0.5056 GB, free: 11.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=294): time 1.15e-05/0.6044, allocations: 0 / 0.5056 GB, free: 11.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=296): time 0.04181/0.6462, allocations: 17.54 MB / 0.5227 GB, free: 9.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.6464, allocations: 137.1 kB / 0.5229 GB, free: 8.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004001/0.6504, allocations: 1.74 MB / 0.5246 GB, free: 7.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001271/0.6517, allocations: 77.7 kB / 0.5246 GB, free: 7.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001382/0.6531, allocations: 1.336 MB / 0.5259 GB, free: 5.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002923/0.656, allocations: 1.101 MB / 0.527 GB, free: 4.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008834/0.6569, allocations: 71.94 kB / 0.5271 GB, free: 4.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004502/0.6574, allocations: 436.8 kB / 0.5275 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005046/0.6624, allocations: 2.208 MB / 0.5297 GB, free: 1.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004875/0.6673, allocations: 2.399 MB / 0.532 GB, free: 15.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00487/0.6722, allocations: 2.469 MB / 0.5344 GB, free: 12.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.6722, allocations: 0 / 0.5344 GB, free: 12.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01811/0.6904, allocations: 7.142 MB / 0.5414 GB, free: 5.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007937/0.6912, allocations: 1.853 MB / 0.5432 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.6912, allocations: 4 kB / 0.5432 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009064/0.7003, allocations: 2.354 MB / 0.5455 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004302/0.7046, allocations: 0.7764 MB / 0.5463 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2774/0.9821, allocations: 68.05 MB / 0.6127 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004764/0.9869, allocations: 216.4 kB / 0.6129 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006655/0.9876, allocations: 118.2 kB / 0.613 GB, free: 106.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.9876, allocations: 2.969 kB / 0.613 GB, free: 106.9 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.004187/0.9918, allocations: 2.419 MB / 0.6154 GB, free: 105.9 MB / 462.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated