Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Liquid.TubeStream.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.TubeStream,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Liquid.TubeStream") translateModel(AES.ProcessComponents.Thermal.Liquid.TubeStream,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Liquid.TubeStream") [/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.0963/0.0963, allocations: 21.6 MB / 36.55 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.0009477/0.0009478, allocations: 179.5 kB / 42.82 MB, free: 3.836 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.217/1.217, allocations: 223.2 MB / 272.1 MB, free: 1.77 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.0008521/0.0008524, allocations: 99.02 kB / 328.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002752, allocations: 15.98 kB / 397.1 MB, free: 46.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07134/0.07163, allocations: 55.81 MB / 452.9 MB, free: 6.672 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.258/0.3297, allocations: 80.48 MB / 0.5208 GB, free: 12.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001812/0.3299, allocations: 70.98 kB / 0.5209 GB, free: 12.86 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.Liquid.TubeStream. 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.008518/0.3384, allocations: 3.458 MB / 0.5243 GB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3385, allocations: 0 / 0.5243 GB, free: 12.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.3385, allocations: 3.812 kB / 0.5243 GB, free: 12.36 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006431/0.3391, allocations: 0.492 MB / 0.5248 GB, free: 11.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3392, allocations: 7.531 kB / 0.5248 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.3392, allocations: 23.34 kB / 0.5248 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.3395, allocations: 232.3 kB / 0.525 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3395, allocations: 14.09 kB / 0.525 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.3395, allocations: 10.94 kB / 0.525 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.3398, allocations: 190.3 kB / 0.5252 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.3398, allocations: 3.938 kB / 0.5252 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.3399, allocations: 9.922 kB / 0.5252 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3399, allocations: 3.953 kB / 0.5252 GB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.3401, allocations: 167 kB / 0.5254 GB, free: 11.69 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_b.w = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.3405, allocations: 335.1 kB / 0.5257 GB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.3408, allocations: 211.2 kB / 0.5259 GB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.3408, allocations: 3.969 kB / 0.5259 GB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.3408, allocations: 41.91 kB / 0.526 GB, free: 11.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.432e-06/0.3408, allocations: 0 / 0.526 GB, free: 11.41 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!