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: "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_002,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_Heat_network_HNcontrol_HC_SS_case_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_002,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_Heat_network_HNcontrol_HC_SS_case_002",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001316/0.001316, allocations: 168.7 kB / 15.95 MB, free: 204 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.397/1.397, allocations: 223.2 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2121/0.2121, allocations: 22.36 MB / 313.4 MB, free: 13.17 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004017, allocations: 8 kB / 382.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3679, allocations: 55.98 MB / 438 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_002): time 0.008188/0.3761, allocations: 11.42 MB / 449.5 MB, free: 30.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006352/0.3825, allocations: 3.523 MB / 453 MB, free: 28.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.3843, allocations: 64 kB / 453 MB, free: 28.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008204/0.3852, allocations: 381 kB / 453.4 MB, free: 27.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.3876, allocations: 1.212 MB / 454.6 MB, free: 27.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.3893, allocations: 0.6499 MB / 455.3 MB, free: 26.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005512/0.3949, allocations: 6.293 MB / 461.6 MB, free: 24.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00561/0.4005, allocations: 3.509 MB / 465.1 MB, free: 22.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004731/0.4052, allocations: 1.84 MB / 466.9 MB, free: 22.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005546/0.4108, allocations: 2.485 MB / 469.4 MB, free: 21.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001797/0.4126, allocations: 279.4 kB / 469.7 MB, free: 21.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002975/0.4156, allocations: 313.5 kB / 470 MB, free: 21.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002779/0.4184, allocations: 1.403 MB / 471.4 MB, free: 20.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003101/0.4215, allocations: 0.8689 MB / 472.2 MB, free: 20.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009583/0.4311, allocations: 6.67 MB / 478.9 MB, free: 16.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.4312, allocations: 3.938 kB / 478.9 MB, free: 16.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4312, allocations: 0 / 478.9 MB, free: 16.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003294/0.4315, allocations: 5.438 kB / 478.9 MB, free: 16.65 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.01411/0.4456, allocations: 4.337 MB / 483.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.4457, allocations: 10.38 kB / 483.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002097/0.4478, allocations: 480.5 kB / 483.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.4495, allocations: 436.2 kB / 484.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004693/0.4542, allocations: 2.359 MB / 486.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000275/0.4545, allocations: 285.5 kB / 486.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/0.4556, allocations: 378 kB / 487.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009103/0.4647, allocations: 4.842 MB / 492 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-05/0.4648, allocations: 0 / 492 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003552/0.4652, allocations: 136 kB / 492.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/0.4652, allocations: 84 kB / 492.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006958/0.4722, allocations: 4.142 MB / 496.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03307/0.5053, allocations: 20.68 MB / 0.5049 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/0.5178, allocations: 5.94 MB / 0.5107 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005026/0.5228, allocations: 2.231 MB / 0.5129 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/0.5231, allocations: 50.27 kB / 0.513 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/0.5232, allocations: 68.86 kB / 0.513 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002219/0.5254, allocations: 265.7 kB / 0.5133 GB, free: 4.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=294): time 9.427e-06/0.5254, allocations: 7.984 kB / 0.5133 GB, free: 4.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=296): time 0.03577/0.5612, allocations: 17.55 MB / 0.5304 GB, free: 1.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.813e-05/0.5613, allocations: 137.1 kB / 0.5306 GB, free: 1.246 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002987/0.5643, allocations: 1.737 MB / 0.5323 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001014/0.5654, allocations: 77.81 kB / 0.5323 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.5665, allocations: 1.344 MB / 0.5336 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002061/0.5685, allocations: 1.113 MB / 0.5347 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.5688, allocations: 63.94 kB / 0.5348 GB, free: 12.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002434/0.5691, allocations: 440.8 kB / 0.5352 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003781/0.5729, allocations: 2.2 MB / 0.5374 GB, free: 10.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004097/0.577, allocations: 2.415 MB / 0.5397 GB, free: 7.699 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004674/0.5817, allocations: 2.469 MB / 0.5421 GB, free: 5.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.332e-05/0.5817, allocations: 0 / 0.5421 GB, free: 5.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01645/0.5982, allocations: 7.142 MB / 0.5491 GB, free: 13.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000181/0.5984, allocations: 233.3 kB / 0.5493 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.5984, allocations: 7.953 kB / 0.5493 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008059/0.6065, allocations: 2.358 MB / 0.5516 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004135/0.6107, allocations: 0.7725 MB / 0.5524 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2743/0.885, allocations: 67.5 MB / 0.6183 GB, free: 74.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003906/0.8889, allocations: 216 kB / 0.6185 GB, free: 74.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007063/0.8896, allocations: 115.2 kB / 0.6186 GB, free: 74.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/0.8896, allocations: 3.031 kB / 0.6186 GB, free: 74.89 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.004367/0.894, allocations: 2.424 MB / 0.621 GB, free: 73.7 MB / 446.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated