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.001261/0.001262, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001032/0.001032, allocations: 188.1 kB / 16.25 MB, free: 6.637 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.215/1.215, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1739/0.1739, allocations: 22.35 MB / 312.4 MB, free: 12.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.89 kB / 380.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2329, allocations: 54.95 MB / 435.4 MB, free: 39.75 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.0288/0.2618, allocations: 21.92 MB / 457.3 MB, free: 31.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.2631, allocations: 0.7267 MB / 458 MB, free: 31.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.2632, allocations: 2.375 kB / 458 MB, free: 31.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.2634, allocations: 50.78 kB / 458.1 MB, free: 31.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.2636, allocations: 160.1 kB / 458.2 MB, free: 31.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.2639, allocations: 89.09 kB / 458.3 MB, free: 31.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005788/0.2645, allocations: 0.8018 MB / 459.1 MB, free: 30.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004804/0.265, allocations: 0.5331 MB / 459.6 MB, free: 30.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.2653, allocations: 324.4 kB / 460 MB, free: 30.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004027/0.2657, allocations: 412.3 kB / 460.4 MB, free: 30.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.83e-05/0.2658, allocations: 73.91 kB / 460.4 MB, free: 30.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.2659, allocations: 76.28 kB / 460.5 MB, free: 30.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.2661, allocations: 259.8 kB / 460.8 MB, free: 30.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.2664, allocations: 337.7 kB / 461.1 MB, free: 30.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.2669, allocations: 0.8364 MB / 461.9 MB, free: 29.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2669, allocations: 0 / 461.9 MB, free: 29.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2669, allocations: 1.625 kB / 461.9 MB, free: 29.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.2669, allocations: 4 kB / 461.9 MB, free: 29.73 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.001621/0.2686, allocations: 0.9803 MB / 462.9 MB, free: 29.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2686, allocations: 8.812 kB / 462.9 MB, free: 29.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.22e-05/0.2687, allocations: 85.58 kB / 463 MB, free: 29.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.2688, allocations: 57.09 kB / 463.1 MB, free: 29.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.2692, allocations: 420.6 kB / 463.5 MB, free: 28.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.2693, allocations: 31.25 kB / 463.5 MB, free: 28.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.505e-05/0.2694, allocations: 54.67 kB / 463.6 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008658/0.2703, allocations: 0.5946 MB / 464.1 MB, free: 28.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2703, allocations: 0 / 464.1 MB, free: 28.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.049e-05/0.2703, allocations: 15.62 kB / 464.2 MB, free: 28.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.2704, allocations: 10.69 kB / 464.2 MB, free: 28.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000707/0.2711, allocations: 0.4981 MB / 464.7 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.0009509/0.272, allocations: 0.8123 MB / 465.5 MB, free: 27.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/0.2748, allocations: 2.503 MB / 468 MB, free: 25.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007269/0.2755, allocations: 0.7023 MB / 468.7 MB, free: 24.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.078e-05/0.2756, allocations: 17 kB / 468.7 MB, free: 24.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.2756, allocations: 47.5 kB / 468.8 MB, free: 24.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 1.973e-06/0.2756, allocations: 0 / 468.8 MB, free: 24.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!