Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.DXSystems.Cooling.AirSource.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulStaDX.vol.T|mulStaDX.sta_a.T|mulStaDX.dxCoi.mWat_flow|mulStaDX.port_b.h_outflow|mulStaDX.vol.X_w|mulStaDX.sta_a.X.1.|mulStaDX.dxCoi.Q_flow|mulStaDX.P|mulStaDX.stage",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage") translateModel(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulStaDX.vol.T|mulStaDX.sta_a.T|mulStaDX.dxCoi.mWat_flow|mulStaDX.port_b.h_outflow|mulStaDX.vol.X_w|mulStaDX.sta_a.X.1.|mulStaDX.dxCoi.Q_flow|mulStaDX.P|mulStaDX.stage",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001058, allocations: 84.38 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.001257/0.001258, 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.495/1.495, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.868/2.868, allocations: 462.6 MB / 0.736 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.000435, allocations: 15.47 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.364, allocations: 159.6 MB / 1.058 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage): time 0.2158/0.5799, allocations: 187.3 MB / 1.241 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.794/1.374, allocations: 19.83 MB / 1.26 GB, free: 20.76 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00377/1.378, allocations: 38.81 kB / 1.26 GB, free: 20.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003889/1.382, allocations: 0.9775 MB / 1.261 GB, free: 20.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007956/1.39, allocations: 1.883 MB / 1.263 GB, free: 20.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008237/1.398, allocations: 2.514 MB / 1.266 GB, free: 20.62 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01037/1.408, allocations: 7.083 MB / 1.273 GB, free: 20.61 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005505/1.414, allocations: 2.248 MB / 1.275 GB, free: 20.29 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008099/1.422, allocations: 2.394 MB / 1.277 GB, free: 20.28 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008386/1.43, allocations: 2.471 MB / 1.279 GB, free: 20.28 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002993/1.433, allocations: 305.3 kB / 1.28 GB, free: 20.28 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01148/1.445, allocations: 2.362 MB / 1.282 GB, free: 20.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004989/1.45, allocations: 1.956 MB / 1.284 GB, free: 20.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004843/1.455, allocations: 1.289 MB / 1.285 GB, free: 20.2 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0198/1.475, allocations: 12.94 MB / 1.298 GB, free: 19.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/1.475, allocations: 2.625 kB / 1.298 GB, free: 19.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.847e-06/1.475, allocations: 0 / 1.298 GB, free: 19.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000454/1.475, allocations: 4 kB / 1.298 GB, free: 19.59 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 387 * Number of variables: 387 Notification: Performance of Generate backend data structure: time 0.02343/1.499, allocations: 6.307 MB / 1.304 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.499, allocations: 8.719 kB / 1.304 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0323/1.531, allocations: 4.067 MB / 1.308 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01797/1.549, allocations: 6.538 MB / 1.314 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007613/1.55, allocations: 450 kB / 1.315 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/1.551, allocations: 177.1 kB / 1.315 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/1.566, allocations: 6.634 MB / 1.321 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.453e-05/1.566, allocations: 3.188 kB / 1.321 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004809/1.566, allocations: 70.17 kB / 1.322 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.261e-05/1.566, allocations: 61.48 kB / 1.322 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02283/1.589, allocations: 8.961 MB / 1.33 GB, free: 9.039 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.07606/1.665, allocations: 24.31 MB / 1.354 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0245/1.69, allocations: 8.828 MB / 1.363 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00991/1.7, allocations: 4.149 MB / 1.367 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008819/1.701, allocations: 0.7697 MB / 1.368 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0133/1.714, allocations: 5.512 MB / 1.373 GB, free: 9.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=185): time 6.823e-06/1.714, allocations: 0 / 1.373 GB, free: 9.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=187): time 0.08828/1.802, allocations: 22.72 MB / 1.395 GB, free: 8.324 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001855/1.803, allocations: 146.5 kB / 1.395 GB, free: 8.168 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02876/1.831, allocations: 10.12 MB / 1.405 GB, free: 1.348 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.001996/1.833, allocations: 112.8 kB / 1.405 GB, free: 1.277 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.006347/1.84, allocations: 2.362 MB / 1.408 GB, free: 472 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001926/1.842, allocations: 0.5892 MB / 1.408 GB, free: 15.96 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001148/1.843, allocations: 39.44 kB / 1.408 GB, free: 15.95 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0003666/1.843, allocations: 386.1 kB / 1.409 GB, free: 15.6 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01202/1.855, allocations: 5.108 MB / 1.414 GB, free: 12.25 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01238/1.868, allocations: 5.292 MB / 1.419 GB, free: 8.707 MB / 1.045 GB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.3585/2.226, allocations: 143.9 MB / 1.559 GB, free: 10.99 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/2.226, allocations: 0 / 1.559 GB, free: 10.99 MB / 1.186 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