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: translateModel(AES.Coursework.ThermSys_Generation.Hcentral_control_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001") translateModel(AES.Coursework.ThermSys_Generation.Hcentral_control_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007712/0.0007713, allocations: 87.03 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.000784/0.000784, 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.241/1.241, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1844/0.1844, allocations: 22.34 MB / 313.4 MB, free: 13.19 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002725, allocations: 8 kB / 382.6 MB, free: 9.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2338, allocations: 55.98 MB / 438.6 MB, free: 39.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Hcentral_control_case_001): time 0.003804/0.2376, allocations: 5.405 MB / 444 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.2397, allocations: 1.755 MB / 445.7 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003059/0.24, allocations: 19.28 kB / 445.8 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.2403, allocations: 142.7 kB / 445.9 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00064/0.2409, allocations: 478.4 kB / 446.4 MB, free: 34.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006712/0.2416, allocations: 356 kB / 446.7 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002529/0.2441, allocations: 4.292 MB / 451 MB, free: 32.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002514/0.2467, allocations: 2.786 MB / 453.8 MB, free: 31.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.2478, allocations: 1.35 MB / 455.1 MB, free: 30.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.2499, allocations: 2.049 MB / 457.2 MB, free: 30.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004334/0.2503, allocations: 248.8 kB / 457.4 MB, free: 30.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000587/0.2509, allocations: 278.7 kB / 457.7 MB, free: 30.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.2521, allocations: 1.455 MB / 459.2 MB, free: 29.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007365/0.2528, allocations: 0.6567 MB / 459.8 MB, free: 29.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004914/0.2578, allocations: 5.415 MB / 465.2 MB, free: 28.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2578, allocations: 0 / 465.2 MB, free: 28.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2578, allocations: 1.281 kB / 465.2 MB, free: 28.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001216/0.2579, allocations: 0 / 465.2 MB, free: 28.2 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.01028/0.2682, allocations: 4.329 MB / 469.6 MB, free: 25.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2682, allocations: 8.25 kB / 469.6 MB, free: 25.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009292/0.2692, allocations: 328.2 kB / 469.9 MB, free: 25.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.2718, allocations: 1.7 MB / 471.6 MB, free: 24.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.2719, allocations: 249.6 kB / 471.8 MB, free: 24.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006799/0.2726, allocations: 366.6 kB / 472.2 MB, free: 24.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007773/0.2804, allocations: 4.786 MB / 477 MB, free: 21.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.998e-05/0.2805, allocations: 1.031 kB / 477 MB, free: 21.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003874/0.2809, allocations: 119.8 kB / 477.1 MB, free: 21.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.493e-05/0.2809, allocations: 71.5 kB / 477.2 MB, free: 21.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006455/0.2874, allocations: 4.13 MB / 481.3 MB, free: 18.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02247/0.3099, allocations: 19.71 MB / 0.4893 GB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/0.324, allocations: 6.958 MB / 0.4961 GB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00366/0.3277, allocations: 2.374 MB / 0.4984 GB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002226/0.3279, allocations: 42.38 kB / 0.4984 GB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.3279, allocations: 64.97 kB / 0.4985 GB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001267/0.3292, allocations: 225.8 kB / 0.4987 GB, free: 3.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=306): time 5.641e-06/0.3292, allocations: 0 / 0.4987 GB, free: 3.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=306): time 0.02021/0.3494, allocations: 11.84 MB / 0.5103 GB, free: 7.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.3495, allocations: 137.2 kB / 0.5104 GB, free: 6.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.3509, allocations: 0.9316 MB / 0.5113 GB, free: 5.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002656/0.3511, allocations: 81.64 kB / 0.5114 GB, free: 5.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005738/0.3517, allocations: 0.9061 MB / 0.5123 GB, free: 4.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001329/0.3531, allocations: 1.244 MB / 0.5135 GB, free: 3.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003546/0.3534, allocations: 72 kB / 0.5136 GB, free: 3.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002478/0.3537, allocations: 470.4 kB / 0.514 GB, free: 3.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004047/0.3577, allocations: 2.652 MB / 0.5166 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004077/0.3618, allocations: 2.997 MB / 0.5195 GB, free: 13.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004236/0.3661, allocations: 3.024 MB / 0.5225 GB, free: 10.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.3661, allocations: 0 / 0.5225 GB, free: 10.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.01306/0.3791, allocations: 7.504 MB / 0.5298 GB, free: 2.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002222/0.3794, allocations: 390.8 kB / 0.5302 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.3794, allocations: 8 kB / 0.5302 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005005/0.3844, allocations: 1.591 MB / 0.5317 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00526/0.3897, allocations: 1.245 MB / 0.533 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03566/0.4254, allocations: 52.68 MB / 0.5844 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003686/0.4291, allocations: 291.3 kB / 0.5847 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/0.4301, allocations: 140 kB / 0.5848 GB, free: 5.227 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.4302, allocations: 4 kB / 0.5848 GB, free: 5.223 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.006771/0.4369, allocations: 2.779 MB / 0.5875 GB, free: 2.441 MB / 462.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated