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.001173/0.001173, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001288/0.001288, allocations: 194.9 kB / 16.25 MB, free: 6.625 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.317/1.317, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1931/0.1931, allocations: 22.36 MB / 312.4 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.91 kB / 380.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2662, allocations: 54.94 MB / 435.2 MB, free: 39.73 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.02881/0.2951, allocations: 21.94 MB / 457.2 MB, free: 31.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2964, allocations: 0.722 MB / 457.9 MB, free: 31.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.2965, allocations: 6.375 kB / 457.9 MB, free: 31.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.2967, allocations: 45.98 kB / 457.9 MB, free: 31.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.2969, allocations: 149.1 kB / 458.1 MB, free: 31.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.2973, allocations: 96.38 kB / 458.2 MB, free: 31.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000608/0.2979, allocations: 0.7982 MB / 459 MB, free: 30.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005655/0.2985, allocations: 0.5341 MB / 459.5 MB, free: 30.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003402/0.2988, allocations: 316.2 kB / 459.8 MB, free: 30.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004472/0.2993, allocations: 419.3 kB / 460.2 MB, free: 30.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.2994, allocations: 76.38 kB / 460.3 MB, free: 30.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.2995, allocations: 77.19 kB / 460.4 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.2997, allocations: 255.7 kB / 460.6 MB, free: 30.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.3, allocations: 338.7 kB / 461 MB, free: 30.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005541/0.3005, allocations: 0.8324 MB / 461.8 MB, free: 29.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3005, allocations: 4 kB / 461.8 MB, free: 29.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3005, allocations: 3.469 kB / 461.8 MB, free: 29.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.3006, allocations: 1.438 kB / 461.8 MB, free: 29.72 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.00177/0.3023, allocations: 0.9842 MB / 462.8 MB, free: 29.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3024, allocations: 9.562 kB / 462.8 MB, free: 29.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.3025, allocations: 60.58 kB / 462.9 MB, free: 29.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.303, allocations: 419.9 kB / 463.3 MB, free: 28.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.303, allocations: 31.41 kB / 463.3 MB, free: 28.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.336e-05/0.3031, allocations: 55.38 kB / 463.4 MB, free: 28.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009245/0.304, allocations: 0.5931 MB / 464 MB, free: 28.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3041, allocations: 0 / 464 MB, free: 28.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/0.3041, allocations: 20.12 kB / 464 MB, free: 28.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.3041, allocations: 18.22 kB / 464 MB, free: 28.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007427/0.3049, allocations: 0.4948 MB / 464.5 MB, free: 28.3 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.0009378/0.3058, allocations: 0.8086 MB / 465.3 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/0.3087, allocations: 2.504 MB / 467.8 MB, free: 25.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000764/0.3095, allocations: 0.7107 MB / 468.5 MB, free: 24.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.151e-05/0.3096, allocations: 9 kB / 468.5 MB, free: 24.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.3096, allocations: 47.5 kB / 468.6 MB, free: 24.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.044e-06/0.3096, allocations: 0 / 468.6 MB, free: 24.61 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!