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.001221/0.001221, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001209/0.001209, allocations: 195.8 kB / 16.14 MB, free: 6.699 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.211/1.211, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1727/0.1727, allocations: 22.35 MB / 312.3 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 63.88 kB / 380.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2268, allocations: 54.94 MB / 435.2 MB, free: 39.55 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.02595/0.2528, allocations: 21.82 MB / 457 MB, free: 31.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.2539, allocations: 0.7128 MB / 457.7 MB, free: 31.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.15e-05/0.254, allocations: 10.38 kB / 457.7 MB, free: 31.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.2541, allocations: 45.61 kB / 457.8 MB, free: 31.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.2543, allocations: 161.6 kB / 457.9 MB, free: 31.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.2546, allocations: 92.59 kB / 458 MB, free: 31.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006699/0.2553, allocations: 1.017 MB / 459 MB, free: 30.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003962/0.2557, allocations: 465.5 kB / 459.5 MB, free: 30.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.2559, allocations: 277.9 kB / 459.7 MB, free: 30.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000359/0.2563, allocations: 399.9 kB / 460.1 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.284e-05/0.2564, allocations: 41.59 kB / 460.2 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.2565, allocations: 42.75 kB / 460.2 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.2567, allocations: 224.8 kB / 460.4 MB, free: 30.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.2569, allocations: 306.5 kB / 460.7 MB, free: 30.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.2574, allocations: 0.8029 MB / 461.5 MB, free: 29.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2574, allocations: 0 / 461.5 MB, free: 29.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.2574, allocations: 5.344 kB / 461.5 MB, free: 29.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.2574, allocations: 0 / 461.5 MB, free: 29.8 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.001634/0.2591, allocations: 0.9919 MB / 462.5 MB, free: 29.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2591, allocations: 13.06 kB / 462.5 MB, free: 29.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.159e-05/0.2592, allocations: 81.44 kB / 462.6 MB, free: 29.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.992e-05/0.2593, allocations: 61.84 kB / 462.7 MB, free: 29.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.2597, allocations: 417.9 kB / 463.1 MB, free: 28.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.2598, allocations: 30.38 kB / 463.1 MB, free: 28.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.452e-05/0.2599, allocations: 51.34 kB / 463.2 MB, free: 28.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008153/0.2607, allocations: 0.6008 MB / 463.8 MB, free: 28.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.2607, allocations: 1.438 kB / 463.8 MB, free: 28.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.2608, allocations: 19.61 kB / 463.8 MB, free: 28.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.557e-06/0.2608, allocations: 9.844 kB / 463.8 MB, free: 28.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006904/0.2615, allocations: 0.4935 MB / 464.3 MB, free: 28.32 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.000831/0.2623, allocations: 0.8202 MB / 465.1 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/0.2651, allocations: 2.5 MB / 467.6 MB, free: 25.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007384/0.2658, allocations: 0.7081 MB / 468.3 MB, free: 24.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.817e-05/0.2659, allocations: 13 kB / 468.3 MB, free: 24.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.2659, allocations: 46.98 kB / 468.4 MB, free: 24.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.044e-06/0.2659, allocations: 0 / 468.4 MB, free: 24.8 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!