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.001182/0.001182, allocations: 108 kB / 15.61 MB, free: 152 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.001172/0.001172, allocations: 197 kB / 16.53 MB, free: 6.664 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.165/1.165, 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.1634/0.1634, allocations: 22.34 MB / 312.7 MB, free: 12.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 64.08 kB / 380.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1963, allocations: 54.94 MB / 435.9 MB, free: 39.7 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.02262/0.2189, allocations: 21.89 MB / 457.8 MB, free: 31.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.22, allocations: 0.7124 MB / 458.5 MB, free: 31.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.885e-05/0.2201, allocations: 7.094 kB / 458.5 MB, free: 31.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.2202, allocations: 54.8 kB / 458.5 MB, free: 31.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.2205, allocations: 176.3 kB / 458.7 MB, free: 31.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.2207, allocations: 101.8 kB / 458.8 MB, free: 31.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004904/0.2212, allocations: 0.8018 MB / 459.6 MB, free: 30.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004441/0.2217, allocations: 0.5388 MB / 460.1 MB, free: 30.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.2219, allocations: 312.1 kB / 460.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003531/0.2223, allocations: 383.8 kB / 460.8 MB, free: 30.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.666e-05/0.2224, allocations: 72.5 kB / 460.9 MB, free: 30.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.2225, allocations: 76.69 kB / 461 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.2227, allocations: 262.1 kB / 461.2 MB, free: 30.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.223, allocations: 343.1 kB / 461.6 MB, free: 30 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.2235, allocations: 0.832 MB / 462.4 MB, free: 29.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2235, allocations: 0 / 462.4 MB, free: 29.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.2235, allocations: 4 kB / 462.4 MB, free: 29.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2235, allocations: 0 / 462.4 MB, free: 29.71 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.001554/0.225, allocations: 0.9837 MB / 463.4 MB, free: 29.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.2251, allocations: 13.12 kB / 463.4 MB, free: 29.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.845e-05/0.2252, allocations: 82.34 kB / 463.5 MB, free: 29.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.084e-05/0.2253, allocations: 57.19 kB / 463.5 MB, free: 29.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.2257, allocations: 415.2 kB / 463.9 MB, free: 28.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.2257, allocations: 37.91 kB / 464 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-05/0.2258, allocations: 52.16 kB / 464 MB, free: 28.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007813/0.2266, allocations: 0.5938 MB / 464.6 MB, free: 28.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2266, allocations: 0 / 464.6 MB, free: 28.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.2266, allocations: 16.09 kB / 464.6 MB, free: 28.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.2267, allocations: 9.625 kB / 464.6 MB, free: 28.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006637/0.2273, allocations: 0.495 MB / 465.1 MB, free: 28.25 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.0007643/0.2281, allocations: 0.8274 MB / 466 MB, free: 27.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.2306, allocations: 2.502 MB / 468.5 MB, free: 25.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/0.2313, allocations: 0.7082 MB / 469.2 MB, free: 24.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.2314, allocations: 12.98 kB / 469.2 MB, free: 24.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.2314, allocations: 47.56 kB / 469.2 MB, free: 24.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 1.964e-06/0.2314, allocations: 0 / 469.2 MB, free: 24.43 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!