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.001065/0.001065, allocations: 90.44 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008824/0.0008825, allocations: 178.8 kB / 16.92 MB, free: 6.652 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.314/1.314, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2169/0.2169, allocations: 22.35 MB / 314.4 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005102/0.0005102, allocations: 12 kB / 383.3 MB, free: 10.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2771, allocations: 55.98 MB / 439.2 MB, free: 39.25 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.0254/0.3025, allocations: 21.45 MB / 460.7 MB, free: 31.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.3039, allocations: 0.7114 MB / 461.4 MB, free: 31.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.3041, allocations: 9.906 kB / 461.4 MB, free: 31.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.3043, allocations: 42.7 kB / 461.5 MB, free: 31.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.3047, allocations: 164.8 kB / 461.6 MB, free: 30.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.3051, allocations: 91.94 kB / 461.7 MB, free: 30.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009736/0.3061, allocations: 1.014 MB / 462.7 MB, free: 30.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000617/0.3067, allocations: 448.1 kB / 463.2 MB, free: 30.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004518/0.3071, allocations: 258 kB / 463.4 MB, free: 30.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006481/0.3078, allocations: 367.6 kB / 463.8 MB, free: 30.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.3079, allocations: 34.19 kB / 463.8 MB, free: 30.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.3081, allocations: 42.69 kB / 463.8 MB, free: 30.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.3084, allocations: 213.9 kB / 464 MB, free: 30.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.3088, allocations: 314.8 kB / 464.4 MB, free: 29.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006127/0.3095, allocations: 0.6442 MB / 465 MB, free: 29.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3095, allocations: 0 / 465 MB, free: 29.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3095, allocations: 0 / 465 MB, free: 29.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.749e-05/0.3095, allocations: 1.438 kB / 465 MB, free: 29.86 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.00214/0.3117, allocations: 0.9122 MB / 465.9 MB, free: 29.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/0.3118, allocations: 13.06 kB / 465.9 MB, free: 29.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003713/0.3121, allocations: 57.41 kB / 466 MB, free: 29.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006898/0.3128, allocations: 411 kB / 466.4 MB, free: 28.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.3129, allocations: 38.97 kB / 466.4 MB, free: 28.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.313, allocations: 54.3 kB / 466.5 MB, free: 28.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.3142, allocations: 0.5981 MB / 467.1 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.3143, allocations: 0 / 467.1 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/0.3143, allocations: 16.06 kB / 467.1 MB, free: 28.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.3144, allocations: 9.438 kB / 467.1 MB, free: 28.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008286/0.3152, allocations: 0.4976 MB / 467.6 MB, free: 28.49 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.001155/0.3164, allocations: 0.8109 MB / 468.4 MB, free: 28.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002901/0.3193, allocations: 2.506 MB / 470.9 MB, free: 25.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008233/0.3201, allocations: 0.7052 MB / 471.6 MB, free: 24.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.505e-05/0.3202, allocations: 13 kB / 471.6 MB, free: 24.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.3202, allocations: 43.56 kB / 471.7 MB, free: 24.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.565e-06/0.3202, allocations: 0 / 471.7 MB, free: 24.82 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!