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.0006897/0.0006897, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008208/0.001511, 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.001052/0.001052, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008801/0.001932, 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.003/1.003, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08775/1.091, 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.06822/0.06822, allocations: 18.12 MB / 262.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01143/0.07965, allocations: 6.782 MB / 268.9 MB, free: 6.352 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 2.184e-06/2.184e-06, allocations: 0 / 270.4 MB, free: 4.793 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.587e-05, allocations: 2.312 kB / 270.4 MB, free: 4.789 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.002244/0.00227, allocations: 1.746 MB / 272.2 MB, free: 3.027 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000186/0.002456, allocations: 95.55 kB / 272.3 MB, free: 2.934 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.329e-05/0.002489, allocations: 4 kB / 272.3 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.627e-05/0.002526, allocations: 11.86 kB / 272.3 MB, free: 2.918 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.905e-05/0.002595, allocations: 23.78 kB / 272.3 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.631e-05/0.002671, allocations: 23.84 kB / 272.3 MB, free: 2.871 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.002774, allocations: 91.52 kB / 272.4 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.002876, allocations: 31.92 kB / 272.4 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.002969, allocations: 55.81 kB / 272.5 MB, free: 2.695 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.547e-05/0.003035, allocations: 31.91 kB / 272.5 MB, free: 2.664 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.003053, allocations: 4 kB / 272.5 MB, free: 2.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.003064, allocations: 4 kB / 272.5 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.003082, allocations: 11.94 kB / 272.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.003109, allocations: 23.94 kB / 272.6 MB, free: 2.621 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.937e-05/0.003208, allocations: 47.77 kB / 272.6 MB, free: 2.574 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.31e-05/0.003221, allocations: 0 / 272.6 MB, free: 2.574 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.003223, allocations: 4 kB / 272.6 MB, free: 2.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.003236, allocations: 3.984 kB / 272.6 MB, free: 2.566 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.0004058/0.003642, allocations: 312.2 kB / 272.9 MB, free: 2.234 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.003671, allocations: 16.03 kB / 272.9 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.003706, allocations: 24.86 kB / 273 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.003821, allocations: 121.6 kB / 273.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.003859, allocations: 38.25 kB / 273.1 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.003878, allocations: 8.375 kB / 273.1 MB, free: 2 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.0001504/0.004028, allocations: 101.1 kB / 273.2 MB, free: 1.898 MB / 266.7 MB Error: pre-optimization module clockPartitioning (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.5072973016649485]