Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin.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.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Heater_power_vs_wTin_heater_wT_sweep_Tin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Heater_power_vs_wTin_heater_wT_sweep_Tin",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.09805/0.09805, allocations: 21.61 MB / 36.56 MB, free: 1.051 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.001114/0.001114, allocations: 187.3 kB / 42.83 MB, free: 3.785 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.363/1.363, allocations: 223.2 MB / 272.1 MB, free: 1.434 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.001124/0.001124, allocations: 100.9 kB / 328.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005646/0.0005647, allocations: 11.98 kB / 397.1 MB, free: 46.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1231, allocations: 55.8 MB / 452.9 MB, free: 6.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4506/0.5737, allocations: 82.84 MB / 0.5232 GB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.5741, allocations: 83.92 kB / 0.5233 GB, free: 13.11 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid cases[7].src.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.Node_wT_prescribed. 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid cases[7].snk.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.Node_pT_fixed. 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. [/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 cases[7].tube.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.TubeStream$cases$tube. 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid cases[6].src.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.Node_wT_prescribed. 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid cases[6].snk.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.Node_pT_fixed. 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. [/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 cases[6].tube.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.TubeStream$cases$tube. 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid cases[5].src.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.Node_wT_prescribed. 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid cases[5].snk.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.Node_pT_fixed. 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. [/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 cases[5].tube.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.TubeStream$cases$tube. 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid cases[4].src.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.Node_wT_prescribed. 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid cases[4].snk.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.Node_pT_fixed. 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. [/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 cases[4].tube.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.TubeStream$cases$tube. 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid cases[3].src.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.Node_wT_prescribed. 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid cases[3].snk.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.Node_pT_fixed. 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. [/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 cases[3].tube.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.TubeStream$cases$tube. 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid cases[2].src.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.Node_wT_prescribed. 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid cases[2].snk.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.Node_pT_fixed. 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. [/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 cases[2].tube.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.TubeStream$cases$tube. 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid cases[1].src.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.Node_wT_prescribed. 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid cases[1].snk.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.Node_pT_fixed. 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. [/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 cases[1].tube.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.TubeStream$cases$tube. 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.104/0.6781, allocations: 39.95 MB / 0.5623 GB, free: 8.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.6781, allocations: 0 / 0.5623 GB, free: 8.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001335/0.6783, allocations: 44.16 kB / 0.5624 GB, free: 8.207 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 413 * Number of variables: 413 Notification: Performance of Generate backend data structure: time 0.01048/0.6888, allocations: 3.859 MB / 0.5661 GB, free: 4.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.6888, allocations: 11.97 kB / 0.5661 GB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008633/0.6897, allocations: 256.9 kB / 0.5664 GB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006481/0.6903, allocations: 260.9 kB / 0.5666 GB, free: 4.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004882/0.6952, allocations: 2.051 MB / 0.5686 GB, free: 2.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.6954, allocations: 128.5 kB / 0.5688 GB, free: 2.281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004199/0.6958, allocations: 184.3 kB / 0.5689 GB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007497/0.7033, allocations: 3.902 MB / 0.5727 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.7034, allocations: 4 kB / 0.5728 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.7036, allocations: 65.19 kB / 0.5728 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/0.7037, allocations: 40 kB / 0.5729 GB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007971/0.7116, allocations: 4.414 MB / 0.5772 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02076/0.7324, allocations: 11.47 MB / 0.5884 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006603/0.7391, allocations: 4.14 MB / 0.5924 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/0.7393, allocations: 39.88 kB / 0.5924 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.7394, allocations: 58.5 kB / 0.5925 GB, free: 11.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=196): time 3.937e-06/0.7394, allocations: 0 / 0.5925 GB, free: 11.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.04786/0.7872, allocations: 23.34 MB / 0.6153 GB, free: 2.895 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.7874, allocations: 233.6 kB / 0.6155 GB, free: 2.617 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002725/0.7901, allocations: 1.825 MB / 0.6173 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007184/0.7909, allocations: 61.7 kB / 0.6174 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006776/0.7915, allocations: 0.8012 MB / 0.6181 GB, free: 15.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009333/0.7925, allocations: 0.729 MB / 0.6189 GB, free: 15.19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.7927, allocations: 44 kB / 0.6189 GB, free: 15.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.7929, allocations: 397.9 kB / 0.6193 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004872/0.7978, allocations: 2.748 MB / 0.622 GB, free: 12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004996/0.8028, allocations: 2.915 MB / 0.6248 GB, free: 9.051 MB / 442.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.cases[1].tube.w = 0.0 (if time < cases[1].w.startTime then 0.0 else if time < cases[1].w.startTime + cases[1].w.duration then cases[1].w.height / cases[1].w.duration else 0.0 = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.cases[2].tube.w = 0.0 (if time < cases[2].w.startTime then 0.0 else if time < cases[2].w.startTime + cases[2].w.duration then cases[2].w.height / cases[2].w.duration else 0.0 = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.cases[3].tube.w = 0.0 (if time < cases[3].w.startTime then 0.0 else if time < cases[3].w.startTime + cases[3].w.duration then cases[3].w.height / cases[3].w.duration else 0.0 = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.cases[4].tube.w = 0.0 (if time < cases[4].w.startTime then 0.0 else if time < cases[4].w.startTime + cases[4].w.duration then cases[4].w.height / cases[4].w.duration else 0.0 = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.cases[5].tube.w = 0.0 (if time < cases[5].w.startTime then 0.0 else if time < cases[5].w.startTime + cases[5].w.duration then cases[5].w.height / cases[5].w.duration else 0.0 = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.cases[6].tube.w = 0.0 (if time < cases[6].w.startTime then 0.0 else if time < cases[6].w.startTime + cases[6].w.duration then cases[6].w.height / cases[6].w.duration else 0.0 = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.cases[7].tube.w = 0.0 (if time < cases[7].w.startTime then 0.0 else if time < cases[7].w.startTime + cases[7].w.duration then cases[7].w.height / cases[7].w.duration else 0.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.04191/0.8447, allocations: 15.19 MB / 0.6396 GB, free: 9.715 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.8447, allocations: 0 / 0.6396 GB, free: 9.715 MB / 458.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01611/0.8609, allocations: 7.787 MB / 0.6472 GB, free: 1.805 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002742/0.8612, allocations: 0.6397 MB / 0.6479 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.8612, allocations: 0 / 0.6479 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005684/0.8669, allocations: 1.976 MB / 0.6498 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005195/0.8721, allocations: 1.158 MB / 0.6509 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3147/1.187, allocations: 55.76 MB / 0.7054 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004425/1.191, allocations: 0.551 MB / 0.7059 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007161/1.192, allocations: 74.8 kB / 0.706 GB, free: 123 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/1.192, allocations: 3.344 kB / 0.706 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01538/1.207, allocations: 7.486 MB / 0.7133 GB, free: 122.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/1.208, allocations: 7.375 kB / 0.7133 GB, free: 122.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005814/1.213, allocations: 1.975 MB / 0.7152 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005845/1.219, allocations: 1.147 MB / 0.7164 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03238/1.252, allocations: 55.77 MB / 0.7708 GB, free: 74.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004083/1.256, allocations: 0.5341 MB / 0.7713 GB, free: 74.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006507/1.256, allocations: 71.3 kB / 0.7714 GB, free: 74.53 MB / 490.7 MB Warning: The initial conditions are over specified. The following 7 initial equations are redundant, so they are removed from the initialization sytem: $DER.cases[1].tube.w = 0.0 $DER.cases[2].tube.w = 0.0 $DER.cases[3].tube.w = 0.0 $DER.cases[4].tube.w = 0.0 $DER.cases[5].tube.w = 0.0 $DER.cases[6].tube.w = 0.0 $DER.cases[7].tube.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 35 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 35 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002785/1.259, allocations: 1.017 MB / 0.7724 GB, free: 74.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001246/1.261, allocations: 199.3 kB / 0.7726 GB, free: 74.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/1.274, allocations: 6.935 MB / 0.7794 GB, free: 71.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.718e-05/1.274, allocations: 21.28 kB / 0.7794 GB, free: 71.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.409e-05/1.274, allocations: 10.91 kB / 0.7794 GB, free: 71.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.731e-05/1.274, allocations: 10.45 kB / 0.7794 GB, free: 71.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005194/1.279, allocations: 3.374 MB / 0.7827 GB, free: 70.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/1.279, allocations: 0 / 0.7827 GB, free: 70.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004808/1.284, allocations: 1.094 MB / 0.7838 GB, free: 70.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003599/1.288, allocations: 1.428 MB / 0.7852 GB, free: 70.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006797/1.289, allocations: 81.98 kB / 0.7852 GB, free: 70.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02615/1.315, allocations: 51.23 MB / 0.8353 GB, free: 17.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.315, allocations: 8.125 kB / 0.8353 GB, free: 17.76 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01773/1.332, allocations: 10.55 MB / 0.8456 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009589/1.333, allocations: 326.5 kB / 0.8459 GB, free: 6.695 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007781/1.334, allocations: 75.95 kB / 0.846 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003008/1.337, allocations: 0.514 MB / 0.8465 GB, free: 6.113 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001272/1.339, allocations: 0.5781 MB / 0.847 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/1.339, allocations: 59.97 kB / 0.8471 GB, free: 5.477 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0017/1.34, allocations: 1.423 MB / 0.8485 GB, free: 4.059 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-07/1.34, allocations: 0 / 0.8485 GB, free: 4.059 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005054/1.346, allocations: 1.502 MB / 0.8499 GB, free: 2.559 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 35 (cases[7].tube.T[1],cases[7].tube.T[2],cases[7].tube.T[3],cases[7].tube.T[4],cases[7].tube.T[5],cases[6].tube.T[1],cases[6].tube.T[2],cases[6].tube.T[3],cases[6].tube.T[4],cases[6].tube.T[5],cases[5].tube.T[1],cases[5].tube.T[2],cases[5].tube.T[3],cases[5].tube.T[4],cases[5].tube.T[5],cases[4].tube.T[1],cases[4].tube.T[2],cases[4].tube.T[3],cases[4].tube.T[4],cases[4].tube.T[5],cases[3].tube.T[1],cases[3].tube.T[2],cases[3].tube.T[3],cases[3].tube.T[4],cases[3].tube.T[5],cases[2].tube.T[1],cases[2].tube.T[2],cases[2].tube.T[3],cases[2].tube.T[4],cases[2].tube.T[5],cases[1].tube.T[1],cases[1].tube.T[2],cases[1].tube.T[3],cases[1].tube.T[4],cases[1].tube.T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 35 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 35 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2487/1.594, allocations: 11.61 MB / 0.8613 GB, free: 124.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02507/1.619, allocations: 17.36 MB / 0.8782 GB, free: 116.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.619, allocations: 1.031 kB / 0.8782 GB, free: 116.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01012/1.63, allocations: 7.168 MB / 0.8852 GB, free: 112.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/1.632, allocations: 0.6161 MB / 0.8858 GB, free: 112.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02905/1.661, allocations: 14.93 MB / 0.9004 GB, free: 107.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/1.663, allocations: 2.267 MB / 0.9026 GB, free: 107 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003706/1.667, allocations: 1.392 MB / 0.904 GB, free: 106.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/1.669, allocations: 0.8351 MB / 0.9048 GB, free: 106.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.293e-06/1.669, allocations: 4 kB / 0.9048 GB, free: 106.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/1.785, allocations: 88.36 MB / 0.9911 GB, free: 31.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001459/1.785, allocations: 228.4 kB / 0.9913 GB, free: 31.45 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.652/6.437, allocations: 8 kB / 0.9913 GB, free: 31.44 MB / 490.7 MB (rm -f AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_component_models_Heater_power_vs_wTin_heater_wT_sweep_Tin_fmu --startTime=0 --stopTime=1.5e+06 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_component_models_Heater_power_vs_wTin_heater_wT_sweep_Tin.fmu > AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT_sweep_Tin.pipe 2>&1)