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.001109/0.001109, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001648/0.002756, allocations: 455.9 kB / 10.43 MB, free: 260 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.001158/0.001158, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001516/0.002674, allocations: 475.6 kB / 11.8 MB, free: 2.363 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.073/1.073, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08913/1.163, 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.07119/0.07119, allocations: 18.13 MB / 262.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01143/0.08262, allocations: 6.785 MB / 269.1 MB, free: 6.23 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.603e-06/1.603e-06, allocations: 0 / 270.6 MB, free: 4.645 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.007e-05, allocations: 2.312 kB / 270.7 MB, free: 4.641 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.00305/0.00307, allocations: 1.766 MB / 272.4 MB, free: 2.859 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002281/0.003298, allocations: 103.5 kB / 272.5 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.003366, allocations: 3.938 kB / 272.5 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.981e-05/0.003406, allocations: 7.922 kB / 272.5 MB, free: 2.746 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.353e-05/0.0035, allocations: 35.66 kB / 272.6 MB, free: 2.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.653e-05/0.003586, allocations: 19.95 kB / 272.6 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.00374, allocations: 115.4 kB / 272.7 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.003864, allocations: 37.89 kB / 272.7 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.004025, allocations: 83.8 kB / 272.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.606e-05/0.004111, allocations: 27.89 kB / 272.8 MB, free: 2.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.004134, allocations: 4 kB / 272.8 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.707e-05/0.004151, allocations: 4 kB / 272.9 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.004175, allocations: 15.88 kB / 272.9 MB, free: 2.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.004216, allocations: 23.94 kB / 272.9 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.004344, allocations: 59.75 kB / 272.9 MB, free: 2.324 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-05/0.004361, allocations: 4 kB / 273 MB, free: 2.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004362, allocations: 0 / 273 MB, free: 2.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.004373, allocations: 0 / 273 MB, free: 2.32 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.0005396/0.004913, allocations: 324.2 kB / 273.3 MB, free: 1.977 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.004947, allocations: 8.031 kB / 273.3 MB, free: 1.969 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.005002, allocations: 16.92 kB / 273.3 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.005176, allocations: 136.6 kB / 273.4 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/0.005234, allocations: 38.2 kB / 273.5 MB, free: 1.754 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.005259, allocations: 12.38 kB / 273.5 MB, free: 1.742 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.0002349/0.005494, allocations: 106.1 kB / 273.6 MB, free: 1.633 MB / 266.7 MB Error: pre-optimization module clockPartitioning (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.6442469786852598]