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.001046/0.001046, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001293/0.001293, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.237/0.237, allocations: 22.34 MB / 313.3 MB, free: 13.04 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003694, allocations: 12 kB / 381.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3123, allocations: 55.97 MB / 437.8 MB, free: 39.2 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.001799/0.3142, allocations: 1.877 MB / 439.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000869/0.3151, allocations: 0.7116 MB / 440.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.339e-05/0.3152, allocations: 6.844 kB / 440.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.3153, allocations: 44.06 kB / 440.4 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.3155, allocations: 107.3 kB / 440.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.3158, allocations: 82.12 kB / 440.6 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.3163, allocations: 450.1 kB / 441.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004175/0.3167, allocations: 415.8 kB / 441.5 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.3169, allocations: 233.6 kB / 441.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.3172, allocations: 272.4 kB / 442 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.94e-05/0.3173, allocations: 32.69 kB / 442 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.522e-05/0.3174, allocations: 34.22 kB / 442 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.3175, allocations: 195.2 kB / 442.2 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.128e-05/0.3176, allocations: 125.7 kB / 442.4 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.318, allocations: 0.636 MB / 443 MB, free: 36.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.318, allocations: 0 / 443 MB, free: 36.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.318, allocations: 3.938 kB / 443 MB, free: 36.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.318, allocations: 0 / 443 MB, free: 36.39 MB / 350.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.0016/0.3196, allocations: 0.9121 MB / 443.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.3197, allocations: 8.594 kB / 443.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.3198, allocations: 56.16 kB / 444 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/0.3203, allocations: 417.5 kB / 444.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.3204, allocations: 28.44 kB / 444.4 MB, free: 35.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.1e-05/0.3205, allocations: 54.67 kB / 444.5 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008387/0.3213, allocations: 0.5946 MB / 445.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3213, allocations: 0 / 445.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.3214, allocations: 19 kB / 445.1 MB, free: 35.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3214, allocations: 8.594 kB / 445.1 MB, free: 35.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007155/0.3221, allocations: 0.4902 MB / 445.6 MB, free: 35.05 MB / 350.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.0008571/0.323, allocations: 0.8103 MB / 446.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002901/0.3259, allocations: 2.502 MB / 448.9 MB, free: 32.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.203e-05/0.326, allocations: 9.219 kB / 448.9 MB, free: 32.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.326, allocations: 45.16 kB / 448.9 MB, free: 32.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.294e-06/0.326, allocations: 4 kB / 448.9 MB, free: 32.71 MB / 350.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!