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.001544/0.001544, allocations: 108 kB / 15.6 MB, free: 132 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.001556/0.001556, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.234/0.234, allocations: 22.34 MB / 312.7 MB, free: 12.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.91 kB / 380.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3194, allocations: 54.96 MB / 435.8 MB, free: 39.65 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.03642/0.3558, allocations: 21.85 MB / 457.6 MB, free: 31.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.3577, allocations: 0.7056 MB / 458.3 MB, free: 31.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.3579, allocations: 2.469 kB / 458.3 MB, free: 31.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.3581, allocations: 62.95 kB / 458.4 MB, free: 31.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.3583, allocations: 167.8 kB / 458.6 MB, free: 31.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.3587, allocations: 115.7 kB / 458.7 MB, free: 31.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008089/0.3596, allocations: 0.7863 MB / 459.5 MB, free: 30.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006282/0.3602, allocations: 0.5386 MB / 460 MB, free: 30.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.3606, allocations: 320.8 kB / 460.3 MB, free: 30.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004978/0.3611, allocations: 386.8 kB / 460.7 MB, free: 30.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.3612, allocations: 72.38 kB / 460.8 MB, free: 30.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.3614, allocations: 72.94 kB / 460.8 MB, free: 30.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.3617, allocations: 260.9 kB / 461.1 MB, free: 30.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003692/0.362, allocations: 341.4 kB / 461.4 MB, free: 29.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007436/0.3628, allocations: 0.8336 MB / 462.2 MB, free: 29.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3628, allocations: 0 / 462.2 MB, free: 29.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3628, allocations: 5.438 kB / 462.2 MB, free: 29.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3628, allocations: 0 / 462.2 MB, free: 29.67 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.001969/0.3648, allocations: 0.9804 MB / 463.2 MB, free: 29.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3649, allocations: 10.38 kB / 463.2 MB, free: 29.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.365, allocations: 56.25 kB / 463.3 MB, free: 29.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.3655, allocations: 421.2 kB / 463.7 MB, free: 28.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.3656, allocations: 38.12 kB / 463.7 MB, free: 28.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.3657, allocations: 55.5 kB / 463.8 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009676/0.3667, allocations: 0.594 MB / 464.4 MB, free: 28.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3667, allocations: 0 / 464.4 MB, free: 28.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/0.3667, allocations: 15.75 kB / 464.4 MB, free: 28.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.3668, allocations: 10.38 kB / 464.4 MB, free: 28.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008059/0.3676, allocations: 0.4944 MB / 464.9 MB, free: 28.27 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.001021/0.3686, allocations: 0.8218 MB / 465.7 MB, free: 27.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/0.3715, allocations: 2.502 MB / 468.2 MB, free: 25.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008066/0.3724, allocations: 0.712 MB / 468.9 MB, free: 24.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.856e-05/0.3724, allocations: 9 kB / 469 MB, free: 24.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3724, allocations: 43.56 kB / 469 MB, free: 24.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.124e-06/0.3725, allocations: 4 kB / 469 MB, free: 24.51 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!