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.007296/0.007296, allocations: 99.97 kB / 15.73 MB, free: 6.449 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.001938/0.001938, allocations: 191.6 kB / 16.67 MB, free: 6.355 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2027/0.2027, allocations: 22.37 MB / 312.9 MB, free: 12.53 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 62.12 kB / 436.6 MB, free: 33.99 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.101, allocations: 54.96 MB / 491.6 MB, free: 1.699 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.03292/0.134, allocations: 22.31 MB / 0.5018 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1356, allocations: 0.7015 MB / 0.5025 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.1357, allocations: 4 kB / 0.5025 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.1359, allocations: 59.44 kB / 0.5026 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.1362, allocations: 163 kB / 0.5027 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.1366, allocations: 115.8 kB / 0.5028 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008007/0.1374, allocations: 0.7955 MB / 0.5036 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006181/0.138, allocations: 0.5392 MB / 0.5041 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.1384, allocations: 319.2 kB / 0.5045 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004978/0.1389, allocations: 386.9 kB / 0.5048 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.139, allocations: 72 kB / 0.5049 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1391, allocations: 72 kB / 0.505 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.1394, allocations: 267.3 kB / 0.5052 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003586/0.1397, allocations: 334.6 kB / 0.5055 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007877/0.1405, allocations: 0.837 MB / 0.5063 GB, free: 6.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1405, allocations: 4 kB / 0.5064 GB, free: 6.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1406, allocations: 0 / 0.5064 GB, free: 6.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1406, allocations: 0 / 0.5064 GB, free: 6.879 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.001947/0.1425, allocations: 1.001 MB / 0.5073 GB, free: 5.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1426, allocations: 12.03 kB / 0.5073 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.1427, allocations: 82.7 kB / 0.5074 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.1428, allocations: 56.61 kB / 0.5075 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005356/0.1433, allocations: 415.3 kB / 0.5079 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.1434, allocations: 33.38 kB / 0.5079 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.643e-05/0.1435, allocations: 56.31 kB / 0.508 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009759/0.1445, allocations: 0.6038 MB / 0.5085 GB, free: 4.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1445, allocations: 3.984 kB / 0.5085 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-05/0.1446, allocations: 16 kB / 0.5086 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1446, allocations: 11.94 kB / 0.5086 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008286/0.1454, allocations: 0.4919 MB / 0.5091 GB, free: 4.004 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.001111/0.1465, allocations: 0.822 MB / 0.5099 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003687/0.1502, allocations: 2.505 MB / 0.5123 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009788/0.1512, allocations: 0.7054 MB / 0.513 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.166e-05/0.1513, allocations: 9 kB / 0.513 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.1513, allocations: 47.55 kB / 0.513 GB, free: 15.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=106): time 2.424e-06/0.1513, allocations: 0 / 0.513 GB, free: 15.56 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!