Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007769/0.0007769, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00113/0.001906, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007106/0.0007106, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009414/0.001652, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.155/1.155, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09032/1.246, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08583/0.08583, allocations: 18.12 MB / 262.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03144/0.1173, allocations: 6.797 MB / 269.1 MB, free: 6.234 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal") translateModel(AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 270.6 MB, free: 4.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.59e-05, allocations: 2.312 kB / 270.6 MB, free: 4.656 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Warning: The model can't be instantiated due to top-level outer element 'system', it may only be used as part of a simulation model. [Non-standard Modelica: --allowNonStandardModelica=nonStdTopLevelOuter] [/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.HVAC.ControlledLiquidHeater_ideal): time 0.002083/0.002109, allocations: 1.751 MB / 272.4 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001426/0.002251, allocations: 95.48 kB / 272.5 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.002283, allocations: 0 / 272.5 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.057e-05/0.002324, allocations: 11.86 kB / 272.5 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.089e-05/0.002385, allocations: 27.72 kB / 272.5 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.987e-05/0.002454, allocations: 27.95 kB / 272.5 MB, free: 2.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.002562, allocations: 91.47 kB / 272.6 MB, free: 2.641 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.002666, allocations: 27.97 kB / 272.7 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.399e-05/0.00276, allocations: 67.75 kB / 272.7 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.248e-05/0.002833, allocations: 23.91 kB / 272.7 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.002851, allocations: 4 kB / 272.7 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.857e-05/0.00287, allocations: 4 kB / 272.7 MB, free: 2.516 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.002891, allocations: 11.94 kB / 272.8 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.002916, allocations: 23.94 kB / 272.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.811e-05/0.003014, allocations: 55.7 kB / 272.8 MB, free: 2.426 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.003024, allocations: 0 / 272.8 MB, free: 2.426 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.003025, allocations: 4 kB / 272.8 MB, free: 2.422 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.003035, allocations: 0 / 272.8 MB, free: 2.422 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003743/0.003409, allocations: 316.2 kB / 273.2 MB, free: 2.086 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.003437, allocations: 8.031 kB / 273.2 MB, free: 2.078 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.003471, allocations: 12.92 kB / 273.2 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.003587, allocations: 125.7 kB / 273.3 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.003621, allocations: 34.27 kB / 273.3 MB, free: 1.879 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.003643, allocations: 8.375 kB / 273.3 MB, free: 1.871 MB / 266.7 MB Error: An independent subset of the model has imbalanced number of equations (16) and variables (15). variables: oTo oTi Ec Pc Tfo Tfi hbo hao hbi hai w pwh_b.h pwh_b.w pwh_a.h pwh_a.w equations: 1 : pwh_a.w = 0.0 2 : pwh_b.w = 0.0 3 : hao = cp * Tfo 4 : hbo = cp * Tfo 5 : cp * Tfi = hai 6 : 0.0 = if ON then Tfo + Tcl * der(Tfo) - To else Tfo + Thc * der(Tfo) - Tfi 7 : Pc = max(cp * w * (Tfo - Tfi), 0.0) 8 : Pc = der(Ec) 9 : oTi = Tfi 10 : oTo = Tfo 11 : 0.0 = pwh_a.w + pwh_b.w 12 : w = pwh_a.w 13 : hai = pwh_a.h 14 : hao = pwh_a.h 15 : hbi = pwh_b.h 16 : hbo = pwh_b.h Notification: Performance of preOpt clockPartitioning (simulation) : time 0.0001551/0.003799, allocations: 109 kB / 273.4 MB, free: 1.758 MB / 266.7 MB Error: pre-optimization module clockPartitioning (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.7145961401984096]