Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Hcentral_control_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_Generation.Hcentral_control_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_Generation_Hcentral_control_case_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_Generation.Hcentral_control_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_Generation_Hcentral_control_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.001302/0.001302, 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.001639/0.001639, 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.39/1.39, 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.3044/0.3044, allocations: 22.34 MB / 313.3 MB, free: 13.18 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004898, allocations: 16 kB / 382.6 MB, free: 9.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3313, allocations: 55.96 MB / 438.6 MB, free: 39.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Hcentral_control_case_001): time 0.004398/0.3358, allocations: 4.985 MB / 443.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003144/0.339, allocations: 1.802 MB / 445.3 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005709/0.3396, allocations: 19.19 kB / 445.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.3399, allocations: 156.2 kB / 445.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007192/0.3406, allocations: 408.8 kB / 445.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009774/0.3416, allocations: 350.6 kB / 446.3 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002471/0.3441, allocations: 2.536 MB / 448.8 MB, free: 32.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003546/0.3476, allocations: 2.768 MB / 451.6 MB, free: 32.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002012/0.3497, allocations: 1.348 MB / 452.9 MB, free: 31.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/0.3519, allocations: 1.624 MB / 454.5 MB, free: 31.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008379/0.3528, allocations: 243.2 kB / 454.8 MB, free: 31.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008245/0.3536, allocations: 271.5 kB / 455 MB, free: 31.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009575/0.3546, allocations: 1.253 MB / 456.3 MB, free: 30.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.3558, allocations: 0.6568 MB / 456.9 MB, free: 30.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007156/0.363, allocations: 5.387 MB / 462.3 MB, free: 29.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.363, allocations: 1.188 kB / 462.3 MB, free: 29.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.363, allocations: 0 / 462.3 MB, free: 29.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000179/0.3632, allocations: 0 / 462.3 MB, free: 29.3 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: 754 * Number of variables: 754 Notification: Performance of Generate backend data structure: time 0.01427/0.3775, allocations: 4.331 MB / 466.7 MB, free: 27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.759e-05/0.3776, allocations: 13.69 kB / 466.7 MB, free: 26.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002206/0.3798, allocations: 425.5 kB / 467.1 MB, free: 26.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/0.3815, allocations: 324.5 kB / 467.4 MB, free: 26.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004139/0.3856, allocations: 1.704 MB / 469.1 MB, free: 25.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.3858, allocations: 249.5 kB / 469.4 MB, free: 25.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000881/0.3867, allocations: 359.5 kB / 469.7 MB, free: 25.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008543/0.3953, allocations: 4.767 MB / 474.5 MB, free: 22.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.168e-05/0.3954, allocations: 3.984 kB / 474.5 MB, free: 22.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003893/0.3958, allocations: 121 kB / 474.6 MB, free: 22.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.725e-05/0.3958, allocations: 71 kB / 474.7 MB, free: 22.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007454/0.4033, allocations: 4.131 MB / 478.8 MB, free: 19.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03074/0.4341, allocations: 19.71 MB / 498.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01922/0.4533, allocations: 6.974 MB / 0.4936 GB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006009/0.454, allocations: 42.38 kB / 0.4937 GB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.529e-05/0.4541, allocations: 64.97 kB / 0.4937 GB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00268/0.4568, allocations: 221.8 kB / 0.4939 GB, free: 8.457 MB / 366.1 MB Notification: Performance of pre-optimization done (n=306): time 1.403e-05/0.4568, allocations: 0 / 0.4939 GB, free: 8.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=306): time 0.03076/0.4876, allocations: 11.89 MB / 0.5056 GB, free: 11.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.4877, allocations: 133.2 kB / 0.5057 GB, free: 11.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.4894, allocations: 0.9316 MB / 0.5066 GB, free: 10.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00138/0.4908, allocations: 77.7 kB / 0.5067 GB, free: 10.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007287/0.4915, allocations: 0.91 MB / 0.5076 GB, free: 9.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002837/0.4944, allocations: 1.236 MB / 0.5088 GB, free: 8.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/0.4957, allocations: 76 kB / 0.5088 GB, free: 8.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004163/0.4961, allocations: 474.3 kB / 0.5093 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006021/0.5022, allocations: 2.656 MB / 0.5119 GB, free: 5.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006028/0.5082, allocations: 2.981 MB / 0.5148 GB, free: 1.992 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006556/0.5148, allocations: 3.024 MB / 0.5177 GB, free: 14.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/0.5148, allocations: 0 / 0.5177 GB, free: 14.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.02161/0.5365, allocations: 7.508 MB / 0.5251 GB, free: 7.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001357/0.5379, allocations: 3.682 MB / 0.5287 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/0.5379, allocations: 8 kB / 0.5287 GB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00585/0.5438, allocations: 1.591 MB / 0.5302 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007049/0.5509, allocations: 1.248 MB / 0.5315 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04367/0.5946, allocations: 53.08 MB / 0.5833 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005944/0.6006, allocations: 295.3 kB / 0.5836 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002291/0.6029, allocations: 136 kB / 0.5837 GB, free: 5.969 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.603, allocations: 8 kB / 0.5837 GB, free: 5.961 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.01084/0.6138, allocations: 2.775 MB / 0.5864 GB, free: 3.184 MB / 462.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated