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.005167/0.005167, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001193/0.001193, allocations: 186.8 kB / 16.67 MB, free: 5.977 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.198/0.198, allocations: 22.37 MB / 312.9 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 62.09 kB / 437.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1138, allocations: 54.96 MB / 492 MB, free: 1.199 MB / 350.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.02718/0.1411, allocations: 21.86 MB / 0.5019 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1426, allocations: 0.7132 MB / 0.5026 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.1428, allocations: 7.938 kB / 0.5026 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.1429, allocations: 55.5 kB / 0.5026 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.1432, allocations: 159.1 kB / 0.5028 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.1436, allocations: 107.7 kB / 0.5029 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006663/0.1443, allocations: 0.7994 MB / 0.5037 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005273/0.1449, allocations: 0.5316 MB / 0.5042 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.1452, allocations: 323.2 kB / 0.5045 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004582/0.1456, allocations: 386.9 kB / 0.5048 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.096e-05/0.1457, allocations: 72 kB / 0.5049 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1458, allocations: 76 kB / 0.505 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.146, allocations: 259.3 kB / 0.5052 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002952/0.1463, allocations: 342.6 kB / 0.5056 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006336/0.147, allocations: 0.8412 MB / 0.5064 GB, free: 6.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.147, allocations: 4 kB / 0.5064 GB, free: 6.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.147, allocations: 0 / 0.5064 GB, free: 6.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.147, allocations: 0 / 0.5064 GB, free: 6.812 MB / 382.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.001919/0.1489, allocations: 0.9846 MB / 0.5074 GB, free: 5.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.149, allocations: 12.03 kB / 0.5074 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.1491, allocations: 56.28 kB / 0.5074 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.1496, allocations: 411.1 kB / 0.5078 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.1497, allocations: 37.38 kB / 0.5078 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.621e-05/0.1498, allocations: 56.27 kB / 0.5079 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008887/0.1507, allocations: 0.5884 MB / 0.5085 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1507, allocations: 0 / 0.5085 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/0.1507, allocations: 20 kB / 0.5085 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.1508, allocations: 12 kB / 0.5085 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000787/0.1516, allocations: 0.5035 MB / 0.509 GB, free: 4.051 MB / 382.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.001073/0.1526, allocations: 0.8102 MB / 0.5098 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003398/0.156, allocations: 2.501 MB / 0.5122 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009198/0.157, allocations: 0.7053 MB / 0.5129 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.159e-05/0.157, allocations: 20.98 kB / 0.5129 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.1571, allocations: 51.44 kB / 0.513 GB, free: 15.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=106): time 1.854e-06/0.1571, allocations: 0 / 0.513 GB, free: 15.61 MB / 398.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!