Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Liquid.HE_LiquidLiquid_1vol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.ProcessComponents.Thermal.Liquid.HE_LiquidLiquid_1vol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Liquid.HE_LiquidLiquid_1vol") translateModel(AES.ProcessComponents.Thermal.Liquid.HE_LiquidLiquid_1vol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Liquid.HE_LiquidLiquid_1vol") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09131/0.09131, allocations: 21.61 MB / 36.56 MB, free: 1.109 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008542/0.0008543, allocations: 179.2 kB / 42.83 MB, free: 3.832 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 223.2 MB / 272.2 MB, free: 1.391 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008867/0.0008868, allocations: 102.7 kB / 328.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002947, allocations: 11.98 kB / 397.1 MB, free: 46.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.072/0.07232, allocations: 55.81 MB / 452.9 MB, free: 6.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2388/0.3112, allocations: 79.17 MB / 0.5196 GB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001653/0.3114, allocations: 67.03 kB / 0.5196 GB, free: 13.23 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.HE_LiquidLiquid_1vol. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.003842/0.3153, allocations: 1.797 MB / 0.5214 GB, free: 12.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3153, allocations: 0 / 0.5214 GB, free: 12.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3153, allocations: 0 / 0.5214 GB, free: 12.83 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004273/0.3157, allocations: 437.4 kB / 0.5218 GB, free: 12.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.3157, allocations: 10.55 kB / 0.5218 GB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.3158, allocations: 15.5 kB / 0.5218 GB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.3161, allocations: 260.1 kB / 0.5221 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3161, allocations: 7.719 kB / 0.5221 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.3162, allocations: 10.69 kB / 0.5221 GB, free: 12.21 MB / 362.7 MB Error: An independent subset of the model has imbalanced number of equations (17) and variables (15). variables: Ploss Pc Ph Tco Tho Tci Thi coldOut.h coldOut.w hotIn.h hotIn.w coldIn.h coldIn.w hotOut.h hotOut.w equations: 1 : 41860.0 * der(Tho) = 4186.0 * hotIn.w * (Thi - Tho) - Ph 2 : 41860.0 * der(Tco) = 4186.0 * coldIn.w * (Tci - Tco) + Pc 3 : Ph = 33.47907224740069 * (Thi + Tho + (-Tci) - Tco) 4 : Pc = 0.95 * Ph 5 : Ploss = Ph - Pc 6 : Thi = 0.0002388915432393693 * smooth(0, hotIn.h) 7 : Tci = 0.0002388915432393693 * smooth(0, coldIn.h) 8 : hotIn.w + hotOut.w = 0.0 9 : hotIn.h = 4186.0 * Tho 10 : hotOut.h = 4186.0 * Tho 11 : coldIn.w + coldOut.w = 0.0 12 : coldIn.h = 4186.0 * Tho 13 : coldOut.h = 4186.0 * Tho 14 : hotOut.w = 0.0 15 : coldIn.w = 0.0 16 : hotIn.w = 0.0 17 : coldOut.w = 0.0 Notification: Performance of preOpt clockPartitioning (simulation) : time 0.0002049/0.3164, allocations: 105.5 kB / 0.5222 GB, free: 12.19 MB / 362.7 MB Error: pre-optimization module clockPartitioning (simulation) failed.