Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal.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.HVAC.ControlledLiquidHeater_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal") translateModel(AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal") [/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.0941/0.0941, allocations: 21.61 MB / 36.56 MB, free: 1.09 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.0009915/0.0009914, allocations: 182.4 kB / 42.82 MB, free: 3.789 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.193/1.193, allocations: 223.2 MB / 272.1 MB, free: 1.781 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.0008028/0.0008028, allocations: 111 kB / 328.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.000329, allocations: 8 kB / 397 MB, free: 46.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07681/0.07715, allocations: 55.81 MB / 452.9 MB, free: 6.68 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2626/0.3398, allocations: 79.33 MB / 0.5197 GB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/0.34, allocations: 69.48 kB / 0.5198 GB, free: 13.01 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.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.HVAC.ControlledLiquidHeater_ideal. 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.00255/0.3426, allocations: 1.315 MB / 0.5211 GB, free: 12.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3426, allocations: 0 / 0.5211 GB, free: 12.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3426, allocations: 3.781 kB / 0.5211 GB, free: 12.64 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0002522/0.3429, allocations: 377.4 kB / 0.5214 GB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.3429, allocations: 11.5 kB / 0.5214 GB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.3429, allocations: 11.22 kB / 0.5214 GB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.606e-05/0.343, allocations: 181.4 kB / 0.5216 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.3431, allocations: 34.2 kB / 0.5217 GB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.3431, allocations: 7.344 kB / 0.5217 GB, free: 12.02 MB / 362.7 MB Error: An independent subset of the model has imbalanced number of equations (16) and variables (15). variables: oTo oTi Ec Pc Tfo Tfi hbo hao hbi hai w pwh_b.h pwh_b.w pwh_a.h pwh_a.w equations: 1 : hao = cp * Tfo 2 : hbo = cp * Tfo 3 : cp * Tfi = hai 4 : 0.0 = if ON then Tfo + Tcl * der(Tfo) - To else Tfo + Thc * der(Tfo) - Tfi 5 : Pc = max(cp * w * (Tfo - Tfi), 0.0) 6 : Pc = der(Ec) 7 : oTi = Tfi 8 : oTo = Tfo 9 : 0.0 = pwh_a.w + pwh_b.w 10 : w = pwh_a.w 11 : hai = pwh_a.h 12 : hao = pwh_a.h 13 : hbi = pwh_b.h 14 : hbo = pwh_b.h 15 : pwh_a.w = 0.0 16 : pwh_b.w = 0.0 Notification: Performance of preOpt clockPartitioning (simulation) : time 0.000194/0.3433, allocations: 87.67 kB / 0.5217 GB, free: 12.01 MB / 362.7 MB Error: pre-optimization module clockPartitioning (simulation) failed.