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.0008903/0.0008901, allocations: 100.5 kB / 15.71 MB, free: 452 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.001076/0.001076, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.532/1.532, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2549/0.2549, allocations: 22.36 MB / 314.1 MB, free: 13.17 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 12 kB / 382.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4033, allocations: 55.98 MB / 438.6 MB, free: 39.14 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.00256/0.4059, allocations: 2.007 MB / 440.6 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.4071, allocations: 0.6815 MB / 441.2 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.4072, allocations: 3 kB / 441.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.4074, allocations: 40.27 kB / 441.3 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.4077, allocations: 161.8 kB / 441.4 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.408, allocations: 81.95 kB / 441.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000717/0.4087, allocations: 0.8637 MB / 442.4 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004751/0.4092, allocations: 416.4 kB / 442.8 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.4095, allocations: 251.3 kB / 443 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004476/0.41, allocations: 375 kB / 443.4 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.827e-05/0.4101, allocations: 39.94 kB / 443.4 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.315e-05/0.4101, allocations: 33.19 kB / 443.5 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.4103, allocations: 222.4 kB / 443.7 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.4104, allocations: 127.2 kB / 443.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.4109, allocations: 0.6378 MB / 444.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4109, allocations: 0 / 444.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4109, allocations: 0 / 444.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.4109, allocations: 0 / 444.5 MB, free: 36.11 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.001525/0.4125, allocations: 0.9121 MB / 445.4 MB, free: 35.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.4125, allocations: 11.47 kB / 445.4 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.4126, allocations: 54.91 kB / 445.4 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.4131, allocations: 414.7 kB / 445.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.4131, allocations: 33.09 kB / 445.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-05/0.4132, allocations: 59.45 kB / 445.9 MB, free: 35.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009178/0.4141, allocations: 0.5847 MB / 446.5 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4142, allocations: 0 / 446.5 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/0.4142, allocations: 14.72 kB / 446.5 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.4142, allocations: 14.66 kB / 446.5 MB, free: 34.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007467/0.415, allocations: 0.4967 MB / 447 MB, free: 34.76 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.0009846/0.416, allocations: 0.8092 MB / 447.9 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002903/0.4189, allocations: 2.494 MB / 450.3 MB, free: 32.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008621/0.4198, allocations: 0.7053 MB / 451.1 MB, free: 32.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.998e-05/0.4198, allocations: 11.5 kB / 451.1 MB, free: 32.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.4199, allocations: 45.81 kB / 451.1 MB, free: 32.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.645e-06/0.4199, allocations: 0 / 451.1 MB, free: 32.17 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!