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.00128/0.00128, allocations: 100.1 kB / 15.88 MB, free: 12 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.001547/0.001547, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.326/1.326, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.215/0.215, allocations: 22.35 MB / 313 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 59.89 kB / 380.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2908, allocations: 54.94 MB / 435.7 MB, free: 39.59 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.03118/0.322, allocations: 21.83 MB / 457.5 MB, free: 31.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.3234, allocations: 0.7283 MB / 458.3 MB, free: 31.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.3236, allocations: 6.062 kB / 458.3 MB, free: 31.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.3238, allocations: 47.14 kB / 458.3 MB, free: 31.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.3242, allocations: 157 kB / 458.5 MB, free: 31.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.3246, allocations: 91.67 kB / 458.6 MB, free: 31.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009805/0.3256, allocations: 1.014 MB / 459.6 MB, free: 30.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005949/0.3262, allocations: 470 kB / 460 MB, free: 30.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004816/0.3267, allocations: 279.2 kB / 460.3 MB, free: 30.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006111/0.3273, allocations: 394 kB / 460.7 MB, free: 30.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.3274, allocations: 42.53 kB / 460.7 MB, free: 30.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.3276, allocations: 41.34 kB / 460.8 MB, free: 30.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.3278, allocations: 225.5 kB / 461 MB, free: 30.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004135/0.3283, allocations: 310.8 kB / 461.3 MB, free: 30.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005375/0.3288, allocations: 0.6561 MB / 461.9 MB, free: 29.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3288, allocations: 4 kB / 461.9 MB, free: 29.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3288, allocations: 0 / 461.9 MB, free: 29.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.765e-05/0.3289, allocations: 0 / 461.9 MB, free: 29.9 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.002396/0.3313, allocations: 0.989 MB / 462.9 MB, free: 29.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3313, allocations: 14 kB / 463 MB, free: 29.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.3315, allocations: 56.31 kB / 463 MB, free: 29.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/0.3321, allocations: 420 kB / 463.4 MB, free: 28.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.3322, allocations: 38.27 kB / 463.5 MB, free: 28.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.3323, allocations: 50.91 kB / 463.5 MB, free: 28.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.3334, allocations: 0.5987 MB / 464.1 MB, free: 28.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3334, allocations: 0 / 464.1 MB, free: 28.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.3334, allocations: 15.81 kB / 464.1 MB, free: 28.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.3335, allocations: 10.72 kB / 464.1 MB, free: 28.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008701/0.3343, allocations: 0.4968 MB / 464.6 MB, free: 28.48 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.001187/0.3355, allocations: 0.8156 MB / 465.4 MB, free: 28.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003102/0.3386, allocations: 2.497 MB / 467.9 MB, free: 25.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008456/0.3395, allocations: 0.7038 MB / 468.6 MB, free: 25.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.604e-05/0.3396, allocations: 20.98 kB / 468.7 MB, free: 25.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.3396, allocations: 43.56 kB / 468.7 MB, free: 24.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.114e-06/0.3396, allocations: 0 / 468.7 MB, free: 24.96 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!