Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Liquid.Tube.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.Tube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Liquid.Tube") translateModel(AES.ProcessComponents.Thermal.Liquid.Tube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Liquid.Tube") [/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.09274/0.09274, allocations: 21.61 MB / 36.56 MB, free: 1.105 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.0009341/0.0009341, allocations: 182.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.188/1.188, allocations: 223.2 MB / 272.1 MB, free: 1.738 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.000806/0.000806, allocations: 106.8 kB / 328.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002972, allocations: 12 kB / 397.1 MB, free: 46.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07117/0.07148, allocations: 55.82 MB / 452.9 MB, free: 6.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2591/0.3307, allocations: 81.84 MB / 0.5222 GB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001588/0.3309, allocations: 75.22 kB / 0.5223 GB, free: 13.03 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 fluidStream.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$fluidStream. 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.01863/0.3495, allocations: 8.303 MB / 0.5304 GB, free: 10.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3495, allocations: 0 / 0.5304 GB, free: 10.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.3495, allocations: 15.47 kB / 0.5304 GB, free: 10.49 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001264/0.3508, allocations: 0.8666 MB / 0.5312 GB, free: 9.879 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.3508, allocations: 7.688 kB / 0.5312 GB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.708e-05/0.3509, allocations: 57.81 kB / 0.5313 GB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.3516, allocations: 439.4 kB / 0.5317 GB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.3516, allocations: 31.44 kB / 0.5317 GB, free: 9.559 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.324e-05/0.3517, allocations: 51.47 kB / 0.5318 GB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008046/0.3525, allocations: 0.6696 MB / 0.5324 GB, free: 9.328 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3525, allocations: 3.984 kB / 0.5324 GB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/0.3526, allocations: 21.61 kB / 0.5325 GB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3526, allocations: 7.688 kB / 0.5325 GB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006359/0.3532, allocations: 0.5012 MB / 0.533 GB, free: 9.246 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/pwhPort.mo:3:1-9:12:writable] Error: Found equation without time-dependent variables: pwh_a.w = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.3543, allocations: 1.718 MB / 0.5346 GB, free: 7.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/0.3571, allocations: 2.614 MB / 0.5372 GB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/0.3571, allocations: 12.66 kB / 0.5372 GB, free: 6.113 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.3572, allocations: 47.59 kB / 0.5372 GB, free: 6.074 MB / 362.7 MB Notification: Performance of pre-optimization done (n=106): time 1.864e-06/0.3572, allocations: 0 / 0.5372 GB, free: 6.074 MB / 362.7 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. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!