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.0006797/0.0006797, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009551/0.001635, 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.000729/0.000729, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009842/0.001713, 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 0.9711/0.9711, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07832/1.049, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.08095/0.08095, allocations: 18.13 MB / 262.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009706/0.09066, allocations: 6.778 MB / 269.1 MB, free: 6.258 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.203e-06/1.203e-06, allocations: 0 / 270.6 MB, free: 4.668 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.696e-05, allocations: 2.312 kB / 270.6 MB, free: 4.664 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.001842/0.001859, allocations: 1.743 MB / 272.4 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001475/0.002006, allocations: 95.48 kB / 272.5 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.002036, allocations: 4 kB / 272.5 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.002068, allocations: 11.86 kB / 272.5 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.594e-05/0.002124, allocations: 27.78 kB / 272.5 MB, free: 2.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.106e-05/0.002185, allocations: 27.89 kB / 272.5 MB, free: 2.742 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.982e-05/0.002285, allocations: 87.47 kB / 272.6 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.002378, allocations: 35.91 kB / 272.7 MB, free: 2.621 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.07e-05/0.002459, allocations: 59.81 kB / 272.7 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.541e-05/0.002524, allocations: 23.91 kB / 272.7 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.002542, allocations: 8 kB / 272.8 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.002554, allocations: 4 kB / 272.8 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.002571, allocations: 7.938 kB / 272.8 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.002599, allocations: 23.94 kB / 272.8 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.298e-05/0.002692, allocations: 55.77 kB / 272.8 MB, free: 2.441 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.299e-05/0.002705, allocations: 4 kB / 272.8 MB, free: 2.438 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.002705, allocations: 0 / 272.8 MB, free: 2.438 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.002714, allocations: 0 / 272.8 MB, free: 2.438 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.0004153/0.003129, allocations: 316.2 kB / 273.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.003157, allocations: 8.031 kB / 273.2 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.003196, allocations: 12.92 kB / 273.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.003309, allocations: 129.6 kB / 273.3 MB, free: 1.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.003346, allocations: 34.27 kB / 273.3 MB, free: 1.891 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.003364, allocations: 8.375 kB / 273.3 MB, free: 1.883 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.0001556/0.00352, allocations: 101.8 kB / 273.4 MB, free: 1.773 MB / 266.7 MB Error: pre-optimization module clockPartitioning (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.4976125303655863]