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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.143/0.143, allocations: 21.44 MB / 36.39 MB, free: 1.191 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001508, allocations: 182.4 kB / 42.62 MB, free: 3.965 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.4 MB / 254.1 MB, free: 15.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009473/0.0009469, allocations: 85.5 kB / 307.8 MB, free: 11.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005104/0.0005105, allocations: 9.875 kB / 373.2 MB, free: 59.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1217, allocations: 52.96 MB / 426.2 MB, free: 13.32 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Liquid.Tube): time 0.002305/0.124, allocations: 1.865 MB / 428.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1255, allocations: 0.792 MB / 428.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1256, allocations: 7.938 kB / 428.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.1258, allocations: 47.69 kB / 428.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.126, allocations: 107.6 kB / 429 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.1264, allocations: 79.83 kB / 429.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000437/0.1269, allocations: 447.9 kB / 429.5 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000457/0.1273, allocations: 410.9 kB / 429.9 MB, free: 9.555 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.1276, allocations: 227.5 kB / 430.1 MB, free: 9.332 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003605/0.128, allocations: 271.2 kB / 430.4 MB, free: 9.066 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.376e-05/0.1281, allocations: 32 kB / 430.4 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.1282, allocations: 63.91 kB / 430.5 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.1284, allocations: 195.5 kB / 430.7 MB, free: 8.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1285, allocations: 125.5 kB / 430.8 MB, free: 8.652 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.129, allocations: 0.6429 MB / 431.5 MB, free: 8.008 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.129, allocations: 0 / 431.5 MB, free: 8.008 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.129, allocations: 0 / 431.5 MB, free: 8.008 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.129, allocations: 0 / 431.5 MB, free: 8.008 MB / 298.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.001735/0.1307, allocations: 0.9082 MB / 432.4 MB, free: 7.051 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1308, allocations: 8.031 kB / 432.4 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.1309, allocations: 59.34 kB / 432.4 MB, free: 6.984 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006176/0.1315, allocations: 398.1 kB / 432.8 MB, free: 6.555 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.1316, allocations: 33 kB / 432.9 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.545e-05/0.1317, allocations: 55.89 kB / 432.9 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00084/0.1325, allocations: 0.5764 MB / 433.5 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1326, allocations: 8 kB / 433.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/0.1326, allocations: 16 kB / 433.5 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.1326, allocations: 12 kB / 433.5 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006574/0.1333, allocations: 495.7 kB / 434 MB, free: 5.367 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/pwhPort.mo:5:3-5:25:writable] Error: Found equation without time-dependent variables: pwh_b.w = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009614/0.1343, allocations: 0.8062 MB / 434.8 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/0.1372, allocations: 2.503 MB / 437.3 MB, free: 1.723 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001665/0.1374, allocations: 90.11 kB / 437.4 MB, free: 1.617 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1374, allocations: 47.5 kB / 437.4 MB, free: 1.562 MB / 298.7 MB Notification: Performance of pre-optimization done (n=106): time 4.408e-06/0.1375, allocations: 0 / 437.4 MB, free: 1.562 MB / 298.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!