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.0008484/0.0008481, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009295/0.0009295, allocations: 174.4 kB / 16.58 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2542/0.2542, allocations: 22.36 MB / 314.1 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 12 kB / 382.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4357, allocations: 55.97 MB / 438.6 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_002): time 0.01096/0.4467, allocations: 11.42 MB / 450 MB, free: 30.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00795/0.4547, allocations: 3.511 MB / 453.5 MB, free: 28.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002906/0.4577, allocations: 64.25 kB / 453.6 MB, free: 28.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.4592, allocations: 388 kB / 453.9 MB, free: 28.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004428/0.4636, allocations: 1.219 MB / 455.2 MB, free: 27.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.4662, allocations: 0.6362 MB / 455.8 MB, free: 26.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008802/0.4751, allocations: 6.305 MB / 462.1 MB, free: 24.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007308/0.4824, allocations: 3.494 MB / 465.6 MB, free: 22.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006175/0.4886, allocations: 1.846 MB / 467.4 MB, free: 22.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006869/0.4955, allocations: 2.487 MB / 469.9 MB, free: 21.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00288/0.4984, allocations: 278.6 kB / 470.2 MB, free: 21.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004048/0.5025, allocations: 314.1 kB / 470.5 MB, free: 21.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004729/0.5072, allocations: 1.402 MB / 471.9 MB, free: 20.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004585/0.5119, allocations: 0.8703 MB / 472.8 MB, free: 20.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01269/0.5246, allocations: 6.668 MB / 479.4 MB, free: 16.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.5246, allocations: 1.406 kB / 479.4 MB, free: 16.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.5246, allocations: 0 / 479.4 MB, free: 16.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003793/0.525, allocations: 0 / 479.4 MB, free: 16.8 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.01739/0.5424, allocations: 4.346 MB / 483.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.5425, allocations: 14.12 kB / 483.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003756/0.5463, allocations: 436 kB / 484.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007717/0.554, allocations: 2.359 MB / 486.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004873/0.5545, allocations: 289.6 kB / 486.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002495/0.557, allocations: 381.8 kB / 487.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01552/0.5726, allocations: 4.839 MB / 492.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.652e-05/0.5727, allocations: 8 kB / 492.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005084/0.5732, allocations: 136 kB / 492.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.629e-05/0.5733, allocations: 80 kB / 492.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008976/0.5822, allocations: 4.138 MB / 496.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04132/0.6236, allocations: 20.68 MB / 0.505 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01353/0.6372, allocations: 5.943 MB / 0.5108 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005433/0.6427, allocations: 2.235 MB / 0.513 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004736/0.6432, allocations: 50.27 kB / 0.513 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000102/0.6433, allocations: 60.88 kB / 0.5131 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003141/0.6465, allocations: 273.7 kB / 0.5134 GB, free: 4.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=294): time 1.678e-05/0.6465, allocations: 0 / 0.5134 GB, free: 4.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=296): time 0.04483/0.6913, allocations: 17.55 MB / 0.5305 GB, free: 1.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.6915, allocations: 145.1 kB / 0.5306 GB, free: 1.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004342/0.6958, allocations: 1.741 MB / 0.5323 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001105/0.697, allocations: 73.7 kB / 0.5324 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.6982, allocations: 1.336 MB / 0.5337 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002454/0.7007, allocations: 1.109 MB / 0.5348 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001091/0.7018, allocations: 68 kB / 0.5349 GB, free: 13.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0005072/0.7023, allocations: 436.8 kB / 0.5353 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005433/0.7078, allocations: 2.204 MB / 0.5374 GB, free: 10.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005569/0.7134, allocations: 2.411 MB / 0.5398 GB, free: 8.238 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005681/0.7191, allocations: 2.465 MB / 0.5422 GB, free: 5.758 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/0.7191, allocations: 0 / 0.5422 GB, free: 5.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.02099/0.7401, allocations: 7.142 MB / 0.5492 GB, free: 14.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002475/0.7404, allocations: 233.4 kB / 0.5494 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/0.7405, allocations: 11.94 kB / 0.5494 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008747/0.7492, allocations: 2.358 MB / 0.5517 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004528/0.7538, allocations: 0.7764 MB / 0.5525 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3943/1.148, allocations: 67.5 MB / 0.6184 GB, free: 75.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005539/1.154, allocations: 220.7 kB / 0.6186 GB, free: 75.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001363/1.155, allocations: 111.2 kB / 0.6187 GB, free: 75.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.155, allocations: 3.188 kB / 0.6187 GB, free: 75.32 MB / 446.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.005436/1.161, allocations: 2.427 MB / 0.6211 GB, free: 74.14 MB / 446.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated