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.08864/0.08864, allocations: 21.6 MB / 37.4 MB, free: 0.7617 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.001084/0.001084, allocations: 188.5 kB / 43.63 MB, free: 3.559 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.223/1.223, allocations: 205.1 MB / 254.8 MB, free: 14.23 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.0009164/0.0009164, allocations: 104 kB / 307.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 54.14 kB / 372.3 MB, free: 59.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07168/0.07285, allocations: 51.97 MB / 424.3 MB, free: 14.5 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.01836/0.09125, allocations: 19.12 MB / 443.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.09258, allocations: 0.8186 MB / 444.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-05/0.09268, allocations: 7.938 kB / 444.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.09285, allocations: 47.69 kB / 444.3 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.09308, allocations: 159.1 kB / 444.5 MB, free: 10.26 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.09339, allocations: 91.91 kB / 444.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007253/0.09413, allocations: 1.018 MB / 445.6 MB, free: 9.152 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004393/0.09458, allocations: 466.7 kB / 446 MB, free: 8.695 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.09483, allocations: 275.2 kB / 446.3 MB, free: 8.426 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004111/0.09525, allocations: 390.9 kB / 446.7 MB, free: 8.043 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.589e-05/0.09534, allocations: 44 kB / 446.7 MB, free: 8 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.0955, allocations: 79.95 kB / 446.8 MB, free: 7.922 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.09568, allocations: 227.3 kB / 447 MB, free: 7.699 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.09594, allocations: 298.7 kB / 447.3 MB, free: 7.406 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005839/0.09653, allocations: 0.8217 MB / 448.1 MB, free: 6.582 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.09654, allocations: 0 / 448.1 MB, free: 6.582 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.09655, allocations: 4 kB / 448.1 MB, free: 6.578 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.09656, allocations: 0 / 448.1 MB, free: 6.578 MB / 314.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.001721/0.09828, allocations: 0.9861 MB / 449.1 MB, free: 5.543 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.09832, allocations: 12.02 kB / 449.1 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.662e-05/0.09842, allocations: 52.38 kB / 449.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005131/0.09894, allocations: 407.2 kB / 449.6 MB, free: 5.043 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.09898, allocations: 33.38 kB / 449.6 MB, free: 5.012 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.449e-05/0.09907, allocations: 52.28 kB / 449.7 MB, free: 4.961 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008347/0.09991, allocations: 0.5962 MB / 450.3 MB, free: 4.359 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.09993, allocations: 0 / 450.3 MB, free: 4.359 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.852e-05/0.09998, allocations: 20 kB / 450.3 MB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.1, allocations: 12 kB / 450.3 MB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007133/0.1007, allocations: 0.4958 MB / 450.8 MB, free: 3.832 MB / 314.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.0009313/0.1017, allocations: 0.8101 MB / 451.6 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/0.1048, allocations: 2.498 MB / 454.1 MB, free: 192 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009293/0.1058, allocations: 0.7092 MB / 454.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.1059, allocations: 102.1 kB / 454.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.106, allocations: 39.56 kB / 454.9 MB, free: 15.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=106): time 1.993e-06/0.106, allocations: 4 kB / 454.9 MB, free: 15.3 MB / 330.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!