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.0009512/0.0009514, allocations: 102.6 kB / 15.71 MB, free: 460 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.001083/0.001084, allocations: 171.9 kB / 16.58 MB, free: 6.398 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.489/1.489, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.839/2.839, allocations: 436.7 MB / 0.7114 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003513, allocations: 8 kB / 0.8717 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7771/0.7775, allocations: 153.7 MB / 1.022 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage): time 0.2388/1.016, allocations: 187.3 MB / 1.205 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03502/1.051, allocations: 19.83 MB / 1.224 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003924/1.055, allocations: 39.75 kB / 1.224 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004695/1.06, allocations: 0.9751 MB / 1.225 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008564/1.069, allocations: 1.891 MB / 1.227 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.009926/1.079, allocations: 2.509 MB / 1.229 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01156/1.09, allocations: 7.071 MB / 1.236 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005553/1.096, allocations: 2.257 MB / 1.238 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007248/1.103, allocations: 2.394 MB / 1.241 GB, free: 380 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8642/1.967, allocations: 2.467 MB / 1.243 GB, free: 25.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002533/1.97, allocations: 305.6 kB / 1.243 GB, free: 25.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01036/1.98, allocations: 2.362 MB / 1.246 GB, free: 25.46 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.005166/1.986, allocations: 1.949 MB / 1.248 GB, free: 25.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005384/1.991, allocations: 1.295 MB / 1.249 GB, free: 25.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02487/2.016, allocations: 12.94 MB / 1.262 GB, free: 25.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/2.016, allocations: 0 / 1.262 GB, free: 25.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 5.2e-06/2.016, allocations: 0 / 1.262 GB, free: 25.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0005577/2.017, allocations: 1.312 kB / 1.262 GB, free: 25.07 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: 387 * Number of variables: 387 Notification: Performance of Generate backend data structure: time 0.02839/2.045, allocations: 6.31 MB / 1.268 GB, free: 22.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/2.045, allocations: 13.08 kB / 1.268 GB, free: 22.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03355/2.079, allocations: 4.069 MB / 1.272 GB, free: 21.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02281/2.102, allocations: 6.537 MB / 1.278 GB, free: 20.69 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001213/2.103, allocations: 447.8 kB / 1.279 GB, free: 20.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001676/2.105, allocations: 178.2 kB / 1.279 GB, free: 20.46 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01812/2.123, allocations: 6.635 MB / 1.285 GB, free: 20.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.474e-05/2.123, allocations: 2.906 kB / 1.285 GB, free: 20.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006783/2.123, allocations: 69.14 kB / 1.285 GB, free: 20.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.967e-05/2.124, allocations: 58.53 kB / 1.285 GB, free: 20.26 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02351/2.147, allocations: 8.96 MB / 1.294 GB, free: 19 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.06152/2.209, allocations: 24.33 MB / 1.318 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02452/2.233, allocations: 8.811 MB / 1.326 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009969/2.243, allocations: 4.146 MB / 1.33 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000704/2.244, allocations: 0.7711 MB / 1.331 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01244/2.256, allocations: 5.511 MB / 1.337 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=185): time 6.352e-06/2.257, allocations: 0 / 1.337 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=187): time 0.08669/2.343, allocations: 22.72 MB / 1.359 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/2.343, allocations: 148.6 kB / 1.359 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03017/2.374, allocations: 10.12 MB / 1.369 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001815/2.375, allocations: 115.7 kB / 1.369 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.005865/2.381, allocations: 2.348 MB / 1.371 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001935/2.383, allocations: 0.5915 MB / 1.372 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00118/2.385, allocations: 42.44 kB / 1.372 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0003872/2.385, allocations: 388.5 kB / 1.372 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01205/2.397, allocations: 5.109 MB / 1.377 GB, free: 14.15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01269/2.41, allocations: 5.306 MB / 1.382 GB, free: 10.59 MB / 1.014 GB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.3652/2.775, allocations: 143.9 MB / 1.523 GB, free: 15.39 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/2.775, allocations: 0 / 1.523 GB, free: 15.39 MB / 1.154 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