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.0007497/0.0007496, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009193/0.0009193, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.2 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2193/0.2193, allocations: 22.36 MB / 313.4 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004124, allocations: 8 kB / 382.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3535, allocations: 55.98 MB / 438 MB, free: 39.22 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.002112/0.3557, allocations: 2 MB / 440 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.3567, allocations: 0.6907 MB / 440.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.3568, allocations: 2.969 kB / 440.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.357, allocations: 39.78 kB / 440.8 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.3572, allocations: 165.8 kB / 440.9 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.3575, allocations: 73.5 kB / 441 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007328/0.3583, allocations: 0.8586 MB / 441.9 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004772/0.3588, allocations: 421.6 kB / 442.3 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.359, allocations: 256.3 kB / 442.5 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.3595, allocations: 371.8 kB / 442.9 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.767e-05/0.3596, allocations: 32.88 kB / 442.9 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.224e-05/0.3597, allocations: 33.97 kB / 443 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.3598, allocations: 226.8 kB / 443.2 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.36, allocations: 129.8 kB / 443.3 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005021/0.3605, allocations: 0.6363 MB / 443.9 MB, free: 36.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3605, allocations: 0 / 443.9 MB, free: 36.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3605, allocations: 0 / 443.9 MB, free: 36.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3605, allocations: 0 / 443.9 MB, free: 36.2 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.00159/0.3621, allocations: 0.9156 MB / 444.9 MB, free: 35.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3622, allocations: 8.438 kB / 444.9 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.979e-05/0.3623, allocations: 86.31 kB / 444.9 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.3624, allocations: 53.66 kB / 445 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.3629, allocations: 411.1 kB / 445.4 MB, free: 35.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.3629, allocations: 33.12 kB / 445.4 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.309e-05/0.363, allocations: 56.86 kB / 445.5 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009061/0.3639, allocations: 0.5877 MB / 446.1 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3639, allocations: 0 / 446.1 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.364, allocations: 17.84 kB / 446.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.364, allocations: 10 kB / 446.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007028/0.3647, allocations: 0.4915 MB / 446.6 MB, free: 34.79 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.0009374/0.3657, allocations: 0.8165 MB / 447.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002852/0.3685, allocations: 2.496 MB / 449.9 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000862/0.3694, allocations: 0.703 MB / 450.6 MB, free: 32.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.321e-05/0.3695, allocations: 12.41 kB / 450.6 MB, free: 32.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.3695, allocations: 42.19 kB / 450.7 MB, free: 32.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.907e-06/0.3695, allocations: 3.938 kB / 450.7 MB, free: 32.19 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!