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: "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_Heat_network_HNcontrol_HC_SS_case_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_Heat_network_HNcontrol_HC_SS_case_001",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.001127/0.001127, allocations: 100.1 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.0009798/0.0009798, 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.681/1.681, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2289/0.2289, allocations: 22.34 MB / 313.3 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003091, allocations: 12 kB / 381.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2787, allocations: 55.97 MB / 437.9 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_001): time 0.007674/0.2864, allocations: 10.07 MB / 448 MB, free: 32.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009456/0.2959, allocations: 3.609 MB / 451.6 MB, free: 29.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/0.2986, allocations: 61.84 kB / 451.6 MB, free: 29.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.2997, allocations: 423.4 kB / 452 MB, free: 29.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002744/0.3025, allocations: 0.9921 MB / 453 MB, free: 28.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.3043, allocations: 0.5866 MB / 453.6 MB, free: 28.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004638/0.3089, allocations: 3.27 MB / 456.9 MB, free: 26.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004183/0.3132, allocations: 3.422 MB / 460.3 MB, free: 25.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003626/0.3168, allocations: 1.774 MB / 462.1 MB, free: 24.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003604/0.3204, allocations: 1.915 MB / 464 MB, free: 23.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.3216, allocations: 276.1 kB / 464.3 MB, free: 23.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.3229, allocations: 307.6 kB / 464.6 MB, free: 23.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.3242, allocations: 1.232 MB / 465.8 MB, free: 23.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001848/0.3261, allocations: 0.8586 MB / 466.7 MB, free: 22.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009246/0.3353, allocations: 6.575 MB / 473.2 MB, free: 20.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3354, allocations: 0 / 473.2 MB, free: 20.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.3354, allocations: 5.406 kB / 473.2 MB, free: 20.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002923/0.3357, allocations: 0 / 473.2 MB, free: 20.07 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.01462/0.3503, allocations: 4.262 MB / 477.5 MB, free: 17.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.3504, allocations: 9.812 kB / 477.5 MB, free: 17.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00197/0.3524, allocations: 463.2 kB / 478 MB, free: 17.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.3538, allocations: 426.2 kB / 478.4 MB, free: 16.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005096/0.3589, allocations: 2.32 MB / 480.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002688/0.3592, allocations: 282.5 kB / 481 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001134/0.3603, allocations: 377.7 kB / 481.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/0.3713, allocations: 4.736 MB / 486.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-05/0.3714, allocations: 0 / 486.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005162/0.372, allocations: 139.6 kB / 486.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.934e-05/0.3721, allocations: 89.3 kB / 486.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009472/0.3815, allocations: 4.063 MB / 490.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04223/0.4238, allocations: 20.49 MB / 0.4989 GB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01573/0.4396, allocations: 5.847 MB / 0.5046 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005248/0.4401, allocations: 46.19 kB / 0.5046 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.457e-05/0.4402, allocations: 64.83 kB / 0.5047 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002944/0.4432, allocations: 261.9 kB / 0.505 GB, free: 12.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=287): time 1.118e-05/0.4432, allocations: 0 / 0.505 GB, free: 12.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=289): time 0.04776/0.491, allocations: 16.98 MB / 0.5215 GB, free: 10.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/0.4911, allocations: 111.4 kB / 0.5216 GB, free: 10.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0034/0.4945, allocations: 1.715 MB / 0.5233 GB, free: 8.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009628/0.4955, allocations: 73.7 kB / 0.5234 GB, free: 8.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.4966, allocations: 1.32 MB / 0.5247 GB, free: 7.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002/0.4986, allocations: 1.086 MB / 0.5257 GB, free: 5.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008189/0.4994, allocations: 64 kB / 0.5258 GB, free: 5.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003202/0.4998, allocations: 440.7 kB / 0.5262 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004383/0.5042, allocations: 2.169 MB / 0.5283 GB, free: 3.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005373/0.5095, allocations: 2.368 MB / 0.5307 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006786/0.5164, allocations: 2.433 MB / 0.533 GB, free: 14.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/0.5164, allocations: 4 kB / 0.533 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=411) (initialization): time 0.02201/0.5384, allocations: 6.516 MB / 0.5394 GB, free: 7.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008787/0.5394, allocations: 1.945 MB / 0.5413 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/0.5394, allocations: 4 kB / 0.5413 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007879/0.5473, allocations: 1.736 MB / 0.543 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007789/0.5551, allocations: 0.909 MB / 0.5439 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.279/0.8342, allocations: 67.52 MB / 0.6098 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003783/0.838, allocations: 201.5 kB / 0.61 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005469/0.8386, allocations: 114.9 kB / 0.6101 GB, free: 109.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.8386, allocations: 7.531 kB / 0.6101 GB, free: 109.1 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.004131/0.8427, allocations: 2.399 MB / 0.6125 GB, free: 108.6 MB / 462.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated