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.0008093/0.0008093, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.001975, 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.001246/0.001246, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001523/0.002769, 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.021/1.021, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09251/1.114, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.06444/0.06444, allocations: 18.13 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01238/0.07682, allocations: 6.782 MB / 269.1 MB, free: 6.238 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.703e-06/1.703e-06, allocations: 0 / 270.6 MB, free: 4.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.708e-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_lim): time 0.002521/0.002548, allocations: 1.77 MB / 272.4 MB, free: 2.871 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000249/0.002797, allocations: 107.5 kB / 272.5 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.002865, allocations: 7.938 kB / 272.5 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.166e-05/0.002907, allocations: 11.86 kB / 272.5 MB, free: 2.746 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.242e-05/0.00298, allocations: 27.72 kB / 272.6 MB, free: 2.719 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.715e-05/0.003047, allocations: 27.89 kB / 272.6 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.003153, allocations: 99.47 kB / 272.7 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.003262, allocations: 49.8 kB / 272.7 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.003385, allocations: 75.8 kB / 272.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.036e-05/0.003455, allocations: 35.91 kB / 272.8 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.003474, allocations: 4 kB / 272.8 MB, free: 2.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.003487, allocations: 4 kB / 272.8 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.003509, allocations: 11.94 kB / 272.9 MB, free: 2.414 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.003544, allocations: 23.94 kB / 272.9 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.003662, allocations: 51.77 kB / 272.9 MB, free: 2.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.003673, allocations: 0 / 272.9 MB, free: 2.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.003674, allocations: 0 / 272.9 MB, free: 2.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.003683, allocations: 0 / 272.9 MB, free: 2.34 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.0004136/0.004097, allocations: 332.1 kB / 273.3 MB, free: 1.988 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.004126, allocations: 16.02 kB / 273.3 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.004162, allocations: 8.938 kB / 273.3 MB, free: 1.965 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.004337, allocations: 141.5 kB / 273.4 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-05/0.004395, allocations: 34.27 kB / 273.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.004421, allocations: 8.375 kB / 273.5 MB, free: 1.754 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.0001819/0.004603, allocations: 102.1 kB / 273.6 MB, free: 1.648 MB / 266.7 MB Error: pre-optimization module clockPartitioning (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.5869138343259692]