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.001267/0.001267, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001344/0.001344, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.329/1.329, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2181/0.2181, allocations: 22.35 MB / 312.3 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 59.91 kB / 380.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3214, allocations: 54.94 MB / 435 MB, free: 39.6 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.03475/0.3562, allocations: 21.94 MB / 457 MB, free: 31.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.358, allocations: 0.72 MB / 457.7 MB, free: 31.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.3582, allocations: 6.344 kB / 457.7 MB, free: 31.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.3585, allocations: 46.8 kB / 457.8 MB, free: 31.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.3588, allocations: 161.5 kB / 457.9 MB, free: 31.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.3592, allocations: 90.84 kB / 458 MB, free: 31.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.3604, allocations: 1.018 MB / 459 MB, free: 30.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006392/0.361, allocations: 465.7 kB / 459.5 MB, free: 30.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005874/0.3616, allocations: 274.6 kB / 459.7 MB, free: 30.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006755/0.3623, allocations: 395.8 kB / 460.1 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.3624, allocations: 41.62 kB / 460.2 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.3626, allocations: 41.56 kB / 460.2 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.3629, allocations: 233.8 kB / 460.4 MB, free: 30.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004063/0.3634, allocations: 305.9 kB / 460.7 MB, free: 30.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007972/0.3642, allocations: 0.8023 MB / 461.5 MB, free: 29.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3642, allocations: 0 / 461.5 MB, free: 29.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3642, allocations: 5.188 kB / 461.5 MB, free: 29.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.3642, allocations: 0 / 461.5 MB, free: 29.8 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.0021/0.3663, allocations: 0.9916 MB / 462.5 MB, free: 29.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.43e-05/0.3664, allocations: 17.19 kB / 462.6 MB, free: 29.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.3666, allocations: 56.78 kB / 462.6 MB, free: 29.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006231/0.3672, allocations: 412 kB / 463 MB, free: 28.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.3672, allocations: 35.16 kB / 463.1 MB, free: 28.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.3673, allocations: 51.84 kB / 463.1 MB, free: 28.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.3685, allocations: 0.5903 MB / 463.7 MB, free: 28.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.3685, allocations: 1.344 kB / 463.7 MB, free: 28.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/0.3686, allocations: 19.56 kB / 463.7 MB, free: 28.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.3686, allocations: 10.53 kB / 463.7 MB, free: 28.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009163/0.3695, allocations: 0.4977 MB / 464.2 MB, free: 28.39 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.001227/0.3707, allocations: 0.819 MB / 465 MB, free: 27.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003334/0.3741, allocations: 2.498 MB / 467.5 MB, free: 25.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008846/0.375, allocations: 0.7034 MB / 468.2 MB, free: 25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.889e-05/0.3751, allocations: 16.98 kB / 468.3 MB, free: 24.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.3751, allocations: 46.98 kB / 468.3 MB, free: 24.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 4.348e-06/0.3751, allocations: 4 kB / 468.3 MB, free: 24.93 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!