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.001053/0.001053, allocations: 99 kB / 15.05 MB, free: 1.105 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.001069/0.001069, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.339/2.339, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1857/0.1857, allocations: 22.34 MB / 313.3 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005178/0.000518, allocations: 8 kB / 381.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3468, allocations: 55.98 MB / 437.9 MB, free: 39.13 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.001522/0.3483, allocations: 1.872 MB / 439.8 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000741/0.3491, allocations: 0.7137 MB / 440.5 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.972e-05/0.3492, allocations: 7.156 kB / 440.5 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.3493, allocations: 48.28 kB / 440.5 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.3494, allocations: 100.4 kB / 440.6 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.3497, allocations: 82.23 kB / 440.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.35, allocations: 456.2 kB / 441.2 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.3504, allocations: 406.7 kB / 441.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.3506, allocations: 238 kB / 441.8 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.3509, allocations: 266 kB / 442.1 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.3509, allocations: 40.22 kB / 442.1 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-05/0.351, allocations: 38.44 kB / 442.1 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.3511, allocations: 192.1 kB / 442.3 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.946e-05/0.3512, allocations: 126.1 kB / 442.4 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.3515, allocations: 0.635 MB / 443.1 MB, free: 36.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.3515, allocations: 0 / 443.1 MB, free: 36.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3516, allocations: 0 / 443.1 MB, free: 36.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.3516, allocations: 3.938 kB / 443.1 MB, free: 36.33 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.001387/0.353, allocations: 0.9128 MB / 444 MB, free: 35.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.353, allocations: 11.34 kB / 444 MB, free: 35.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.689e-05/0.3531, allocations: 83.95 kB / 444.1 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.091e-05/0.3532, allocations: 54.5 kB / 444.1 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.3536, allocations: 405.4 kB / 444.5 MB, free: 35.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.3536, allocations: 34.41 kB / 444.6 MB, free: 35.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.817e-05/0.3537, allocations: 59.33 kB / 444.6 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007099/0.3544, allocations: 0.5851 MB / 445.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3545, allocations: 0 / 445.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.3545, allocations: 18.03 kB / 445.2 MB, free: 35.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.3545, allocations: 11.89 kB / 445.2 MB, free: 35.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000606/0.3551, allocations: 0.4966 MB / 445.7 MB, free: 34.92 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.0007538/0.3559, allocations: 0.8203 MB / 446.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.3585, allocations: 2.485 MB / 449 MB, free: 32.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.3585, allocations: 16.69 kB / 449.1 MB, free: 32.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.3586, allocations: 42.81 kB / 449.1 MB, free: 32.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.074e-06/0.3586, allocations: 0 / 449.1 MB, free: 32.59 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!