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: translateModel(AES.ProcessComponents.Thermal.Liquid.Tube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Liquid.Tube") translateModel(AES.ProcessComponents.Thermal.Liquid.Tube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Liquid.Tube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.00121/0.00121, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.279/1.279, allocations: 222.9 MB / 240.6 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1921/0.1921, allocations: 22.35 MB / 313.1 MB, free: 12.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001261, allocations: 59.91 kB / 381 MB, free: 10.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2502, allocations: 54.96 MB / 435.9 MB, free: 39.81 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.03022/0.2804, allocations: 21.93 MB / 457.8 MB, free: 31.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.2817, allocations: 0.7215 MB / 458.6 MB, free: 31.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.2819, allocations: 2.219 kB / 458.6 MB, free: 31.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.2821, allocations: 47.16 kB / 458.6 MB, free: 31.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.2824, allocations: 149.1 kB / 458.8 MB, free: 31.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.2827, allocations: 95.09 kB / 458.8 MB, free: 31.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005814/0.2833, allocations: 0.7987 MB / 459.6 MB, free: 30.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/0.2838, allocations: 0.5312 MB / 460.2 MB, free: 30.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.2841, allocations: 320.5 kB / 460.5 MB, free: 30.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004038/0.2845, allocations: 414 kB / 460.9 MB, free: 30.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.703e-05/0.2846, allocations: 73.66 kB / 461 MB, free: 30.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.2848, allocations: 75.97 kB / 461 MB, free: 30.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.2849, allocations: 265.1 kB / 461.3 MB, free: 30.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.2852, allocations: 338.3 kB / 461.6 MB, free: 30.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.2856, allocations: 0.6734 MB / 462.3 MB, free: 29.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2856, allocations: 0 / 462.3 MB, free: 29.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2856, allocations: 0 / 462.3 MB, free: 29.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.2857, allocations: 0 / 462.3 MB, free: 29.91 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.001768/0.2874, allocations: 0.9813 MB / 463.3 MB, free: 29.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2875, allocations: 13.41 kB / 463.3 MB, free: 29.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.2876, allocations: 56.91 kB / 463.4 MB, free: 29.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.2881, allocations: 411.4 kB / 463.8 MB, free: 28.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.2882, allocations: 38.5 kB / 463.8 MB, free: 28.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/0.2883, allocations: 55.5 kB / 463.8 MB, free: 28.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008703/0.2891, allocations: 0.5903 MB / 464.4 MB, free: 28.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.2892, allocations: 4 kB / 464.4 MB, free: 28.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.202e-05/0.2892, allocations: 15.09 kB / 464.5 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.2892, allocations: 11.06 kB / 464.5 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007309/0.29, allocations: 0.501 MB / 465 MB, free: 28.5 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.0009278/0.2909, allocations: 0.8197 MB / 465.8 MB, free: 28.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/0.2937, allocations: 2.498 MB / 468.3 MB, free: 25.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007334/0.2945, allocations: 0.7026 MB / 469 MB, free: 24.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.114e-05/0.2945, allocations: 13 kB / 469 MB, free: 24.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.2945, allocations: 46.8 kB / 469 MB, free: 24.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.504e-06/0.2946, allocations: 0 / 469 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!