Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_lim.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.0006763/0.0006763, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008565/0.001533, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006869/0.0006869, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009096/0.001597, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08549/1.089, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.06613/0.06613, allocations: 18.13 MB / 262.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01043/0.07656, allocations: 6.777 MB / 268.9 MB, free: 6.344 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_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_lim") translateModel(AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_lim") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 270.4 MB, free: 4.781 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.671e-05, allocations: 6.25 kB / 270.4 MB, free: 4.773 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_lim): time 0.002714/0.002731, allocations: 1.765 MB / 272.2 MB, free: 2.996 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002188/0.00295, allocations: 103.5 kB / 272.3 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.003016, allocations: 7.938 kB / 272.3 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.088e-05/0.003056, allocations: 11.86 kB / 272.3 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.595e-05/0.003142, allocations: 31.7 kB / 272.3 MB, free: 2.844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.728e-05/0.00323, allocations: 19.95 kB / 272.4 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.003372, allocations: 107.5 kB / 272.5 MB, free: 2.719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.00349, allocations: 45.81 kB / 272.5 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.003635, allocations: 71.8 kB / 272.6 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.412e-05/0.003709, allocations: 27.91 kB / 272.6 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.00373, allocations: 8 kB / 272.6 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.003745, allocations: 4 kB / 272.6 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.003769, allocations: 15.88 kB / 272.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.003805, allocations: 23.94 kB / 272.7 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.003925, allocations: 55.77 kB / 272.7 MB, free: 2.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/0.003938, allocations: 0 / 272.7 MB, free: 2.469 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003939, allocations: 0 / 272.7 MB, free: 2.469 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.003953, allocations: 0 / 272.7 MB, free: 2.469 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004441/0.004397, allocations: 332.1 kB / 273 MB, free: 2.117 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.00443, allocations: 12.03 kB / 273.1 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.004469, allocations: 16.94 kB / 273.1 MB, free: 2.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.004775, allocations: 133.5 kB / 273.2 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.962e-05/0.004855, allocations: 38.27 kB / 273.2 MB, free: 1.891 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.004891, allocations: 12.36 kB / 273.2 MB, free: 1.879 MB / 266.7 MB Error: An independent subset of the model has imbalanced number of equations (18) and variables (17). variables: xpi Ti 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 = 4186.0 * Tfo 4 : hbo = 4186.0 * Tfo 5 : 4186.0 * Tfi = hai 6 : 1.0465e6 * der(Tfo) = Pc + 4186.0 * w * (Tfi - Tfo) 7 : Ti = if w > 0.0 then 250.0 / w else 30.0 8 : 0.0 = if ON then Pc - max(0.0, min(Pmax, xpi + 34883.333333333336 * (To - Tfo))) else Pc 9 : 0.0 = if ON then xpi + Ti * der(xpi) - Pc else der(xpi) 10 : Pc = der(Ec) 11 : oTi = Tfi 12 : oTo = Tfo 13 : 0.0 = pwh_a.w + pwh_b.w 14 : w = pwh_a.w 15 : hai = pwh_a.h 16 : hao = pwh_a.h 17 : hbi = pwh_b.h 18 : hbo = pwh_b.h Notification: Performance of preOpt clockPartitioning (simulation) : time 0.0002073/0.005098, allocations: 102.1 kB / 273.3 MB, free: 1.77 MB / 266.7 MB Error: pre-optimization module clockPartitioning (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.4972068378701806]