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.005337/0.005337, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001144/0.001144, allocations: 197.1 kB / 16.68 MB, free: 5.93 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09499/0.09499, allocations: 22.32 MB / 312.8 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.91 kB / 437 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.111, allocations: 54.96 MB / 492 MB, free: 4.723 MB / 366.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.4501/0.5611, allocations: 21.9 MB / 0.5019 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.5627, allocations: 0.71 MB / 0.5026 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.5629, allocations: 7.156 kB / 0.5026 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.5631, allocations: 60.86 kB / 0.5026 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.5634, allocations: 169.3 kB / 0.5028 GB, free: 5.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.5637, allocations: 114.3 kB / 0.5029 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006216/0.5644, allocations: 0.7933 MB / 0.5037 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005713/0.5649, allocations: 0.5321 MB / 0.5042 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/0.5653, allocations: 321.9 kB / 0.5045 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004766/0.5658, allocations: 388.4 kB / 0.5049 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.574e-05/0.5658, allocations: 71.44 kB / 0.5049 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.894e-05/0.566, allocations: 73.22 kB / 0.505 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.5662, allocations: 262.2 kB / 0.5053 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003064/0.5665, allocations: 338.3 kB / 0.5056 GB, free: 5.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007766/0.5673, allocations: 0.8394 MB / 0.5064 GB, free: 5.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5673, allocations: 0.8906 kB / 0.5064 GB, free: 5.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5673, allocations: 0 / 0.5064 GB, free: 5.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.5673, allocations: 0 / 0.5064 GB, free: 5.34 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.001886/0.5692, allocations: 0.9844 MB / 0.5074 GB, free: 4.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.5693, allocations: 9.625 kB / 0.5074 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.5694, allocations: 57.31 kB / 0.5074 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/0.5699, allocations: 414.8 kB / 0.5078 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.57, allocations: 33.47 kB / 0.5078 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.5701, allocations: 54.69 kB / 0.5079 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.5713, allocations: 0.5977 MB / 0.5085 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.5713, allocations: 0 / 0.5085 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/0.5713, allocations: 16.31 kB / 0.5085 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.5714, allocations: 9.906 kB / 0.5085 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008387/0.5722, allocations: 0.4959 MB / 0.509 GB, free: 4.492 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.001188/0.5734, allocations: 0.8222 MB / 0.5098 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003403/0.5768, allocations: 2.5 MB / 0.5122 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.5778, allocations: 0.7073 MB / 0.5129 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.038e-05/0.5779, allocations: 10.38 kB / 0.5129 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.5779, allocations: 45.09 kB / 0.513 GB, free: 2.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=106): time 2.905e-06/0.5779, allocations: 2.656 kB / 0.513 GB, free: 2.746 MB / 382.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!