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.0009814/0.0009813, allocations: 87.11 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.001194/0.001194, 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.342/1.342, allocations: 223.2 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2265/0.2265, allocations: 22.35 MB / 313.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003276, allocations: 11.98 kB / 382.1 MB, free: 10.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2961, allocations: 55.97 MB / 438 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_001): time 0.007944/0.3041, allocations: 11.25 MB / 449.3 MB, free: 30.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005671/0.3098, allocations: 3.417 MB / 452.7 MB, free: 28.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.3111, allocations: 63.84 kB / 452.8 MB, free: 28.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006719/0.3118, allocations: 374.6 kB / 453.1 MB, free: 28.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.3138, allocations: 1.219 MB / 454.3 MB, free: 27.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.3152, allocations: 0.5904 MB / 454.9 MB, free: 27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004862/0.3201, allocations: 6.212 MB / 461.1 MB, free: 24.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004575/0.3247, allocations: 3.444 MB / 464.6 MB, free: 23.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003428/0.3281, allocations: 1.825 MB / 466.4 MB, free: 22.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004292/0.3325, allocations: 2.452 MB / 468.9 MB, free: 21.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007242/0.3332, allocations: 280.4 kB / 469.1 MB, free: 21.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.3346, allocations: 308 kB / 469.4 MB, free: 21.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001761/0.3364, allocations: 1.398 MB / 470.8 MB, free: 20.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00143/0.3378, allocations: 0.8537 MB / 471.7 MB, free: 20.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006332/0.3442, allocations: 6.598 MB / 478.3 MB, free: 17.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.3442, allocations: 0 / 478.3 MB, free: 17.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3442, allocations: 0 / 478.3 MB, free: 17.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001877/0.3444, allocations: 0 / 478.3 MB, free: 17.16 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.01045/0.3549, allocations: 4.272 MB / 482.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3549, allocations: 8.875 kB / 482.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008213/0.3557, allocations: 463.4 kB / 483 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008619/0.3566, allocations: 430.9 kB / 483.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003399/0.36, allocations: 2.32 MB / 485.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002469/0.3603, allocations: 282.1 kB / 486 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007162/0.361, allocations: 374.5 kB / 486.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007728/0.3687, allocations: 4.76 MB / 491.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.289e-05/0.3688, allocations: 0 / 491.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003388/0.3691, allocations: 140 kB / 491.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.989e-05/0.3692, allocations: 83.95 kB / 491.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00589/0.3751, allocations: 4.063 MB / 495.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02967/0.4048, allocations: 20.49 MB / 0.5039 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/0.4167, allocations: 5.831 MB / 0.5095 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003686/0.4205, allocations: 2.2 MB / 0.5117 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002144/0.4207, allocations: 50.2 kB / 0.5117 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.4207, allocations: 60.83 kB / 0.5118 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002057/0.4228, allocations: 257.9 kB / 0.512 GB, free: 5.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=287): time 6.613e-06/0.4228, allocations: 4 kB / 0.5121 GB, free: 5.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=289): time 0.03241/0.4553, allocations: 16.99 MB / 0.5286 GB, free: 3.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.809e-05/0.4554, allocations: 107.4 kB / 0.5287 GB, free: 3.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/0.4582, allocations: 1.715 MB / 0.5304 GB, free: 1.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003443/0.4586, allocations: 77.7 kB / 0.5305 GB, free: 1.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009341/0.4595, allocations: 1.32 MB / 0.5318 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001271/0.4608, allocations: 1.082 MB / 0.5328 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.461, allocations: 67.94 kB / 0.5329 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.4613, allocations: 444.7 kB / 0.5333 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00341/0.4647, allocations: 2.173 MB / 0.5355 GB, free: 12.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003463/0.4682, allocations: 2.375 MB / 0.5378 GB, free: 9.699 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003632/0.4718, allocations: 2.425 MB / 0.5401 GB, free: 7.258 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.4718, allocations: 3.984 kB / 0.5401 GB, free: 7.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01197/0.4838, allocations: 6.52 MB / 0.5465 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.484, allocations: 249.5 kB / 0.5467 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.484, allocations: 4 kB / 0.5468 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005044/0.4891, allocations: 1.74 MB / 0.5485 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004966/0.4941, allocations: 0.9129 MB / 0.5493 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2836/0.7777, allocations: 66.96 MB / 0.6147 GB, free: 105.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003975/0.7818, allocations: 212.9 kB / 0.6149 GB, free: 105.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006213/0.7824, allocations: 115.8 kB / 0.615 GB, free: 105.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.7824, allocations: 2.875 kB / 0.6151 GB, free: 105.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.004113/0.7866, allocations: 2.391 MB / 0.6174 GB, free: 104.1 MB / 462.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated