Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage.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.DXCoils.AirCooled.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulStaDX.vol.T|mulStaDX.sta_a.T|mulStaDX.dxCoo.mWat_flow|mulStaDX.port_b.h_outflow|mulStaDX.vol.X_w|mulStaDX.sta_a.X.1.|mulStaDX.dxCoo.Q_flow|mulStaDX.P|mulStaDX.stage",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulStaDX.vol.T|mulStaDX.sta_a.T|mulStaDX.dxCoo.mWat_flow|mulStaDX.port_b.h_outflow|mulStaDX.vol.X_w|mulStaDX.sta_a.X.1.|mulStaDX.dxCoo.Q_flow|mulStaDX.P|mulStaDX.stage",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001285, allocations: 100.5 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.001589/0.001589, allocations: 176 kB / 16.58 MB, free: 6.422 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.599/1.599, 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.605/2.605, allocations: 390.4 MB / 0.6662 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004521, allocations: 12 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9088/0.9093, allocations: 142.3 MB / 0.9544 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage): time 0.2331/1.143, allocations: 186.9 MB / 1.137 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03243/1.175, allocations: 19.67 MB / 1.156 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003387/1.178, allocations: 39.75 kB / 1.156 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003447/1.182, allocations: 0.9285 MB / 1.157 GB, free: 40 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006697/1.189, allocations: 1.842 MB / 1.159 GB, free: 14.18 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.007952/1.197, allocations: 2.502 MB / 1.161 GB, free: 11.71 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01005/1.207, allocations: 6.923 MB / 1.168 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004218/1.211, allocations: 2.193 MB / 1.17 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005171/1.216, allocations: 2.343 MB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004501/1.221, allocations: 2.406 MB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0009857/1.222, allocations: 300 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007437/1.229, allocations: 2.363 MB / 1.178 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002385/1.232, allocations: 1.897 MB / 1.179 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002321/1.234, allocations: 1.241 MB / 1.181 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01598/1.25, allocations: 12.68 MB / 1.193 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.25, allocations: 3.938 kB / 1.193 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.264e-06/1.25, allocations: 0 / 1.193 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002937/1.25, allocations: 0 / 1.193 GB, free: 11.26 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.01649/1.267, allocations: 6.042 MB / 1.199 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.267, allocations: 8.031 kB / 1.199 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03122/1.298, allocations: 4.039 MB / 1.203 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01683/1.315, allocations: 6.08 MB / 1.209 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007119/1.316, allocations: 447.2 kB / 1.209 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007193/1.316, allocations: 172 kB / 1.209 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/1.332, allocations: 6.624 MB / 1.216 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/1.332, allocations: 8 kB / 1.216 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000437/1.333, allocations: 63.97 kB / 1.216 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-05/1.333, allocations: 62.94 kB / 1.216 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0229/1.356, allocations: 8.998 MB / 1.225 GB, free: 10.42 MB / 0.9825 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.05205/1.408, allocations: 24.23 MB / 1.248 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.745/2.153, allocations: 8.867 MB / 1.257 GB, free: 269.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01192/2.165, allocations: 4.217 MB / 1.261 GB, free: 268.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007547/2.166, allocations: 0.7747 MB / 1.262 GB, free: 267.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0136/2.179, allocations: 5.592 MB / 1.267 GB, free: 265.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=186): time 7.924e-06/2.18, allocations: 0 / 1.267 GB, free: 265.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=188): time 0.08608/2.266, allocations: 22.92 MB / 1.29 GB, free: 254.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/2.266, allocations: 149.7 kB / 1.29 GB, free: 254.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02669/2.293, allocations: 9.988 MB / 1.3 GB, free: 244.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001535/2.294, allocations: 113.7 kB / 1.3 GB, free: 244.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004268/2.298, allocations: 2.222 MB / 1.302 GB, free: 242.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001612/2.3, allocations: 0.6053 MB / 1.303 GB, free: 241.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/2.301, allocations: 44 kB / 1.303 GB, free: 241.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002963/2.301, allocations: 386 kB / 1.303 GB, free: 241.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01096/2.312, allocations: 5.17 MB / 1.308 GB, free: 235.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01086/2.323, allocations: 5.357 MB / 1.313 GB, free: 230.5 MB / 0.9981 GB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.316/2.639, allocations: 144.2 MB / 1.454 GB, free: 86.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.629e-06/2.639, allocations: 0 / 1.454 GB, free: 86.04 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