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: "" <> buildModelFMU(AES.ProcessComponents.Thermal.Liquid.Tube,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_Tube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Liquid.Tube,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_Tube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005925/0.005925, allocations: 105.8 kB / 15.74 MB, free: 5.996 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.001211/0.001211, allocations: 200 kB / 16.68 MB, free: 5.922 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08935/0.08935, allocations: 22.33 MB / 312.9 MB, free: 8.852 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 59.91 kB / 436.6 MB, free: 12.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09871/0.0999, allocations: 54.95 MB / 491.5 MB, free: 5.199 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.3679/0.4679, allocations: 21.84 MB / 0.5013 GB, free: 5.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.4693, allocations: 0.7145 MB / 0.502 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.4694, allocations: 8.25 kB / 0.502 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.4697, allocations: 57.08 kB / 0.5021 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.4699, allocations: 162.1 kB / 0.5022 GB, free: 5.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.4703, allocations: 106.8 kB / 0.5023 GB, free: 5.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006928/0.471, allocations: 0.7988 MB / 0.5031 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006215/0.4717, allocations: 0.5288 MB / 0.5036 GB, free: 5.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003505/0.472, allocations: 324.5 kB / 0.5039 GB, free: 5.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005952/0.4726, allocations: 379.3 kB / 0.5043 GB, free: 5.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.4727, allocations: 77.28 kB / 0.5044 GB, free: 5.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.4729, allocations: 74.53 kB / 0.5044 GB, free: 5.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003035/0.4732, allocations: 262.4 kB / 0.5047 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003333/0.4735, allocations: 345.2 kB / 0.505 GB, free: 4.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006984/0.4742, allocations: 0.8325 MB / 0.5058 GB, free: 4.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4742, allocations: 0 / 0.5058 GB, free: 4.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4742, allocations: 0 / 0.5058 GB, free: 4.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.4743, allocations: 2.656 kB / 0.5058 GB, free: 4.883 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.001839/0.4761, allocations: 0.9933 MB / 0.5068 GB, free: 4.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.4762, allocations: 13.52 kB / 0.5068 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.4763, allocations: 84.84 kB / 0.5069 GB, free: 4.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.4764, allocations: 57.97 kB / 0.507 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005384/0.4769, allocations: 413.2 kB / 0.5074 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.477, allocations: 35.12 kB / 0.5074 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.4771, allocations: 53.86 kB / 0.5074 GB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.4781, allocations: 0.5943 MB / 0.508 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.4781, allocations: 9.219 kB / 0.508 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/0.4782, allocations: 15.25 kB / 0.508 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.4782, allocations: 11.19 kB / 0.5081 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007831/0.479, allocations: 0.4998 MB / 0.5085 GB, free: 3.977 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.001138/0.4802, allocations: 0.8083 MB / 0.5093 GB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00336/0.4835, allocations: 2.497 MB / 0.5118 GB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000969/0.4845, allocations: 0.71 MB / 0.5125 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.374e-05/0.4846, allocations: 10.62 kB / 0.5125 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.4846, allocations: 47.86 kB / 0.5125 GB, free: 2.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=106): time 2.395e-06/0.4846, allocations: 0 / 0.5125 GB, free: 2.234 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!