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: translateModel(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_002") translateModel(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008997/0.0008998, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 182.6 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1873/0.1873, allocations: 22.34 MB / 314.4 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002775/0.0002776, allocations: 8 kB / 383.3 MB, free: 10.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.223, allocations: 55.98 MB / 439.3 MB, free: 39.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_002): time 0.007687/0.2307, allocations: 12.22 MB / 451.5 MB, free: 30.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004287/0.235, allocations: 3.549 MB / 455 MB, free: 27.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007737/0.2358, allocations: 66 kB / 455.1 MB, free: 27.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.2363, allocations: 415.6 kB / 455.5 MB, free: 27.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.238, allocations: 1.221 MB / 456.7 MB, free: 26.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.2394, allocations: 0.9834 MB / 457.7 MB, free: 25.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004396/0.2438, allocations: 7.183 MB / 464.9 MB, free: 23.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004124/0.248, allocations: 3.845 MB / 468.7 MB, free: 21.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.2501, allocations: 1.846 MB / 470.6 MB, free: 20.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/0.253, allocations: 2.517 MB / 473.1 MB, free: 19.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005208/0.2536, allocations: 279.2 kB / 473.4 MB, free: 19.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007502/0.2543, allocations: 319.3 kB / 473.7 MB, free: 19.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.2554, allocations: 1.379 MB / 475.1 MB, free: 19.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.2574, allocations: 2.234 MB / 477.3 MB, free: 17.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004469/0.2619, allocations: 6.664 MB / 484 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2619, allocations: 0 / 484 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2619, allocations: 1.062 kB / 484 MB, free: 14.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001024/0.262, allocations: 0 / 484 MB, free: 14.15 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.009468/0.2715, allocations: 4.304 MB / 488.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2715, allocations: 9.281 kB / 488.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007406/0.2723, allocations: 441 kB / 488.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002999/0.2753, allocations: 2.43 MB / 491.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.2754, allocations: 285.1 kB / 491.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006029/0.2761, allocations: 391.7 kB / 491.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006886/0.2829, allocations: 4.866 MB / 496.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.925e-05/0.283, allocations: 3.938 kB / 496.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004011/0.2834, allocations: 136 kB / 496.8 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/0.2835, allocations: 87.94 kB / 496.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006147/0.2896, allocations: 4.154 MB / 0.4893 GB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02761/0.3172, allocations: 20.69 MB / 0.5095 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01284/0.3301, allocations: 5.96 MB / 0.5153 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003279/0.3334, allocations: 2.247 MB / 0.5175 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.3336, allocations: 46.27 kB / 0.5176 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.3336, allocations: 60.88 kB / 0.5176 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00127/0.3349, allocations: 273.8 kB / 0.5179 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=294): time 4.599e-06/0.3349, allocations: 0 / 0.5179 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=296): time 0.03148/0.3664, allocations: 17.49 MB / 0.535 GB, free: 13.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.3665, allocations: 141.1 kB / 0.5351 GB, free: 13.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002347/0.3688, allocations: 1.752 MB / 0.5368 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002533/0.3691, allocations: 77.7 kB / 0.5369 GB, free: 11.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008518/0.37, allocations: 1.336 MB / 0.5382 GB, free: 10.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.371, allocations: 1.105 MB / 0.5393 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004209/0.3714, allocations: 264.5 kB / 0.5395 GB, free: 9.125 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.3715, allocations: 305.1 kB / 0.5398 GB, free: 8.824 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003395/0.3749, allocations: 2.22 MB / 0.542 GB, free: 6.598 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003481/0.3784, allocations: 2.423 MB / 0.5443 GB, free: 4.102 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04316/0.4216, allocations: 12.71 MB / 0.5567 GB, free: 7.273 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.4216, allocations: 3.938 kB / 0.5568 GB, free: 7.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01437/0.436, allocations: 6.966 MB / 0.5636 GB, free: 132 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.4361, allocations: 237.3 kB / 0.5638 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.4362, allocations: 4 kB / 0.5638 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007896/0.4441, allocations: 2.108 MB / 0.5658 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004458/0.4485, allocations: 0.9831 MB / 0.5668 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2025/0.651, allocations: 68.71 MB / 0.6339 GB, free: 63.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003226/0.6543, allocations: 218 kB / 0.6341 GB, free: 63.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/0.6545, allocations: 112.9 kB / 0.6342 GB, free: 63.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/0.6546, allocations: 6.781 kB / 0.6342 GB, free: 63.76 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.003623/0.6582, allocations: 2.429 MB / 0.6366 GB, free: 62.58 MB / 446.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated