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: "" <> buildModelFMU(AES.ProcessComponents.Thermal.Liquid.Tube,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_Tube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Liquid.Tube,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_Tube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009296/0.0009296, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.005513/0.005513, allocations: 169.6 kB / 16.27 MB, free: 6.66 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.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.5318/0.5318, allocations: 22.35 MB / 313.8 MB, free: 13.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003197, allocations: 8 kB / 382.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3044, allocations: 55.98 MB / 438.7 MB, free: 39.63 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.08652/0.391, allocations: 21.46 MB / 460.1 MB, free: 32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.3927, allocations: 0.7137 MB / 460.9 MB, free: 31.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.3929, allocations: 2.25 kB / 460.9 MB, free: 31.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.3931, allocations: 45.28 kB / 460.9 MB, free: 31.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.3935, allocations: 158.9 kB / 461.1 MB, free: 31.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.3939, allocations: 95.61 kB / 461.2 MB, free: 31.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.395, allocations: 1.02 MB / 462.2 MB, free: 30.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006509/0.3957, allocations: 446.1 kB / 462.6 MB, free: 30.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003827/0.3961, allocations: 254.8 kB / 462.9 MB, free: 30.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006151/0.3967, allocations: 368.5 kB / 463.2 MB, free: 30.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.3968, allocations: 34.59 kB / 463.3 MB, free: 30.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.397, allocations: 37.34 kB / 463.3 MB, free: 30.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.3972, allocations: 212.9 kB / 463.5 MB, free: 30.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003822/0.3976, allocations: 313.6 kB / 463.8 MB, free: 30.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007992/0.3985, allocations: 0.7938 MB / 464.6 MB, free: 30.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3985, allocations: 1.531 kB / 464.6 MB, free: 30.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3985, allocations: 0 / 464.6 MB, free: 30.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.3985, allocations: 0 / 464.6 MB, free: 30.16 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.002344/0.4009, allocations: 0.9093 MB / 465.5 MB, free: 29.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4009, allocations: 13.62 kB / 465.5 MB, free: 29.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.4011, allocations: 87.89 kB / 465.6 MB, free: 29.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.4012, allocations: 57.09 kB / 465.7 MB, free: 29.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006829/0.4019, allocations: 415.4 kB / 466.1 MB, free: 29.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.402, allocations: 30.53 kB / 466.1 MB, free: 29.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.4022, allocations: 51.31 kB / 466.1 MB, free: 29.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.4036, allocations: 0.5958 MB / 466.7 MB, free: 28.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.4036, allocations: 4 kB / 466.7 MB, free: 28.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.69e-05/0.4037, allocations: 19.47 kB / 466.8 MB, free: 28.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.4037, allocations: 10.91 kB / 466.8 MB, free: 28.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.4049, allocations: 0.4978 MB / 467.3 MB, free: 28.73 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.001224/0.4062, allocations: 0.8113 MB / 468.1 MB, free: 28.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004386/0.4106, allocations: 2.506 MB / 470.6 MB, free: 25.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.4119, allocations: 0.7052 MB / 471.3 MB, free: 24.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.345e-05/0.4119, allocations: 9 kB / 471.3 MB, free: 24.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.412, allocations: 55.44 kB / 471.4 MB, free: 24.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.236e-06/0.412, allocations: 0 / 471.4 MB, free: 24.81 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!