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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal") translateModel(AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09301/0.09301, allocations: 17.68 MB / 33.63 MB, free: 1.781 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 173.4 kB / 38.91 MB, free: 20 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.4 MB / 249.5 MB, free: 2.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008451/0.0008452, allocations: 99.56 kB / 302.2 MB, free: 4.422 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005735/0.0005735, allocations: 8 kB / 366.9 MB, free: 3.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3042, allocations: 51.98 MB / 418.9 MB, free: 24.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.4181, allocations: 77.82 MB / 496.7 MB, free: 10.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.4185, allocations: 67.95 kB / 496.8 MB, free: 10.41 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.003444/0.422, allocations: 1.286 MB / 498.1 MB, free: 9.117 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.422, allocations: 3.938 kB / 498.1 MB, free: 9.113 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.422, allocations: 0 / 498.1 MB, free: 9.113 MB / 362.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.0004186/0.4224, allocations: 375.2 kB / 498.5 MB, free: 8.695 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4225, allocations: 15.98 kB / 498.5 MB, free: 8.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.4225, allocations: 16.84 kB / 498.5 MB, free: 8.664 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.4227, allocations: 184.9 kB / 498.7 MB, free: 8.445 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-05/0.4228, allocations: 30.27 kB / 498.7 MB, free: 8.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.4228, allocations: 12.28 kB / 498.7 MB, free: 8.398 MB / 362.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 : hao = cp * Tfo 2 : hbo = cp * Tfo 3 : cp * Tfi = hai 4 : 0.0 = if ON then Tfo + Tcl * der(Tfo) - To else Tfo + Thc * der(Tfo) - Tfi 5 : Pc = max(cp * w * (Tfo - Tfi), 0.0) 6 : Pc = der(Ec) 7 : oTi = Tfi 8 : oTo = Tfo 9 : 0.0 = pwh_a.w + pwh_b.w 10 : w = pwh_a.w 11 : hai = pwh_a.h 12 : hao = pwh_a.h 13 : hbi = pwh_b.h 14 : hbo = pwh_b.h 15 : pwh_a.w = 0.0 16 : pwh_b.w = 0.0 Notification: Performance of preOpt clockPartitioning (simulation) : time 0.0002745/0.4231, allocations: 85.2 kB / 498.8 MB, free: 8.312 MB / 362.7 MB Error: pre-optimization module clockPartitioning (simulation) failed.