Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009479/0.0009477, allocations: 99.12 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 177.9 kB / 16.58 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.62/1.62, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.665/2.665, allocations: 390.4 MB / 0.6662 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003848, allocations: 8 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.063, allocations: 142.3 MB / 0.9544 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.2901/1.353, allocations: 237.7 MB / 1.186 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02904/1.382, allocations: 15.93 MB / 1.202 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005117/1.387, allocations: 79.5 kB / 1.202 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004684/1.392, allocations: 0.9201 MB / 1.203 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01229/1.404, allocations: 2.934 MB / 1.206 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007712/1.412, allocations: 1.872 MB / 1.208 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01144/1.424, allocations: 6.653 MB / 1.214 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004662/1.428, allocations: 1.552 MB / 1.216 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007441/1.436, allocations: 2.182 MB / 1.218 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004827/1.441, allocations: 1.685 MB / 1.22 GB, free: 116 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001302/1.442, allocations: 100 kB / 1.22 GB, free: 16 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008934/1.451, allocations: 2.362 MB / 1.222 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002381/1.453, allocations: 0.7124 MB / 1.223 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002146/1.456, allocations: 0.5083 MB / 1.223 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008138/1.464, allocations: 3.484 MB / 1.227 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/1.464, allocations: 0 / 1.227 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.406e-06/1.464, allocations: 0 / 1.227 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001822/1.464, allocations: 0 / 1.227 GB, free: 8.926 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.008561/1.473, allocations: 2.69 MB / 1.229 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/1.473, allocations: 12.03 kB / 1.229 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006595/1.479, allocations: 0.9061 MB / 1.23 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006017/1.485, allocations: 1.772 MB / 1.232 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004827/1.486, allocations: 182.9 kB / 1.232 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007193/1.487, allocations: 167.9 kB / 1.232 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005889/1.492, allocations: 1.887 MB / 1.234 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.309e-05/1.493, allocations: 0 / 1.234 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003683/1.493, allocations: 67.95 kB / 1.234 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-05/1.493, allocations: 54.88 kB / 1.234 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004851/1.498, allocations: 1.694 MB / 1.236 GB, free: 15.3 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01683/1.515, allocations: 8.428 MB / 1.244 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003592/1.518, allocations: 1.926 MB / 1.246 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/1.52, allocations: 0.7231 MB / 1.247 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000569/1.521, allocations: 243.1 kB / 1.247 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001765/1.523, allocations: 0.7351 MB / 1.247 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001215/1.524, allocations: 127.1 kB / 1.248 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 6.172e-06/1.524, allocations: 0 / 1.248 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=105): time 0.7833/2.307, allocations: 3.903 MB / 1.251 GB, free: 282.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/2.307, allocations: 64.08 kB / 1.251 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/2.311, allocations: 1.581 MB / 1.253 GB, free: 282.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003249/2.311, allocations: 51.83 kB / 1.253 GB, free: 282.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/2.312, allocations: 0.9532 MB / 1.254 GB, free: 281.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004825/2.313, allocations: 369.4 kB / 1.254 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/2.313, allocations: 25.53 kB / 1.254 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001435/2.313, allocations: 356.2 kB / 1.255 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/2.315, allocations: 0.5867 MB / 1.255 GB, free: 280.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/2.317, allocations: 0.911 MB / 1.256 GB, free: 280.2 MB / 0.9981 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01543/2.332, allocations: 3.428 MB / 1.26 GB, free: 279.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-05/2.332, allocations: 2 kB / 1.26 GB, free: 279.5 MB / 0.9981 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: No system for the symbolic initialization was generated