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.1091/0.1091, allocations: 21.46 MB / 36.42 MB, free: 1.156 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.001116/0.001116, allocations: 182.7 kB / 42.64 MB, free: 4 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.636/1.636, allocations: 205.4 MB / 254.1 MB, free: 15.24 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.0007978/0.0007976, allocations: 84 kB / 307.8 MB, free: 11.08 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005292/0.0005292, allocations: 15.88 kB / 373.3 MB, free: 59.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1105, allocations: 52.96 MB / 426.2 MB, free: 13.01 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.001877/0.1124, allocations: 1.979 MB / 428.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009621/0.1134, allocations: 0.7763 MB / 429 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.1135, allocations: 11.88 kB / 429 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.1137, allocations: 39.64 kB / 429 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.1139, allocations: 159.2 kB / 429.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.1142, allocations: 83.83 kB / 429.3 MB, free: 9.945 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004815/0.1147, allocations: 0.8422 MB / 430.1 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003772/0.115, allocations: 417.6 kB / 430.5 MB, free: 8.691 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.1152, allocations: 255.3 kB / 430.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.1156, allocations: 367 kB / 431.1 MB, free: 8.082 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.2e-05/0.1156, allocations: 32 kB / 431.2 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.1158, allocations: 59.97 kB / 431.2 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.1159, allocations: 227.4 kB / 431.4 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.037e-05/0.116, allocations: 125.5 kB / 431.6 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.1164, allocations: 0.6468 MB / 432.2 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1164, allocations: 0 / 432.2 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1164, allocations: 0 / 432.2 MB, free: 6.992 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1164, allocations: 0 / 432.2 MB, free: 6.992 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.001504/0.1179, allocations: 0.9119 MB / 433.1 MB, free: 6.031 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.118, allocations: 12.03 kB / 433.1 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.263e-05/0.1181, allocations: 55.34 kB / 433.2 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.1185, allocations: 394.2 kB / 433.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.1185, allocations: 37 kB / 433.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.931e-05/0.1186, allocations: 51.91 kB / 433.7 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008091/0.1194, allocations: 0.5842 MB / 434.2 MB, free: 4.863 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1195, allocations: 0 / 434.2 MB, free: 4.863 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/0.1195, allocations: 20 kB / 434.3 MB, free: 4.844 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.1195, allocations: 8 kB / 434.3 MB, free: 4.836 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.1202, allocations: 495.7 kB / 434.8 MB, free: 4.352 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.0008691/0.1211, allocations: 0.814 MB / 435.6 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/0.124, allocations: 2.503 MB / 438.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000812/0.1248, allocations: 0.6936 MB / 438.8 MB, free: 8 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/0.125, allocations: 98.09 kB / 438.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.125, allocations: 51.5 kB / 438.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=106): time 2.024e-06/0.1251, allocations: 0 / 438.9 MB, free: 15.83 MB / 314.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!