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.0009998/0.0009999, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 240 MB, free: 5.402 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.4/2.4, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003593, allocations: 11.94 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7578/0.7582, allocations: 142.4 MB / 0.9544 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.2845/1.043, allocations: 237.7 MB / 1.187 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02702/1.07, allocations: 15.93 MB / 1.202 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003918/1.074, allocations: 83.5 kB / 1.202 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004052/1.078, allocations: 0.9162 MB / 1.203 GB, free: 256 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01012/1.088, allocations: 2.929 MB / 1.206 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006726/1.095, allocations: 1.873 MB / 1.208 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.009974/1.105, allocations: 6.656 MB / 1.214 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004082/1.109, allocations: 1.552 MB / 1.216 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006465/1.115, allocations: 2.178 MB / 1.218 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004025/1.119, allocations: 1.692 MB / 1.22 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007924/1.12, allocations: 92 kB / 1.22 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007239/1.127, allocations: 2.382 MB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001631/1.129, allocations: 0.7163 MB / 1.223 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001367/1.131, allocations: 0.5082 MB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00564/1.136, allocations: 3.476 MB / 1.227 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.136, allocations: 3.938 kB / 1.227 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.964e-06/1.136, allocations: 0 / 1.227 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001383/1.136, allocations: 0 / 1.227 GB, free: 8.113 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.006544/1.143, allocations: 2.682 MB / 1.229 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/1.143, allocations: 8.031 kB / 1.229 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005747/1.149, allocations: 0.9139 MB / 1.23 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004428/1.153, allocations: 1.768 MB / 1.232 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004018/1.154, allocations: 186.9 kB / 1.232 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004198/1.154, allocations: 163.9 kB / 1.232 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004318/1.158, allocations: 1.879 MB / 1.234 GB, free: 340 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/1.158, allocations: 4 kB / 1.234 GB, free: 336 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/1.159, allocations: 71.89 kB / 1.234 GB, free: 264 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.408e-05/1.159, allocations: 58.88 kB / 1.234 GB, free: 204 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003922/1.163, allocations: 1.686 MB / 1.236 GB, free: 14.51 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.01289/1.176, allocations: 8.424 MB / 1.244 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003217/1.179, allocations: 1.929 MB / 1.246 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/1.18, allocations: 0.7215 MB / 1.247 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005294/1.181, allocations: 244.1 kB / 1.247 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001625/1.182, allocations: 0.7313 MB / 1.248 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000879/1.183, allocations: 119.1 kB / 1.248 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 4.799e-06/1.183, allocations: 0 / 1.248 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=105): time 0.5224/1.706, allocations: 3.908 MB / 1.251 GB, free: 282.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/1.706, allocations: 67.72 kB / 1.251 GB, free: 282.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002925/1.709, allocations: 1.577 MB / 1.253 GB, free: 281.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001406/1.709, allocations: 50.14 kB / 1.253 GB, free: 281.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000726/1.71, allocations: 0.9527 MB / 1.254 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003199/1.71, allocations: 369 kB / 1.254 GB, free: 280.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/1.71, allocations: 25.69 kB / 1.254 GB, free: 280.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.453e-05/1.71, allocations: 361.1 kB / 1.255 GB, free: 280.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/1.712, allocations: 0.585 MB / 1.255 GB, free: 280.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002322/1.714, allocations: 0.9114 MB / 1.256 GB, free: 279.5 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.02154/1.735, allocations: 3.421 MB / 1.26 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.796e-05/1.736, allocations: 2.469 kB / 1.26 GB, free: 278.8 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