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.001214/0.001214, allocations: 111.9 kB / 15.61 MB, free: 128 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.001235/0.001235, allocations: 196.5 kB / 16.54 MB, free: 6.668 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2064/0.2064, allocations: 22.36 MB / 312.7 MB, free: 12.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 381 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2559, allocations: 54.94 MB / 435.9 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.03013/0.2861, allocations: 21.84 MB / 457.7 MB, free: 31.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.2874, allocations: 0.7149 MB / 458.4 MB, free: 31.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.2876, allocations: 7.031 kB / 458.5 MB, free: 31.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.2877, allocations: 64.53 kB / 458.5 MB, free: 31.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.288, allocations: 165.2 kB / 458.7 MB, free: 31.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.2883, allocations: 112.7 kB / 458.8 MB, free: 31.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006168/0.2889, allocations: 0.7984 MB / 459.6 MB, free: 30.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005014/0.2894, allocations: 0.5383 MB / 460.1 MB, free: 30.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.2897, allocations: 312.5 kB / 460.4 MB, free: 30.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004292/0.2902, allocations: 383.2 kB / 460.8 MB, free: 30.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.2903, allocations: 72.19 kB / 460.9 MB, free: 30.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.2904, allocations: 73.47 kB / 460.9 MB, free: 30.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.2906, allocations: 261 kB / 461.2 MB, free: 30.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.291, allocations: 342.4 kB / 461.5 MB, free: 29.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005566/0.2915, allocations: 0.8339 MB / 462.4 MB, free: 29.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2915, allocations: 3.938 kB / 462.4 MB, free: 29.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2915, allocations: 0 / 462.4 MB, free: 29.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.2916, allocations: 0 / 462.4 MB, free: 29.65 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.001803/0.2934, allocations: 0.9812 MB / 463.4 MB, free: 29.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2934, allocations: 13.59 kB / 463.4 MB, free: 29.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.523e-05/0.2935, allocations: 85.12 kB / 463.5 MB, free: 28.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.2936, allocations: 57.19 kB / 463.5 MB, free: 28.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.2941, allocations: 416.4 kB / 463.9 MB, free: 28.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.2942, allocations: 34 kB / 463.9 MB, free: 28.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.396e-05/0.2943, allocations: 54.44 kB / 464 MB, free: 28.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008982/0.2952, allocations: 0.5959 MB / 464.6 MB, free: 28.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.2952, allocations: 1.062 kB / 464.6 MB, free: 28.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.399e-05/0.2952, allocations: 15.16 kB / 464.6 MB, free: 28.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.2953, allocations: 11.12 kB / 464.6 MB, free: 28.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007782/0.296, allocations: 0.4973 MB / 465.1 MB, free: 28.18 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.0009388/0.297, allocations: 0.8157 MB / 465.9 MB, free: 27.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002882/0.2999, allocations: 2.503 MB / 468.4 MB, free: 25.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008171/0.3007, allocations: 0.7112 MB / 469.2 MB, free: 24.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.3008, allocations: 12.98 kB / 469.2 MB, free: 24.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.3008, allocations: 46.84 kB / 469.2 MB, free: 24.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.316e-06/0.3008, allocations: 0 / 469.2 MB, free: 24.46 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!