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.005156/0.005156, allocations: 101.2 kB / 15.73 MB, free: 6.422 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.00113/0.001131, allocations: 185.2 kB / 16.67 MB, free: 6.352 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1917/0.1917, allocations: 22.37 MB / 312.9 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 60.7 kB / 436.6 MB, free: 33.9 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/0.09317, allocations: 54.96 MB / 491.6 MB, free: 1.68 MB / 350.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.02792/0.1211, allocations: 21.9 MB / 0.5014 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.1226, allocations: 0.7093 MB / 0.5021 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.1228, allocations: 7.938 kB / 0.5021 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.1231, allocations: 59.52 kB / 0.5022 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.1234, allocations: 167 kB / 0.5023 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.1238, allocations: 115.7 kB / 0.5024 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007853/0.1246, allocations: 0.7955 MB / 0.5032 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007316/0.1254, allocations: 0.5354 MB / 0.5037 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004468/0.1258, allocations: 319.2 kB / 0.5041 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005247/0.1264, allocations: 382.9 kB / 0.5044 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.1265, allocations: 76 kB / 0.5045 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1266, allocations: 75.94 kB / 0.5046 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.1268, allocations: 255.4 kB / 0.5048 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003641/0.1272, allocations: 342.6 kB / 0.5051 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007095/0.1279, allocations: 0.8373 MB / 0.506 GB, free: 7.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.128, allocations: 8 kB / 0.506 GB, free: 7.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.128, allocations: 0 / 0.506 GB, free: 7.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.128, allocations: 3.984 kB / 0.506 GB, free: 7.254 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.002004/0.13, allocations: 0.9745 MB / 0.5069 GB, free: 6.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.13, allocations: 12.03 kB / 0.5069 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.1302, allocations: 82.7 kB / 0.507 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.1303, allocations: 64.28 kB / 0.5071 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005644/0.1309, allocations: 419.1 kB / 0.5075 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.1309, allocations: 29.38 kB / 0.5075 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.131, allocations: 52.28 kB / 0.5075 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009949/0.132, allocations: 0.5921 MB / 0.5081 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.132, allocations: 4 kB / 0.5081 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.255e-05/0.1321, allocations: 19.94 kB / 0.5081 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.1321, allocations: 12 kB / 0.5082 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008563/0.133, allocations: 0.4997 MB / 0.5086 GB, free: 4.402 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.001301/0.1343, allocations: 0.8063 MB / 0.5094 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003757/0.1381, allocations: 2.509 MB / 0.5119 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.1392, allocations: 0.7053 MB / 0.5126 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.961e-05/0.1393, allocations: 13 kB / 0.5126 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.1394, allocations: 43.56 kB / 0.5126 GB, free: 15.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=106): time 3.366e-06/0.1394, allocations: 4 kB / 0.5126 GB, free: 15.97 MB / 398.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!