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: translateModel(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_001") translateModel(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 102.6 kB / 15.71 MB, free: 460 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.001612/0.001612, allocations: 176.2 kB / 16.58 MB, free: 6.859 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.553/1.553, allocations: 223.2 MB / 240.6 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.2181/0.2181, allocations: 22.35 MB / 314.1 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003965, allocations: 11.94 kB / 382.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4385, allocations: 55.97 MB / 438.6 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.Heat_network.HNcontrol_HC_SS_case_001): time 0.009921/0.4484, allocations: 11.25 MB / 449.8 MB, free: 30.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008913/0.4574, allocations: 3.41 MB / 453.2 MB, free: 28.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003166/0.4606, allocations: 66.47 kB / 453.3 MB, free: 28.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.462, allocations: 377.6 kB / 453.7 MB, free: 28.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00382/0.4658, allocations: 1.211 MB / 454.9 MB, free: 27.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.4679, allocations: 0.5919 MB / 455.5 MB, free: 27.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007763/0.4757, allocations: 6.217 MB / 461.7 MB, free: 24.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006604/0.4824, allocations: 3.44 MB / 465.1 MB, free: 23.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005621/0.488, allocations: 1.824 MB / 466.9 MB, free: 22.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007638/0.4957, allocations: 2.463 MB / 469.4 MB, free: 21.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001971/0.4977, allocations: 276.7 kB / 469.7 MB, free: 21.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00299/0.5007, allocations: 308.9 kB / 470 MB, free: 21.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002534/0.5032, allocations: 1.393 MB / 471.4 MB, free: 21.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003332/0.5066, allocations: 0.8598 MB / 472.2 MB, free: 20.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.5169, allocations: 6.596 MB / 478.8 MB, free: 17.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.517, allocations: 3.938 kB / 478.8 MB, free: 17.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.517, allocations: 1.156 kB / 478.8 MB, free: 17.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002996/0.5173, allocations: 0 / 478.8 MB, free: 17.18 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.01543/0.5327, allocations: 4.263 MB / 483.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.5328, allocations: 9.625 kB / 483.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003095/0.5359, allocations: 435.5 kB / 483.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007655/0.5436, allocations: 2.315 MB / 485.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005132/0.5441, allocations: 277.9 kB / 486.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002514/0.5467, allocations: 373.8 kB / 486.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01782/0.5645, allocations: 4.763 MB / 491.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001732/0.5647, allocations: 7.922 kB / 491.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001736/0.5665, allocations: 140 kB / 491.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.934e-05/0.5666, allocations: 80 kB / 491.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/0.5778, allocations: 4.063 MB / 495.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04688/0.6247, allocations: 20.49 MB / 0.5039 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01569/0.6405, allocations: 5.827 MB / 0.5096 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005105/0.6456, allocations: 2.192 MB / 0.5118 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004372/0.6461, allocations: 50.25 kB / 0.5118 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.851e-05/0.6462, allocations: 64.81 kB / 0.5119 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002927/0.6491, allocations: 257.9 kB / 0.5121 GB, free: 5.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=287): time 1.932e-05/0.6492, allocations: 7.984 kB / 0.5121 GB, free: 5.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=289): time 0.04501/0.6942, allocations: 16.99 MB / 0.5287 GB, free: 3.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.6943, allocations: 107.4 kB / 0.5288 GB, free: 3.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004823/0.6992, allocations: 1.719 MB / 0.5305 GB, free: 1.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001633/0.7008, allocations: 69.7 kB / 0.5306 GB, free: 1.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001422/0.7023, allocations: 1.316 MB / 0.5319 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002765/0.705, allocations: 1.086 MB / 0.5329 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/0.7061, allocations: 68 kB / 0.533 GB, free: 15.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004395/0.7066, allocations: 440.5 kB / 0.5334 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005138/0.7117, allocations: 2.177 MB / 0.5355 GB, free: 12.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00522/0.717, allocations: 2.371 MB / 0.5378 GB, free: 10.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005316/0.7223, allocations: 2.437 MB / 0.5402 GB, free: 7.844 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/0.7224, allocations: 0 / 0.5402 GB, free: 7.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01643/0.7388, allocations: 6.52 MB / 0.5466 GB, free: 1.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002235/0.7391, allocations: 241.6 kB / 0.5468 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.7391, allocations: 4 kB / 0.5468 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005655/0.7448, allocations: 1.744 MB / 0.5485 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005439/0.7502, allocations: 0.909 MB / 0.5494 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4025/1.153, allocations: 66.97 MB / 0.6148 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005082/1.158, allocations: 209.1 kB / 0.615 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001214/1.159, allocations: 111.9 kB / 0.6151 GB, free: 105.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/1.159, allocations: 7.062 kB / 0.6151 GB, free: 105.2 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.005362/1.165, allocations: 2.392 MB / 0.6175 GB, free: 104.3 MB / 462.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated