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/ModelicaServices 4.0.0+maint.om/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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 108.1 kB / 16.37 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 194.7 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09266/0.09266, allocations: 22.34 MB / 313.5 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.66 kB / 382.3 MB, free: 41.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1107, allocations: 54.96 MB / 437.2 MB, free: 12.26 MB / 318.1 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.03323/0.144, allocations: 21.64 MB / 458.9 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1458, allocations: 0.7132 MB / 459.6 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000242/0.1461, allocations: 7.938 kB / 459.6 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.1463, allocations: 55.5 kB / 459.6 MB, free: 5.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004311/0.1467, allocations: 167 kB / 459.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.1472, allocations: 103.8 kB / 459.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009149/0.1482, allocations: 0.8033 MB / 460.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007206/0.1489, allocations: 0.5315 MB / 461.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005718/0.1495, allocations: 319.2 kB / 461.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00063/0.1501, allocations: 386.8 kB / 461.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.1503, allocations: 76 kB / 462 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.1504, allocations: 72 kB / 462.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.1507, allocations: 259.4 kB / 462.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005871/0.1513, allocations: 342.6 kB / 462.7 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.1524, allocations: 0.8336 MB / 463.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.1525, allocations: 3.938 kB / 463.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.1525, allocations: 0 / 463.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.703e-05/0.1525, allocations: 0 / 463.5 MB, free: 2.105 MB / 334.1 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.002646/0.1552, allocations: 0.99 MB / 464.5 MB, free: 1.066 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.1552, allocations: 12.03 kB / 464.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.1555, allocations: 56.28 kB / 464.5 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007676/0.1562, allocations: 415.1 kB / 465 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.479e-05/0.1563, allocations: 33.38 kB / 465 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.1564, allocations: 52.28 kB / 465 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.1574, allocations: 0.5923 MB / 465.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1574, allocations: 4 kB / 465.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.1575, allocations: 16 kB / 465.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.1575, allocations: 12 kB / 465.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00081/0.1583, allocations: 0.4997 MB / 466.2 MB, free: 15.34 MB / 350.1 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.001269/0.1596, allocations: 0.8179 MB / 467 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003617/0.1632, allocations: 2.502 MB / 469.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009851/0.1642, allocations: 0.7053 MB / 470.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.723e-05/0.1643, allocations: 13 kB / 470.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.1643, allocations: 43.56 kB / 470.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.284e-06/0.1643, allocations: 0 / 470.2 MB, free: 10.91 MB / 350.1 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!