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.001107/0.001106, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001158/0.001158, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.62/1.62, 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.0933/0.0933, allocations: 22.32 MB / 313.5 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.89 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09879, allocations: 54.95 MB / 492.7 MB, free: 4.75 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.385/0.4839, allocations: 21.84 MB / 0.5025 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.4852, allocations: 0.7107 MB / 0.5032 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.4853, allocations: 6.469 kB / 0.5032 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.4855, allocations: 56.05 kB / 0.5032 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.4857, allocations: 169.9 kB / 0.5034 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.4861, allocations: 110.2 kB / 0.5035 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005677/0.4866, allocations: 0.7924 MB / 0.5043 GB, free: 5.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005296/0.4872, allocations: 0.5354 MB / 0.5048 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.4875, allocations: 317 kB / 0.5051 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004734/0.4879, allocations: 389.7 kB / 0.5055 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.4881, allocations: 71.28 kB / 0.5055 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.4882, allocations: 73.53 kB / 0.5056 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.4884, allocations: 262.4 kB / 0.5058 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.4887, allocations: 340.6 kB / 0.5062 GB, free: 5.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006428/0.4894, allocations: 0.8368 MB / 0.507 GB, free: 5.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4894, allocations: 2.656 kB / 0.507 GB, free: 5.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4894, allocations: 0 / 0.507 GB, free: 5.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.4894, allocations: 0 / 0.507 GB, free: 5.367 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.001802/0.4912, allocations: 0.9906 MB / 0.508 GB, free: 4.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.4912, allocations: 9.719 kB / 0.508 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.4914, allocations: 55.84 kB / 0.508 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005502/0.4919, allocations: 417.4 kB / 0.5084 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.492, allocations: 30.16 kB / 0.5084 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.4921, allocations: 57.7 kB / 0.5085 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009887/0.4931, allocations: 0.5929 MB / 0.5091 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.4931, allocations: 2.719 kB / 0.5091 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.613e-05/0.4932, allocations: 19.47 kB / 0.5091 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.4932, allocations: 15.62 kB / 0.5091 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007905/0.494, allocations: 0.4956 MB / 0.5096 GB, free: 4.508 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.002157/0.4961, allocations: 0.8108 MB / 0.5104 GB, free: 4.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003306/0.4995, allocations: 2.497 MB / 0.5128 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00099/0.5005, allocations: 0.7078 MB / 0.5135 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.246e-05/0.5005, allocations: 16.3 kB / 0.5135 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.5006, allocations: 46.64 kB / 0.5136 GB, free: 2.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=106): time 2.705e-06/0.5006, allocations: 0 / 0.5136 GB, free: 2.766 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!