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: "" <> buildModelFMU(AES.ProcessComponents.Thermal.Liquid.HE_LiquidLiquid_1vol,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_HE_LiquidLiquid_1vol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Liquid.HE_LiquidLiquid_1vol,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_HE_LiquidLiquid_1vol",fmuType="me",version="2.0",platforms={"static"}) [/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.1094/0.1094, allocations: 21.62 MB / 36.56 MB, free: 1.098 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.001089/0.001089, allocations: 186.4 kB / 42.83 MB, free: 3.781 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.452/1.452, allocations: 223.2 MB / 272.1 MB, free: 1.43 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.0008782/0.0008782, allocations: 103.3 kB / 328.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004337, allocations: 12 kB / 397.1 MB, free: 46.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 55.82 MB / 452.9 MB, free: 6.566 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3545/0.4803, allocations: 79.16 MB / 0.5196 GB, free: 12.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.4805, allocations: 67.86 kB / 0.5197 GB, free: 12.82 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.004209/0.4847, allocations: 1.79 MB / 0.5215 GB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4847, allocations: 0 / 0.5215 GB, free: 12.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.4848, allocations: 0 / 0.5215 GB, free: 12.43 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.0005103/0.4853, allocations: 440.9 kB / 0.5219 GB, free: 12.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.4853, allocations: 10.58 kB / 0.5219 GB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.4854, allocations: 38.16 kB / 0.5219 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.4854, allocations: 20.25 kB / 0.5219 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.4858, allocations: 262.4 kB / 0.5222 GB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.4858, allocations: 7.594 kB / 0.5222 GB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.4859, allocations: 8.219 kB / 0.5222 GB, free: 11.76 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.0002533/0.4861, allocations: 115.1 kB / 0.5223 GB, free: 11.74 MB / 362.7 MB Error: pre-optimization module clockPartitioning (simulation) failed.