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.0007906/0.0007906, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.005431/0.005431, allocations: 171 kB / 16.26 MB, free: 6.676 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2228/0.2228, allocations: 22.34 MB / 313.8 MB, free: 13.06 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 12 kB / 382.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.345, allocations: 55.98 MB / 438.6 MB, free: 39.34 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.02815/0.3732, allocations: 21.46 MB / 460 MB, free: 31.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.3748, allocations: 0.71 MB / 460.7 MB, free: 31.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.375, allocations: 6.188 kB / 460.7 MB, free: 31.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.3752, allocations: 42.22 kB / 460.8 MB, free: 31.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.3755, allocations: 161.8 kB / 460.9 MB, free: 31.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.3759, allocations: 95.25 kB / 461 MB, free: 31.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.3771, allocations: 1.014 MB / 462.1 MB, free: 30.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005455/0.3777, allocations: 446.5 kB / 462.5 MB, free: 30.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003436/0.378, allocations: 257.5 kB / 462.7 MB, free: 30.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005157/0.3786, allocations: 367.1 kB / 463.1 MB, free: 30.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.754e-05/0.3787, allocations: 34.94 kB / 463.1 MB, free: 30.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.951e-05/0.3788, allocations: 37.59 kB / 463.2 MB, free: 30.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.379, allocations: 209.3 kB / 463.4 MB, free: 30.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.3793, allocations: 315.9 kB / 463.7 MB, free: 30.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006349/0.3799, allocations: 0.7892 MB / 464.5 MB, free: 29.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3799, allocations: 0 / 464.5 MB, free: 29.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3799, allocations: 0 / 464.5 MB, free: 29.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.38, allocations: 1.438 kB / 464.5 MB, free: 29.88 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.001773/0.3817, allocations: 0.9089 MB / 465.4 MB, free: 29.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3818, allocations: 13.66 kB / 465.4 MB, free: 29.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.3819, allocations: 60.34 kB / 465.5 MB, free: 29.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/0.3824, allocations: 422.3 kB / 465.9 MB, free: 28.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.3825, allocations: 31.34 kB / 465.9 MB, free: 28.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.3826, allocations: 50.84 kB / 465.9 MB, free: 28.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.3836, allocations: 0.5965 MB / 466.5 MB, free: 28.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.3837, allocations: 0 / 466.5 MB, free: 28.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/0.3837, allocations: 15.78 kB / 466.6 MB, free: 28.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.3838, allocations: 10.44 kB / 466.6 MB, free: 28.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008548/0.3846, allocations: 0.4985 MB / 467.1 MB, free: 28.52 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.000975/0.3856, allocations: 0.8138 MB / 467.9 MB, free: 27.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002926/0.3885, allocations: 2.505 MB / 470.4 MB, free: 25.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008369/0.3894, allocations: 0.7061 MB / 471.1 MB, free: 24.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.3894, allocations: 17 kB / 471.1 MB, free: 24.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.3895, allocations: 43.56 kB / 471.1 MB, free: 24.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.725e-06/0.3895, allocations: 3.938 kB / 471.2 MB, free: 24.65 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!