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.001287/0.001287, allocations: 110.6 kB / 16.41 MB, free: 6.504 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.001269/0.00127, allocations: 187 kB / 17.34 MB, free: 5.742 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0908/0.0908, allocations: 22.32 MB / 313.5 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 64.14 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1423, allocations: 54.95 MB / 492.7 MB, free: 4.773 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.4506/0.5929, allocations: 21.82 MB / 0.5024 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.5942, allocations: 0.7115 MB / 0.5031 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.5944, allocations: 4.125 kB / 0.5031 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.5946, allocations: 55.34 kB / 0.5032 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.5949, allocations: 168.6 kB / 0.5034 GB, free: 5.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.5953, allocations: 104.2 kB / 0.5035 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006887/0.596, allocations: 0.7991 MB / 0.5042 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006334/0.5967, allocations: 0.5309 MB / 0.5048 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004321/0.5971, allocations: 320.7 kB / 0.5051 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006335/0.5977, allocations: 382.5 kB / 0.5054 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.5979, allocations: 70.56 kB / 0.5055 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.5981, allocations: 77.5 kB / 0.5056 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.5984, allocations: 269.3 kB / 0.5058 GB, free: 5.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004371/0.5988, allocations: 336.3 kB / 0.5061 GB, free: 5.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009528/0.5998, allocations: 0.8347 MB / 0.507 GB, free: 5.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5998, allocations: 0 / 0.507 GB, free: 5.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5998, allocations: 0 / 0.507 GB, free: 5.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.114e-05/0.5998, allocations: 0 / 0.507 GB, free: 5.348 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.002545/0.6024, allocations: 0.9912 MB / 0.5079 GB, free: 4.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.6024, allocations: 9.344 kB / 0.5079 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.6026, allocations: 57.3 kB / 0.508 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000618/0.6032, allocations: 417.2 kB / 0.5084 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.6033, allocations: 33.84 kB / 0.5084 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.6034, allocations: 51.84 kB / 0.5085 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.6044, allocations: 0.5933 MB / 0.509 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.6045, allocations: 0 / 0.509 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/0.6045, allocations: 19.06 kB / 0.5091 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.6045, allocations: 16.41 kB / 0.5091 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000782/0.6053, allocations: 0.4939 MB / 0.5096 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.001119/0.6065, allocations: 0.8135 MB / 0.5104 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/0.6097, allocations: 2.5 MB / 0.5128 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009775/0.6107, allocations: 0.7061 MB / 0.5135 GB, free: 2.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.045e-05/0.6107, allocations: 12.12 kB / 0.5135 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.6108, allocations: 49.38 kB / 0.5135 GB, free: 2.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=106): time 3.236e-06/0.6108, allocations: 0 / 0.5135 GB, free: 2.75 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!