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.001141/0.001141, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009487/0.0009488, allocations: 172.7 kB / 15.95 MB, free: 208 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.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2161/0.2161, allocations: 22.36 MB / 313.4 MB, free: 13.04 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002971, allocations: 12 kB / 382.7 MB, free: 9.793 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.272, allocations: 55.98 MB / 438.7 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Hcentral_control_case_001): time 0.004366/0.2764, allocations: 5.409 MB / 444.1 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003795/0.2802, allocations: 1.748 MB / 445.8 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006412/0.2809, allocations: 22.16 kB / 445.9 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.2813, allocations: 151.8 kB / 446 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008118/0.2821, allocations: 473.6 kB / 446.5 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008501/0.2829, allocations: 361.2 kB / 446.8 MB, free: 33.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003316/0.2863, allocations: 4.295 MB / 451.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003244/0.2895, allocations: 2.779 MB / 453.9 MB, free: 30.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001845/0.2914, allocations: 1.352 MB / 455.3 MB, free: 30.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002853/0.2942, allocations: 2.048 MB / 457.3 MB, free: 29.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006862/0.2949, allocations: 244.6 kB / 457.5 MB, free: 29.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008526/0.2958, allocations: 280 kB / 457.8 MB, free: 29.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.297, allocations: 1.456 MB / 459.3 MB, free: 29.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.2981, allocations: 0.6558 MB / 459.9 MB, free: 29.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006101/0.3042, allocations: 5.411 MB / 465.3 MB, free: 27.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3042, allocations: 0 / 465.3 MB, free: 27.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3043, allocations: 0 / 465.3 MB, free: 27.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001655/0.3044, allocations: 5.25 kB / 465.3 MB, free: 27.75 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.01244/0.3169, allocations: 4.333 MB / 469.7 MB, free: 25.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3169, allocations: 8.562 kB / 469.7 MB, free: 25.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001589/0.3185, allocations: 426.2 kB / 470.1 MB, free: 24.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009989/0.3195, allocations: 320.2 kB / 470.4 MB, free: 24.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.3223, allocations: 1.699 MB / 472.1 MB, free: 23.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.3225, allocations: 249.5 kB / 472.4 MB, free: 23.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006859/0.3232, allocations: 363.7 kB / 472.7 MB, free: 23.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009407/0.3326, allocations: 4.789 MB / 477.5 MB, free: 20.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.298e-05/0.3327, allocations: 1 kB / 477.5 MB, free: 20.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003821/0.3331, allocations: 116.5 kB / 477.6 MB, free: 20.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.078e-05/0.3331, allocations: 70.66 kB / 477.7 MB, free: 20.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007874/0.341, allocations: 4.132 MB / 481.8 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03183/0.3729, allocations: 19.72 MB / 0.4898 GB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01744/0.3904, allocations: 6.958 MB / 0.4966 GB, free: 5.871 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005346/0.3958, allocations: 2.377 MB / 0.4989 GB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005891/0.3964, allocations: 46.38 kB / 0.4989 GB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.647e-05/0.3965, allocations: 60.97 kB / 0.499 GB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002725/0.3992, allocations: 217.8 kB / 0.4992 GB, free: 3.156 MB / 366.1 MB Notification: Performance of pre-optimization done (n=306): time 8.646e-06/0.3992, allocations: 4 kB / 0.4992 GB, free: 3.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=306): time 0.02725/0.4265, allocations: 11.84 MB / 0.5108 GB, free: 6.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.452e-05/0.4266, allocations: 133.2 kB / 0.5109 GB, free: 6.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.4284, allocations: 0.9355 MB / 0.5118 GB, free: 5.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001026/0.4294, allocations: 77.7 kB / 0.5119 GB, free: 5.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008334/0.4303, allocations: 0.91 MB / 0.5128 GB, free: 4.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002432/0.4327, allocations: 1.233 MB / 0.514 GB, free: 3.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.4339, allocations: 84 kB / 0.5141 GB, free: 3.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004384/0.4343, allocations: 474.2 kB / 0.5145 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005745/0.4401, allocations: 2.652 MB / 0.5171 GB, free: 15.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006241/0.4463, allocations: 3.001 MB / 0.52 GB, free: 12.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006515/0.4529, allocations: 3.016 MB / 0.523 GB, free: 9.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.4529, allocations: 4 kB / 0.523 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.01798/0.4709, allocations: 7.501 MB / 0.5303 GB, free: 2.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002843/0.4712, allocations: 390.4 kB / 0.5307 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.4712, allocations: 8 kB / 0.5307 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00531/0.4766, allocations: 1.599 MB / 0.5322 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006302/0.4829, allocations: 1.241 MB / 0.5335 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03887/0.5218, allocations: 52.67 MB / 0.5849 GB, free: 5.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003787/0.5256, allocations: 295.3 kB / 0.5852 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/0.5267, allocations: 136 kB / 0.5853 GB, free: 4.613 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.457e-06/0.5267, allocations: 4 kB / 0.5853 GB, free: 4.609 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.006937/0.5337, allocations: 2.783 MB / 0.588 GB, free: 1.824 MB / 462.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated