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.00108/0.00108, allocations: 111.4 kB / 16.37 MB, free: 6 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.00109/0.00109, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09099/0.09099, allocations: 22.32 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 60.48 kB / 382.3 MB, free: 41.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09279/0.09411, allocations: 54.96 MB / 437.2 MB, free: 12.22 MB / 318.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.04462/0.1388, allocations: 21.64 MB / 458.8 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.1406, allocations: 0.7094 MB / 459.6 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.1407, allocations: 4 kB / 459.6 MB, free: 6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.141, allocations: 59.44 kB / 459.6 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.1413, allocations: 163 kB / 459.8 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004045/0.1417, allocations: 111.8 kB / 459.9 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007871/0.1425, allocations: 0.8032 MB / 460.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006159/0.1431, allocations: 0.5315 MB / 461.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.1435, allocations: 323.2 kB / 461.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004966/0.144, allocations: 382.9 kB / 461.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.1441, allocations: 72 kB / 462 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1442, allocations: 72 kB / 462.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.1445, allocations: 271.3 kB / 462.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003609/0.1448, allocations: 334.6 kB / 462.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007438/0.1456, allocations: 0.8374 MB / 463.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1456, allocations: 3.938 kB / 463.5 MB, free: 2.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1456, allocations: 0 / 463.5 MB, free: 2.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1456, allocations: 0 / 463.5 MB, free: 2.066 MB / 334.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.00201/0.1476, allocations: 0.9909 MB / 464.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1477, allocations: 8.031 kB / 464.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.1478, allocations: 56.28 kB / 464.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006688/0.1485, allocations: 411.2 kB / 464.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.1485, allocations: 37.31 kB / 465 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.1487, allocations: 48.28 kB / 465 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009645/0.1496, allocations: 0.6001 MB / 465.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1496, allocations: 4 kB / 465.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.1497, allocations: 20 kB / 465.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.1497, allocations: 8 kB / 465.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008054/0.1505, allocations: 0.4958 MB / 466.2 MB, free: 15.31 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.001084/0.1516, allocations: 0.8179 MB / 467 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/0.1552, allocations: 2.498 MB / 469.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009964/0.1562, allocations: 0.7092 MB / 470.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.109e-05/0.1563, allocations: 13 kB / 470.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1563, allocations: 39.56 kB / 470.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.036e-06/0.1564, allocations: 0 / 470.2 MB, free: 10.88 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!