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.001256/0.001256, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001882/0.001882, allocations: 168.7 kB / 15.95 MB, free: 204 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.497/1.497, allocations: 223.3 MB / 240 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2446/0.2446, allocations: 22.34 MB / 313.4 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003138, allocations: 8 kB / 381.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3745, allocations: 55.98 MB / 437.9 MB, free: 39.29 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.002103/0.3767, allocations: 2.001 MB / 439.9 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.3777, allocations: 0.6939 MB / 440.6 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.3779, allocations: 2.781 kB / 440.6 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.378, allocations: 42.39 kB / 440.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.3782, allocations: 164 kB / 440.8 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.3786, allocations: 74.59 kB / 440.9 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006204/0.3792, allocations: 0.8642 MB / 441.8 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004451/0.3797, allocations: 413.9 kB / 442.2 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.3799, allocations: 254.7 kB / 442.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.3803, allocations: 371.3 kB / 442.8 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.89e-05/0.3804, allocations: 35.19 kB / 442.8 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.103e-05/0.3805, allocations: 36.16 kB / 442.8 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.3806, allocations: 225.8 kB / 443.1 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.804e-05/0.3807, allocations: 124.6 kB / 443.2 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.3812, allocations: 0.6401 MB / 443.8 MB, free: 36.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.3812, allocations: 3.141 kB / 443.8 MB, free: 36.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3812, allocations: 0 / 443.8 MB, free: 36.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.3812, allocations: 0 / 443.8 MB, free: 36.26 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.001591/0.3828, allocations: 0.9126 MB / 444.7 MB, free: 35.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3828, allocations: 8.312 kB / 444.7 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.383, allocations: 57.75 kB / 444.8 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005088/0.3835, allocations: 407.9 kB / 445.2 MB, free: 35.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.3835, allocations: 27.03 kB / 445.2 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.961e-05/0.3836, allocations: 60.31 kB / 445.3 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008719/0.3845, allocations: 0.5931 MB / 445.9 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3845, allocations: 0 / 445.9 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.3846, allocations: 14.94 kB / 445.9 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.3846, allocations: 9.469 kB / 445.9 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007055/0.3853, allocations: 0.4939 MB / 446.4 MB, free: 34.92 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.001077/0.3864, allocations: 0.8115 MB / 447.2 MB, free: 34.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00298/0.3894, allocations: 2.495 MB / 449.7 MB, free: 32.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008821/0.3903, allocations: 0.6983 MB / 450.4 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.854e-05/0.3903, allocations: 15.84 kB / 450.4 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3904, allocations: 44.25 kB / 450.5 MB, free: 32.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.875e-06/0.3904, allocations: 3.938 kB / 450.5 MB, free: 32.33 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!