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.00516/0.00516, allocations: 98.06 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.001173/0.001173, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09145/0.09145, allocations: 22.33 MB / 312.9 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 55.91 kB / 436.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1264, allocations: 54.95 MB / 491.5 MB, free: 5.246 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.407/0.5335, allocations: 21.92 MB / 0.5014 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.5347, allocations: 0.7143 MB / 0.5021 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.5348, allocations: 6.156 kB / 0.5021 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.535, allocations: 58.38 kB / 0.5022 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.5353, allocations: 171.1 kB / 0.5023 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.5356, allocations: 112.7 kB / 0.5024 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005651/0.5362, allocations: 0.7946 MB / 0.5032 GB, free: 5.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004931/0.5367, allocations: 0.532 MB / 0.5037 GB, free: 5.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.537, allocations: 324.1 kB / 0.504 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004489/0.5374, allocations: 385.5 kB / 0.5044 GB, free: 5.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.382e-05/0.5375, allocations: 72.69 kB / 0.5045 GB, free: 5.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.594e-05/0.5376, allocations: 72.66 kB / 0.5045 GB, free: 5.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.5378, allocations: 264.4 kB / 0.5048 GB, free: 5.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.5381, allocations: 340.4 kB / 0.5051 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006959/0.5388, allocations: 0.838 MB / 0.5059 GB, free: 4.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5388, allocations: 0.9062 kB / 0.5059 GB, free: 4.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5388, allocations: 0 / 0.5059 GB, free: 4.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.5388, allocations: 0 / 0.5059 GB, free: 4.863 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.001767/0.5406, allocations: 1.001 MB / 0.5069 GB, free: 4.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.5407, allocations: 11.19 kB / 0.5069 GB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.866e-05/0.5408, allocations: 84.78 kB / 0.507 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.767e-05/0.5409, allocations: 57.05 kB / 0.5071 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000555/0.5414, allocations: 420.3 kB / 0.5075 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.5415, allocations: 35.89 kB / 0.5075 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.422e-05/0.5416, allocations: 51.8 kB / 0.5075 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.5426, allocations: 0.5911 MB / 0.5081 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.5426, allocations: 0 / 0.5081 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/0.5426, allocations: 26.19 kB / 0.5081 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.5427, allocations: 10.03 kB / 0.5082 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007725/0.5434, allocations: 0.4987 MB / 0.5086 GB, free: 3.949 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.001034/0.5445, allocations: 0.8174 MB / 0.5094 GB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003227/0.5477, allocations: 2.495 MB / 0.5119 GB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.5487, allocations: 0.7065 MB / 0.5126 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.737e-05/0.5488, allocations: 18.88 kB / 0.5126 GB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.5488, allocations: 42.97 kB / 0.5126 GB, free: 2.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=106): time 2.755e-06/0.5489, allocations: 2.625 kB / 0.5126 GB, free: 2.203 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!